mirror of
https://github.com/Jackett/Jackett
synced 2025-02-25 07:32:38 +00:00
Merge pull request #225 from flightlevel/BasicIndexerMessage
Allow instructions on the basic indexer
This commit is contained in:
commit
a35695358d
2 changed files with 7 additions and 1 deletions
|
@ -293,3 +293,7 @@ pre {
|
|||
width: 80px;
|
||||
}
|
||||
|
||||
.setup-item-displayinfo:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 = "" };
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue