mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
New UI for Indexer Settings, RAZOR!
Renamed NzbMatrix and NzbsRUs Providers
This commit is contained in:
parent
0241e80c8a
commit
c6ef828429
12 changed files with 324 additions and 174 deletions
|
@ -9,35 +9,55 @@ namespace NzbDrone.Web.Models
|
|||
public class IndexerSettingsModel
|
||||
{
|
||||
[DataType(DataType.Text)]
|
||||
[DisplayName("NZBMatrix Username")]
|
||||
[DisplayName("Username")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public String NzbMatrixUsername { get; set; }
|
||||
|
||||
[DataType(DataType.Text)]
|
||||
[DisplayName("NZBMatrix API Key")]
|
||||
[DisplayName("API Key")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public String NzbMatrixApiKey { get; set; }
|
||||
|
||||
[DataType(DataType.Text)]
|
||||
[DisplayName("NZBs.Org UID")]
|
||||
[DisplayName("UID")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public String NzbsOrgUId { get; set; }
|
||||
|
||||
[DataType(DataType.Text)]
|
||||
[DisplayName("NZBs.Org Hash")]
|
||||
[DisplayName("Hash")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public String NzbsOrgHash { get; set; }
|
||||
|
||||
[DataType(DataType.Text)]
|
||||
[DisplayName("NZBsRus UID")]
|
||||
[DisplayName("UID")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public String NzbsrusUId { get; set; }
|
||||
|
||||
[DataType(DataType.Text)]
|
||||
[DisplayName("NZBsRus Hash")]
|
||||
[DisplayName("Hash")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public String NzbsrusHash { get; set; }
|
||||
|
||||
public List<IndexerSetting> Indexers { get; set; }
|
||||
[DataType(DataType.Text)]
|
||||
[DisplayName("Username")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public String NewzbinUsername { get; set; }
|
||||
|
||||
[DataType(DataType.Text)]
|
||||
[DisplayName("Password")]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public String NewzbinPassword { get; set; }
|
||||
|
||||
[DisplayName("NZBs.org")]
|
||||
public bool NzbsOrgEnabled { get; set; }
|
||||
|
||||
[DisplayName("NZB Matrix")]
|
||||
public bool NzbMatrixEnabled { get; set; }
|
||||
|
||||
[DisplayName("NZBsRUs")]
|
||||
public bool NzbsRUsEnabled { get; set; }
|
||||
|
||||
[DisplayName("Newzbin")]
|
||||
public bool NewzbinEnabled { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue