2011-12-09 05:57:23 +01:00
|
|
|
@using NzbDrone.Web.Helpers
|
2011-12-10 06:05:17 +01:00
|
|
|
@{ViewBag.Title = "Add Series";}
|
2012-02-25 06:28:29 +01:00
|
|
|
|
|
|
|
@section HeaderContent
|
2011-11-27 07:31:13 +01:00
|
|
|
{
|
2012-02-25 06:28:29 +01:00
|
|
|
<style>
|
|
|
|
.existingSeries
|
|
|
|
{
|
|
|
|
border-color: #f2f2f2;
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
background-color: #f2f2f2;
|
|
|
|
margin: 0px 10px 10px 0px;
|
|
|
|
padding: 5px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.masterQualitySelector
|
|
|
|
{
|
|
|
|
left: 415px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.seriesPathValue
|
|
|
|
{
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.existingSeriesContainer
|
|
|
|
{
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2012-02-25 08:42:30 +01:00
|
|
|
.ui-autocomplete.seriesLookupResults {
|
|
|
|
max-height: 180px;
|
|
|
|
overflow-y: auto;
|
|
|
|
/* prevent horizontal scrollbar */
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
2012-03-03 05:21:50 +01:00
|
|
|
.tvDbLink {
|
|
|
|
color: #065EFE;
|
|
|
|
}
|
2012-02-27 04:25:57 +01:00
|
|
|
|
2012-03-03 05:21:50 +01:00
|
|
|
.tvDbLink:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2012-02-25 06:28:29 +01:00
|
|
|
</style>
|
2011-11-27 07:31:13 +01:00
|
|
|
}
|
2012-02-25 06:28:29 +01:00
|
|
|
|
2011-12-01 06:06:02 +01:00
|
|
|
@{Html.RenderAction("RootDir");}
|
2011-12-12 02:36:45 +01:00
|
|
|
<div class="jquery-accordion" id="addSeriesAccordion">
|
2011-12-08 06:30:47 +01:00
|
|
|
<h3>
|
|
|
|
<a href="#">Add New Series</a></h3>
|
2011-12-09 08:07:37 +01:00
|
|
|
<div id="addNewSeries">
|
2011-12-08 06:30:47 +01:00
|
|
|
@{ Html.RenderAction("AddNew", "AddSeries"); }
|
|
|
|
</div>
|
|
|
|
<h3>
|
|
|
|
<a href="#">Add Series Already on Disk</a></h3>
|
2011-12-09 08:07:37 +01:00
|
|
|
<div id="existingSeries">
|
2011-12-08 06:30:47 +01:00
|
|
|
@{ Html.RenderAction("ExistingSeries", "AddSeries"); }
|
|
|
|
</div>
|
2012-02-25 06:28:29 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@section Scripts
|
|
|
|
{
|
|
|
|
@Html.IncludeScript("NzbDrone/addSeries.js")
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function () {
|
|
|
|
$('#addSeriesAccordion').accordion("activate", false);
|
|
|
|
});
|
2012-03-03 05:21:50 +01:00
|
|
|
|
|
|
|
$(document).on('click', '.tvDbLink', function () {
|
|
|
|
var url = $(this).text();
|
|
|
|
window.open(url, 'thetvdb');
|
|
|
|
});
|
2012-02-25 06:28:29 +01:00
|
|
|
</script>
|
|
|
|
}
|