2011-10-01 10:04:06 +03:00
|
|
|
@using NzbDrone.Web.Helpers
|
|
|
|
@model NzbDrone.Web.Models.SystemSettingsModel
|
2011-12-10 07:15:38 +03:00
|
|
|
@{ Layout = "~/Views/Shared/_ReferenceLayout.cshtml"; }
|
2011-12-01 08:04:44 +03:00
|
|
|
|
2011-10-01 10:04:06 +03:00
|
|
|
@section HeaderContent{
|
2011-12-09 07:57:23 +03:00
|
|
|
@Html.IncludeCss("Settings.css")
|
2011-10-01 10:04:06 +03:00
|
|
|
}
|
2012-01-17 10:34:54 +03:00
|
|
|
|
|
|
|
<div class="infoBox">
|
|
|
|
You must manually restart NzbDrone for these changes to take effect. (Automatic restart comming soon!)
|
|
|
|
</div>
|
|
|
|
|
2011-10-01 10:04:06 +03:00
|
|
|
<div id="stylized">
|
2011-12-01 09:39:11 +03:00
|
|
|
@using (Html.BeginForm("SaveSystem", "Settings", FormMethod.Post, new { id = "SystemForm", name = "SystemForm", @class = "settingsForm" }))
|
2011-10-01 10:04:06 +03:00
|
|
|
{
|
|
|
|
@Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.")
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.LaunchBrowser)
|
2011-12-01 08:04:44 +03:00
|
|
|
<span class="small">@Html.DescriptionFor(m => m.LaunchBrowser)</span>
|
2011-10-01 10:04:06 +03:00
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.LaunchBrowser, new { @class = "inputClass checkClass" })
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.Port)
|
2011-12-01 08:04:44 +03:00
|
|
|
<span class="small">@Html.DescriptionFor(m => m.Port)</span>
|
2011-10-01 10:04:06 +03:00
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.Port, new { @class = "inputClass" })
|
2011-10-08 02:24:28 +03:00
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.AuthenticationType)
|
2011-12-01 08:04:44 +03:00
|
|
|
<span class="small">@Html.DescriptionFor(m => m.AuthenticationType)</span>
|
2011-10-08 02:24:28 +03:00
|
|
|
</label>
|
|
|
|
@Html.DropDownListFor(m => m.AuthenticationType, Model.AuthTypeSelectList, new { @class = "inputClass" })
|
2011-10-01 10:04:06 +03:00
|
|
|
|
2011-12-01 09:39:11 +03:00
|
|
|
<button type="submit" class="save_button" disabled="disabled">
|
2011-12-01 08:04:44 +03:00
|
|
|
Save</button>
|
2011-10-01 10:04:06 +03:00
|
|
|
}
|
|
|
|
</div>
|
|
|
|
@section Scripts{
|
2011-12-01 09:39:11 +03:00
|
|
|
|
2011-10-01 10:04:06 +03:00
|
|
|
}
|