sonarr-repo-only/NzbDrone.Web/Views/Settings/Naming.cshtml

45 lines
1.1 KiB
Plaintext
Raw Normal View History

2012-10-15 00:50:01 +00:00
@model NzbDrone.Web.Models.EpisodeNamingModel
@{
2012-10-15 00:50:01 +00:00
Layout = "_SettingsLayout.cshtml";
2011-07-01 20:33:03 +00:00
}
<style>
#examples
{
margin-top: 5px;
margin-bottom: 20px;
padding-left: 20px;
}
.settingsContainer
{
overflow: auto;
}
</style>
2011-07-01 20:33:03 +00:00
<div id="stylized">
2011-12-01 06:39:11 +00:00
@using (Html.BeginForm("SaveNaming", "Settings", FormMethod.Post, new { id = "NamingForm", name = "NamingForm", @class = "settingsForm" }))
2011-07-01 20:33:03 +00:00
{
<div class="jquery-accordion">
<h3><a href="#">Episode Naming</a></h3>
<div id="episodeNamingContainer">
@{Html.RenderPartial("EpisodeNamingPartial", Model);}
</div>
<h3><a href="#">Metadata</a></h3>
<div id="metadataContainer">
@{Html.RenderPartial("MetaDataPartial", Model);}
</div>
</div>
2011-07-01 20:33:03 +00:00
2011-12-01 06:39:11 +00:00
<button type="submit" class="save_button" disabled="disabled">
Save</button>
2011-07-01 20:33:03 +00:00
}
2012-10-15 00:50:01 +00:00
</div>
@section Scripts{
<script type="text/javascript">
$(document).ready(function () {
createExamples();
});
</script>
}