1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-17 08:23:02 +01:00
Radarr/NzbDrone.Web/Views/Settings/System.cshtml

44 lines
1.8 KiB
Plaintext
Raw Normal View History

@using NzbDrone.Web.Helpers
@model NzbDrone.Web.Models.SystemSettingsModel
@{ Layout = "~/Views/Shared/_ReferenceLayout.cshtml"; }
@section HeaderContent{
@Html.IncludeCss("Settings.css")
}
<div class="infoBox">
You must manually restart NzbDrone for these changes to take effect. (Automatic restart comming soon!)
</div>
<div id="stylized">
2011-12-01 07:39:11 +01:00
@using (Html.BeginForm("SaveSystem", "Settings", FormMethod.Post, new { id = "SystemForm", name = "SystemForm", @class = "settingsForm" }))
{
@Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.")
<label class="labelClass">@Html.LabelFor(m => m.LaunchBrowser)
<span class="small">@Html.DescriptionFor(m => m.LaunchBrowser)</span>
</label>
@Html.CheckBoxFor(m => m.LaunchBrowser, new { @class = "inputClass checkClass" })
<label class="labelClass">@Html.LabelFor(m => m.Port)
<span class="small">@Html.DescriptionFor(m => m.Port)</span>
</label>
@Html.TextBoxFor(m => m.Port, new { @class = "inputClass" })
<label class="labelClass">@Html.LabelFor(m => m.AuthenticationType)
<span class="small">@Html.DescriptionFor(m => m.AuthenticationType)</span>
</label>
@Html.DropDownListFor(m => m.AuthenticationType, Model.AuthTypeSelectList, new { @class = "inputClass" })
<label class="labelClass"> Backup Configuration
<span class="small">Backup your Configuration file and Database</span>
</label>
<input type="button" value="Backup Now" onclick="window.location='../System/Backup'; return false;" class="inputClass" />
2011-12-01 07:39:11 +01:00
<button type="submit" class="save_button" disabled="disabled">
Save</button>
}
</div>
@section Scripts{
2011-12-01 07:39:11 +01:00
}