commit
c7a219ddc6
@ -1,40 +0,0 @@
|
||||
@section TitleContent{
|
||||
Settings
|
||||
}
|
||||
|
||||
@section ActionMenu{
|
||||
@{Html.RenderPartial("SubMenu");}
|
||||
}
|
||||
|
||||
@section MainContent{
|
||||
<script src="/Scripts/MicrosoftAjax.js" type="text/javascript"></script>
|
||||
<script src="/Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>
|
||||
@{Html.RenderPartial(ViewData["viewName"].ToString());}
|
||||
}
|
||||
|
||||
@section Scripts{
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
var options = {
|
||||
target: '#result',
|
||||
beforeSubmit: showRequest,
|
||||
success: showResponse,
|
||||
type: 'post',
|
||||
resetForm: false
|
||||
};
|
||||
$('#form').ajaxForm(options);
|
||||
});
|
||||
|
||||
function showRequest(formData, jqForm, options) {
|
||||
$("#result").empty().html('Saving...');
|
||||
$("#form :input").attr("disabled", true);
|
||||
$('#saveAjax').show();
|
||||
}
|
||||
|
||||
function showResponse(responseText, statusText, xhr, $form) {
|
||||
$("#result").empty().html(responseText);
|
||||
$("#form :input").attr("disabled", false);
|
||||
$('#saveAjax').hide();
|
||||
}
|
||||
</script>
|
||||
}
|
@ -1,173 +1,139 @@
|
||||
@model NzbDrone.Web.Models.IndexerSettingsModel
|
||||
@using NzbDrone.Web.Helpers
|
||||
@model NzbDrone.Web.Models.IndexerSettingsModel
|
||||
|
||||
|
||||
<style>
|
||||
|
||||
.section_content
|
||||
{
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
|
||||
.indexer_left
|
||||
{
|
||||
width: 80px;
|
||||
float:left;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@section HeaderContent{
|
||||
<link rel="stylesheet" type="text/css" href="../../Content/Settings.css" />
|
||||
|
||||
<style>
|
||||
.indexerPanel
|
||||
{
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
</style>
|
||||
}
|
||||
|
||||
@section TitleContent{
|
||||
Settings
|
||||
}
|
||||
|
||||
@section ActionMenu{
|
||||
@{Html.RenderPartial("SubMenu");}
|
||||
}
|
||||
|
||||
@using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "form", name = "form" })) {
|
||||
@section MainContent{
|
||||
<div id="stylized">
|
||||
|
||||
@using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "form", name = "form", @class = "settingsForm" }))
|
||||
{
|
||||
<h1>Indexer</h1>
|
||||
<p></p>
|
||||
|
||||
@Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.")
|
||||
<div>
|
||||
@{ Html.Telerik().PanelBar()
|
||||
.Name("PanelBar")
|
||||
//.HtmlAttributes(new { style = "width: 500px; margin: 10px;" })
|
||||
.ExpandMode(PanelBarExpandMode.Single)
|
||||
.SelectedIndex(0)
|
||||
.Items(indexerItem =>
|
||||
{
|
||||
indexerItem.Add()
|
||||
.Text("NZBs.org")
|
||||
.ImageUrl("~/Content/Images/Indexers/Nzbs.org.png")
|
||||
.Content(@<text>
|
||||
<div class="indexerPanel clearfix">
|
||||
<label class="labelClass">@Html.LabelFor(m => m.NzbsOrgEnabled)
|
||||
<span class="small">@Html.DescriptionFor(m => m.NzbsOrgEnabled)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.NzbsOrgEnabled, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.NzbsOrgUId)
|
||||
<span class="small">@Html.DescriptionFor(m => m.NzbsOrgUId)</span>
|
||||
</label>
|
||||
@Html.TextBoxFor(m => m.NzbsOrgUId, new { @class = "inputClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.NzbsOrgHash)
|
||||
<span class="small">@Html.DescriptionFor(m => m.NzbsOrgHash)</span>
|
||||
</label>
|
||||
@Html.TextBoxFor(m => m.NzbsOrgHash, new { @class = "inputClass" })
|
||||
</div>
|
||||
</text>);
|
||||
indexerItem.Add()
|
||||
.Text("NZB Matrix")
|
||||
.ImageUrl("~/Content/Images/Indexers/NzbMatrix.png")
|
||||
.Content(@<text>
|
||||
<div class="indexerPanel clearfix">
|
||||
<label class="labelClass">@Html.LabelFor(m => m.NzbMatrixEnabled)
|
||||
<span class="small">@Html.DescriptionFor(m => m.NzbMatrixEnabled)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.NzbMatrixEnabled, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.NzbMatrixUsername)
|
||||
<span class="small">@Html.DescriptionFor(m => m.NzbMatrixUsername)</span>
|
||||
</label>
|
||||
@Html.TextBoxFor(m => m.NzbMatrixUsername, new { @class = "inputClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.NzbMatrixApiKey)
|
||||
<span class="small">@Html.DescriptionFor(m => m.NzbMatrixApiKey)</span>
|
||||
</label>
|
||||
@Html.TextBoxFor(m => m.NzbMatrixApiKey, new { @class = "inputClass" })
|
||||
</div>
|
||||
</text>);
|
||||
indexerItem.Add()
|
||||
.Text("NZBsRus")
|
||||
.ImageUrl("~/Content/Images/Indexers/NzbsRus.png")
|
||||
.Content(@<text>
|
||||
<div class="indexerPanel clearfix">
|
||||
<label class="labelClass">@Html.LabelFor(m => m.NzbsRUsEnabled)
|
||||
<span class="small">@Html.DescriptionFor(m => m.NzbsRUsEnabled)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.NzbsRUsEnabled, new { @class = "inputClass checkClass" })
|
||||
|
||||
<fieldset>
|
||||
<legend>Indexers</legend>
|
||||
<div>
|
||||
@{ Html.Telerik().PanelBar()
|
||||
.Name("PanelBar")
|
||||
.HtmlAttributes(new { style = "width: 500px; margin: 10px;" })
|
||||
.ExpandMode(PanelBarExpandMode.Single)
|
||||
.SelectedIndex(0)
|
||||
.Items(indexerItem =>
|
||||
{
|
||||
indexerItem.Add()
|
||||
.Text("NZBs.org")
|
||||
.ImageUrl("~/Content/Images/Indexers/Nzbs.org.png")
|
||||
.Content(@<text>
|
||||
<div class="section_content">
|
||||
<div class="indexer_group">
|
||||
<div class="indexer_left">
|
||||
Enabled
|
||||
</div>
|
||||
<div class="indexer_right">
|
||||
@Html.CheckBoxFor(m => m.NzbsOrgEnabled, new { @class = "indexer_checkbox" })
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="indexer_group">
|
||||
<div class="indexer_left">
|
||||
@Html.LabelFor(m => m.NzbsOrgUId)
|
||||
</div>
|
||||
<div class="indexer_right">
|
||||
@Html.TextBoxFor(m => m.NzbsOrgUId)
|
||||
</div>
|
||||
</div>
|
||||
<div class="indexer_group">
|
||||
<div class="indexer_left">
|
||||
@Html.LabelFor(m => m.NzbsOrgHash)
|
||||
</div>
|
||||
<div class="indexer_right">
|
||||
@Html.TextBoxFor(m => m.NzbsOrgHash)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</text>);
|
||||
indexerItem.Add()
|
||||
.Text("NZB Matrix")
|
||||
.ImageUrl("~/Content/Images/Indexers/NzbMatrix.png")
|
||||
.Content(@<text>
|
||||
<div class="section_content">
|
||||
|
||||
<div class="indexer_group">
|
||||
<div class="indexer_left">
|
||||
Enabled
|
||||
</div>
|
||||
<div class="indexer_right">
|
||||
@Html.CheckBoxFor(m => m.NzbMatrixEnabled, new { @class = "indexer_checkbox" })
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="indexer_group">
|
||||
<div class="indexer_left">
|
||||
@Html.LabelFor(m => m.NzbMatrixUsername)
|
||||
</div>
|
||||
<div class="indexer_right">
|
||||
@Html.TextBoxFor(m => m.NzbMatrixUsername)
|
||||
</div>
|
||||
</div>
|
||||
<div class="indexer_group">
|
||||
<div class="indexer_left">
|
||||
@Html.LabelFor(m => m.NzbMatrixApiKey)
|
||||
</div>
|
||||
<div class="indexer_right">
|
||||
@Html.TextBoxFor(m => m.NzbMatrixApiKey)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</text>);
|
||||
indexerItem.Add()
|
||||
.Text("NZBsRus")
|
||||
.ImageUrl("~/Content/Images/Indexers/NzbsRus.png")
|
||||
.Content(@<text>
|
||||
<div class="section_content">
|
||||
|
||||
<div class="indexer_group">
|
||||
<div class="indexer_left">
|
||||
Enabled
|
||||
</div>
|
||||
<div class="indexer_right">
|
||||
@Html.CheckBoxFor(m => m.NzbsRUsEnabled, new { @class = "indexer_checkbox" })
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="indexer_group">
|
||||
<div class="indexer_left">
|
||||
@Html.LabelFor(m => m.NzbsrusUId)
|
||||
</div>
|
||||
<div class="indexer_right">
|
||||
@Html.TextBoxFor(m => m.NzbsrusUId)
|
||||
</div>
|
||||
</div>
|
||||
<div class="indexer_group">
|
||||
<div class="indexer_left">
|
||||
@Html.LabelFor(m => m.NzbsrusHash)
|
||||
</div>
|
||||
<div class="indexer_right">
|
||||
@Html.TextBoxFor(m => m.NzbsrusHash)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</text>);
|
||||
indexerItem.Add()
|
||||
.Text("Newzbin")
|
||||
.ImageUrl("~/Content/Images/Indexers/Newzbin.png")
|
||||
.Content(@<text>
|
||||
<div class="section_content">
|
||||
|
||||
<div class="indexer_group">
|
||||
<div class="indexer_left">
|
||||
Enabled
|
||||
</div>
|
||||
<div class="indexer_right">
|
||||
@Html.CheckBoxFor(m => m.NewzbinEnabled, new { @class = "indexer_checkbox" })
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="indexer_group">
|
||||
<div class="indexer_left">
|
||||
@Html.LabelFor(m => m.NewzbinUsername)
|
||||
</div>
|
||||
<div class="indexer_right">
|
||||
@Html.TextBoxFor(m => m.NewzbinUsername)
|
||||
</div>
|
||||
</div>
|
||||
<div class="indexer_group">
|
||||
<div class="indexer_left">
|
||||
@Html.LabelFor(m => m.NewzbinPassword)
|
||||
</div>
|
||||
<div class="indexer_right">
|
||||
@Html.TextBoxFor(m => m.NewzbinPassword)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</text>);
|
||||
}).Render();
|
||||
}
|
||||
</div>
|
||||
|
||||
<div id="save_button_div">
|
||||
<input type="submit" id="save_button" value="Save" disabled="disabled" />
|
||||
</div>
|
||||
</fieldset>
|
||||
<label class="labelClass">@Html.LabelFor(m => m.NzbsrusUId)
|
||||
<span class="small">@Html.DescriptionFor(m => m.NzbsrusUId)</span>
|
||||
</label>
|
||||
@Html.TextBoxFor(m => m.NzbsrusUId, new { @class = "inputClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.NzbsrusHash)
|
||||
<span class="small">@Html.DescriptionFor(m => m.NzbsrusHash)</span>
|
||||
</label>
|
||||
@Html.TextBoxFor(m => m.NzbsrusHash, new { @class = "inputClass" })
|
||||
</div>
|
||||
</text>);
|
||||
indexerItem.Add()
|
||||
.Text("Newzbin")
|
||||
.ImageUrl("~/Content/Images/Indexers/Newzbin.png")
|
||||
.Content(@<text>
|
||||
<div class="indexerPanel clearfix">
|
||||
<label class="labelClass">@Html.LabelFor(m => m.NewzbinEnabled)
|
||||
<span class="small">@Html.DescriptionFor(m => m.NewzbinEnabled)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.NewzbinEnabled, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.NewzbinUsername)
|
||||
<span class="small">@Html.DescriptionFor(m => m.NewzbinUsername)</span>
|
||||
</label>
|
||||
@Html.TextBoxFor(m => m.NewzbinUsername, new { @class = "inputClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.NewzbinPassword)
|
||||
<span class="small">@Html.DescriptionFor(m => m.NewzbinPassword)</span>
|
||||
</label>
|
||||
@Html.TextBoxFor(m => m.NewzbinPassword, new { @class = "inputClass" })
|
||||
</div>
|
||||
</text>);
|
||||
}).Render();
|
||||
}
|
||||
</div>
|
||||
<br/>
|
||||
<button type="submit" id="save_button" >Save</button><img src="../../Content/Images/ajax-loader.gif" alt="Loader" id="saveAjax"/>
|
||||
}
|
||||
<div id="result" class="hiddenResult"></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="result" class="hiddenResult"></div>
|
||||
}
|
@ -1,136 +1,136 @@
|
||||
@model NzbDrone.Web.Models.NotificationSettingsModel
|
||||
@using (Html.BeginForm("SaveNotifications", "Settings", FormMethod.Post, new { id = "form", name = "form" }))
|
||||
{
|
||||
<fieldset>
|
||||
<legend>Notification Settings</legend>
|
||||
<fieldset class="sub-field">
|
||||
<legend>XBMC</legend>
|
||||
<div class="config-section">
|
||||
<div class="config-group">
|
||||
<div class="config-title">@Html.LabelFor(m => m.XbmcEnabled)</div>
|
||||
<div class="config-value">@Html.CheckBoxFor(m => m.XbmcEnabled)</div>
|
||||
</div>
|
||||
<div class="config-validation">@Html.ValidationMessageFor(m => m.XbmcEnabled)</div>
|
||||
</div>
|
||||
<div class="config-section">
|
||||
<div class="config-group">
|
||||
<div class="config-title">@Html.LabelFor(m => m.XbmcNotifyOnGrab)</div>
|
||||
<div class="config-value">@Html.CheckBoxFor(m => m.XbmcNotifyOnGrab)</div>
|
||||
</div>
|
||||
<div class="config-validation">@Html.ValidationMessageFor(m => m.XbmcNotifyOnGrab)</div>
|
||||
</div>
|
||||
<div class="config-section">
|
||||
<div class="config-group">
|
||||
<div class="config-title">@Html.LabelFor(m => m.XbmcNotifyOnDownload)</div>
|
||||
<div class="config-value">@Html.CheckBoxFor(m => m.XbmcNotifyOnDownload)</div>
|
||||
</div>
|
||||
<div class="config-validation">@Html.ValidationMessageFor(m => m.XbmcNotifyOnDownload)</div>
|
||||
</div>
|
||||
<div class="config-section">
|
||||
<div class="config-group">
|
||||
<div class="config-title">@Html.LabelFor(m => m.XbmcNotifyOnRename)</div>
|
||||
<div class="config-value">@Html.CheckBoxFor(m => m.XbmcNotifyOnRename)</div>
|
||||
</div>
|
||||
<div class="config-validation">@Html.ValidationMessageFor(m => m.XbmcNotifyOnRename)</div>
|
||||
</div>
|
||||
<div class="config-section">
|
||||
<div class="config-group">
|
||||
<div class="config-title">@Html.LabelFor(m => m.XbmcNotificationImage)</div>
|
||||
<div class="config-value">@Html.CheckBoxFor(m => m.XbmcNotificationImage)</div>
|
||||
</div>
|
||||
<div class="config-validation">@Html.ValidationMessageFor(m => m.XbmcNotificationImage)</div>
|
||||
</div>
|
||||
<div class="config-section">
|
||||
<div class="config-group">
|
||||
<div class="config-title">@Html.LabelFor(m => m.XbmcDisplayTime)</div>
|
||||
<div class="config-value">@Html.TextBoxFor(m => m.XbmcDisplayTime)</div>
|
||||
</div>
|
||||
<div class="config-validation">@Html.ValidationMessageFor(m => m.XbmcDisplayTime)</div>
|
||||
</div>
|
||||
<div class="config-section">
|
||||
<div class="config-group">
|
||||
<div class="config-title">@Html.LabelFor(m => m.XbmcUpdateOnDownload)</div>
|
||||
<div class="config-value">@Html.CheckBoxFor(m => m.XbmcUpdateOnDownload)</div>
|
||||
</div>
|
||||
<div class="config-validation">@Html.ValidationMessageFor(m => m.XbmcUpdateOnDownload)</div>
|
||||
</div>
|
||||
<div class="config-section">
|
||||
<div class="config-group">
|
||||
<div class="config-title">@Html.LabelFor(m => m.XbmcUpdateOnRename)</div>
|
||||
<div class="config-value">@Html.CheckBoxFor(m => m.XbmcUpdateOnRename)</div>
|
||||
</div>
|
||||
<div class="config-validation">@Html.ValidationMessageFor(m => m.XbmcUpdateOnRename)</div>
|
||||
</div>
|
||||
<div class="config-section">
|
||||
<div class="config-group">
|
||||
<div class="config-title">@Html.LabelFor(m => m.XbmcFullUpdate)</div>
|
||||
<div class="config-value">@Html.CheckBoxFor(m => m.XbmcFullUpdate)</div>
|
||||
</div>
|
||||
<div class="config-validation">@Html.ValidationMessageFor(m => m.XbmcFullUpdate)</div>
|
||||
</div>
|
||||
<div class="config-section">
|
||||
<div class="config-group">
|
||||
<div class="config-title">@Html.LabelFor(m => m.XbmcCleanOnDownload)</div>
|
||||
<div class="config-value">@Html.CheckBoxFor(m => m.XbmcCleanOnDownload)</div>
|
||||
</div>
|
||||
<div class="config-validation">@Html.ValidationMessageFor(m => m.XbmcCleanOnDownload)</div>
|
||||
</div>
|
||||
<div class="config-section">
|
||||
<div class="config-group">
|
||||
<div class="config-title">@Html.LabelFor(m => m.XbmcCleanOnRename)</div>
|
||||
<div class="config-value">@Html.CheckBoxFor(m => m.XbmcCleanOnRename)</div>
|
||||
</div>
|
||||
<div class="config-validation">@Html.ValidationMessageFor(m => m.XbmcCleanOnRename)</div>
|
||||
</div>
|
||||
<div class="config-section">
|
||||
<div class="config-group">
|
||||
<div class="config-title">@Html.LabelFor(m => m.XbmcHosts)</div>
|
||||
<div class="config-value">@Html.TextBoxFor(m => m.XbmcHosts)</div>
|
||||
</div>
|
||||
<div class="config-validation">@Html.ValidationMessageFor(m => m.XbmcHosts)</div>
|
||||
</div>
|
||||
<div class="config-section">
|
||||
<div class="config-group">
|
||||
<div class="config-title">@Html.LabelFor(m => m.XbmcUsername)</div>
|
||||
<div class="config-value">@Html.TextBoxFor(m => m.XbmcUsername)</div>
|
||||
</div>
|
||||
<div class="config-validation">@Html.ValidationMessageFor(m => m.XbmcUsername)</div>
|
||||
</div>
|
||||
<div class="config-section">
|
||||
<div class="config-group">
|
||||
<div class="config-title">@Html.LabelFor(m => m.XbmcPassword)</div>
|
||||
<div class="config-value">@Html.TextBoxFor(m => m.XbmcPassword)</div>
|
||||
</div>
|
||||
<div class="config-validation">@Html.ValidationMessageFor(m => m.XbmcPassword)</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="submit" id="save_button" value="Save" disabled="disabled" />
|
||||
</fieldset>
|
||||
@using NzbDrone.Web.Helpers
|
||||
@model NzbDrone.Web.Models.NotificationSettingsModel
|
||||
|
||||
@section HeaderContent{
|
||||
<link rel="stylesheet" type="text/css" href="../../Content/Settings.css" />
|
||||
|
||||
<style>
|
||||
.notifier
|
||||
{
|
||||
width: 560px;
|
||||
border:solid 2px #CCCCCD;
|
||||
padding: 5px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.notifier h4
|
||||
{
|
||||
font-weight: bold;
|
||||
margin-bottom: 0px;
|
||||
padding-left: 5px;
|
||||
padding-top: 3px;
|
||||
}
|
||||
|
||||
.notifierLine
|
||||
{
|
||||
font-size:11px;
|
||||
color:#666666;
|
||||
margin-bottom:20px;
|
||||
border-bottom:solid 1px #CCCCCD;
|
||||
padding-bottom:10px;
|
||||
}
|
||||
</style>
|
||||
}
|
||||
<div id="result" class="hiddenResult">
|
||||
</div>
|
||||
@section Scripts{
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
var options = {
|
||||
target: '#result',
|
||||
beforeSubmit: showRequest,
|
||||
success: showResponse,
|
||||
type: 'post',
|
||||
resetForm: false
|
||||
};
|
||||
$('#form').ajaxForm(options);
|
||||
$('#save_button').attr('disabled', '');
|
||||
});
|
||||
|
||||
function showRequest(formData, jqForm, options) {
|
||||
$("#result").empty().html('Saving...');
|
||||
$("#form :input").attr("disabled", true);
|
||||
|
||||
@section TitleContent{
|
||||
Settings
|
||||
}
|
||||
|
||||
@section ActionMenu{
|
||||
@{Html.RenderPartial("SubMenu");}
|
||||
}
|
||||
|
||||
@section MainContent{
|
||||
<div id="stylized">
|
||||
@using (Html.BeginForm("SaveNotifications", "Settings", FormMethod.Post, new { id = "form", name = "form", @class = "settingsForm" }))
|
||||
{
|
||||
<h1>Notifications</h1>
|
||||
<p></p>
|
||||
|
||||
<div id="xbmc" class="notifier clearfix">
|
||||
<h4>XBMC</h4>
|
||||
<div class="notifierLine"></div>
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.XbmcEnabled)
|
||||
<span class="small">@Html.DescriptionFor(m => m.XbmcEnabled)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.XbmcEnabled, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.XbmcNotifyOnGrab)
|
||||
<span class="small">@Html.DescriptionFor(m => m.XbmcNotifyOnGrab)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.XbmcNotifyOnGrab, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.XbmcNotifyOnDownload)
|
||||
<span class="small">@Html.DescriptionFor(m => m.XbmcNotifyOnDownload)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.XbmcNotifyOnDownload, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.XbmcNotifyOnRename)
|
||||
<span class="small">@Html.DescriptionFor(m => m.XbmcNotifyOnRename)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.XbmcNotifyOnRename, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.XbmcNotificationImage)
|
||||
<span class="small">@Html.DescriptionFor(m => m.XbmcNotificationImage)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.XbmcNotificationImage, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.XbmcDisplayTime)
|
||||
<span class="small">@Html.DescriptionFor(m => m.XbmcDisplayTime)</span>
|
||||
</label>
|
||||
@Html.TextBoxFor(m => m.XbmcDisplayTime, new { @class = "inputClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.XbmcUpdateOnDownload)
|
||||
<span class="small">@Html.DescriptionFor(m => m.XbmcUpdateOnDownload)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.XbmcUpdateOnDownload, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.XbmcUpdateOnRename)
|
||||
<span class="small">@Html.DescriptionFor(m => m.XbmcUpdateOnRename)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.XbmcUpdateOnRename, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.XbmcFullUpdate)
|
||||
<span class="small">@Html.DescriptionFor(m => m.XbmcFullUpdate)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.XbmcFullUpdate, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.XbmcCleanOnDownload)
|
||||
<span class="small">@Html.DescriptionFor(m => m.XbmcCleanOnDownload)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.XbmcCleanOnDownload, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.XbmcCleanOnRename)
|
||||
<span class="small">@Html.DescriptionFor(m => m.XbmcCleanOnRename)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.XbmcCleanOnRename, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.XbmcHosts)
|
||||
<span class="small">@Html.DescriptionFor(m => m.XbmcHosts)</span>
|
||||
</label>
|
||||
@Html.TextBoxFor(m => m.XbmcHosts, new { @class = "inputClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.XbmcUsername)
|
||||
<span class="small">@Html.DescriptionFor(m => m.XbmcUsername)</span>
|
||||
</label>
|
||||
@Html.TextBoxFor(m => m.XbmcUsername, new { @class = "inputClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.XbmcPassword)
|
||||
<span class="small">@Html.DescriptionFor(m => m.XbmcPassword)</span>
|
||||
</label>
|
||||
@Html.TextBoxFor(m => m.XbmcPassword, new { @class = "inputClass" })
|
||||
</div>
|
||||
|
||||
<button type="submit" id="save_button" >Save</button><img src="../../Content/Images/ajax-loader.gif" alt="Loader" id="saveAjax"/>
|
||||
}
|
||||
</div>
|
||||
|
||||
function showResponse(responseText, statusText, xhr, $form) {
|
||||
$("#result").empty().html(responseText);
|
||||
$("#form :input").attr("disabled", false);
|
||||
}
|
||||
</script>
|
||||
<div id="result" class="hiddenResult"></div>
|
||||
}
|
||||
|
||||
@section Scripts{
|
||||
<script src="/Scripts/MicrosoftAjax.js" type="text/javascript"></script>
|
||||
<script src="/Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>
|
||||
<script src="../../Scripts/settingsForm.js" type="text/javascript"></script>
|
||||
}
|
||||
|
Loading…
Reference in new issue