mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 12:33:00 +02:00
New UI for Indexer Settings, RAZOR!
Renamed NzbMatrix and NzbsRUs Providers
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user