Allow instructions on the basic indexer

Allow instructions on the basic indexer
This commit is contained in:
flightlevel 2016-01-29 23:28:14 +11:00
parent 89e0498224
commit 04fea52956
2 changed files with 7 additions and 1 deletions

View File

@ -293,3 +293,7 @@ pre {
width: 80px;
}
.setup-item-displayinfo:empty {
display: none;
}

View File

@ -11,11 +11,13 @@ namespace Jackett.Models.IndexerConfig
{
public StringItem Username { get; private set; }
public StringItem Password { get; private set; }
public DisplayItem Instructions { get; private set; }
public ConfigurationDataBasicLogin()
public ConfigurationDataBasicLogin(string instructionMessageOptional = null)
{
Username = new StringItem { Name = "Username" };
Password = new StringItem { Name = "Password" };
Instructions = new DisplayItem(instructionMessageOptional) { Name = "" };
}