1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/NzbDrone.Web/Views/Settings/Naming.cshtml

45 lines
1.1 KiB
Plaintext
Raw Normal View History

2012-10-15 03:50:01 +03:00
@model NzbDrone.Web.Models.EpisodeNamingModel
@{
2012-10-15 03:50:01 +03:00
Layout = "_SettingsLayout.cshtml";
2011-07-01 23:33:03 +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
{
<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 23:33:03 +03:00
2011-12-01 09:39:11 +03:00
<button type="submit" class="save_button" disabled="disabled">
Save</button>
2011-07-01 23:33:03 +03:00
}
2012-10-15 03:50:01 +03:00
</div>
@section Scripts{
<script type="text/javascript">
$(document).ready(function () {
createExamples();
});
</script>
}