2011-05-19 02:10:25 +03:00
|
|
|
@using NzbDrone.Web.Helpers
|
2011-11-29 04:11:55 +03:00
|
|
|
@model NzbDrone.Web.Models.EpisodeNamingModel
|
2012-02-23 22:16:11 +03:00
|
|
|
@{
|
|
|
|
Layout = null;
|
2011-07-01 23:33:03 +03:00
|
|
|
}
|
2012-02-23 22:16:11 +03:00
|
|
|
<style>
|
|
|
|
#examples
|
|
|
|
{
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settingsContainer
|
|
|
|
{
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2011-07-01 23:33:03 +03:00
|
|
|
<div id="stylized">
|
2011-12-01 09:39:11 +03:00
|
|
|
@using (Html.BeginForm("SaveNaming", "Settings", FormMethod.Post, new { id = "NamingForm", name = "NamingForm", @class = "settingsForm" }))
|
2011-07-01 23:33:03 +03:00
|
|
|
{
|
2011-11-29 04:11:55 +03:00
|
|
|
<div class="settingsContainer">
|
2011-12-01 08:04:44 +03:00
|
|
|
@Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.")
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SeriesName)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SeriesName)</span>
|
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.SeriesName, new { @class = "inputClass checkClass" })
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.EpisodeName)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.EpisodeName)</span>
|
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.EpisodeName, new { @class = "inputClass checkClass" })
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.ReplaceSpaces)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.ReplaceSpaces)</span>
|
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.ReplaceSpaces, new { @class = "inputClass checkClass" })
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.AppendQuality)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.AppendQuality)</span>
|
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.AppendQuality, new { @class = "inputClass checkClass" })
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SeasonFolders)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SeasonFolders)</span>
|
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.SeasonFolders, new { @class = "inputClass checkClass" })
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SeasonFolderFormat)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SeasonFolderFormat)</span>
|
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.SeasonFolderFormat, new { @class = "inputClass" })
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SeparatorStyle)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SeparatorStyle)</span>
|
|
|
|
</label>
|
|
|
|
@Html.DropDownListFor(m => m.SeparatorStyle, Model.SeparatorStyles, new { @class = "inputClass selectClass" })
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.NumberStyle)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.NumberStyle)</span>
|
|
|
|
</label>
|
|
|
|
@Html.DropDownListFor(m => m.NumberStyle, Model.NumberStyles, new { @class = "inputClass selectClass" })
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.MultiEpisodeStyle)
|
|
|
|
<span class="small">@Html.DescriptionFor(m => m.MultiEpisodeStyle)</span>
|
|
|
|
</label>
|
|
|
|
@Html.DropDownListFor(m => m.MultiEpisodeStyle, Model.MultiEpisodeStyles, new { @class = "inputClass selectClass" })
|
2011-11-29 04:11:55 +03:00
|
|
|
</div>
|
2011-12-01 08:04:44 +03:00
|
|
|
<div id="examples">
|
|
|
|
<div id="singleEpisodeExample">
|
|
|
|
<b>Single Episode Example: </b><span class="result"></span>
|
|
|
|
</div>
|
|
|
|
<div id="multiEpisodeExample">
|
|
|
|
<b>Multi-Episode Example: </b><span class="result"></span>
|
|
|
|
</div>
|
2011-06-28 05:24:42 +03:00
|
|
|
</div>
|
2011-07-01 23:33:03 +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-07-01 23:33:03 +03:00
|
|
|
}
|
2012-03-07 10:20:57 +03:00
|
|
|
</div>
|