1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-27 10:19:41 +00:00

Fix: Add Series Series lookup will show an AJAX wheel when loading.

This commit is contained in:
Mark McDowall 2012-02-24 21:28:29 -08:00
parent f2f0cf81fe
commit 4b903f2291
2 changed files with 49 additions and 36 deletions

View file

@ -5,33 +5,7 @@
@{
Layout = null;
}
<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;
}
</style>
@if (Model.ExistingSeries.Count == 0)
{
<h3 style="color: tomato">

View file

@ -1,15 +1,43 @@
@using NzbDrone.Web.Helpers
@{ViewBag.Title = "Add Series";}
@section Scripts
{
@Html.IncludeScript("NzbDrone/addSeries.js")
<script type="text/javascript">
$(document).ready(function () {
$('#addSeriesAccordion').accordion("activate", false);
});
</script>
@section HeaderContent
{
<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;
}
#newSeriesLookup.ui-autocomplete-loading {
background: white url('../../Content/Images/ajax-loader.gif') 99% center no-repeat;
background-size: 18px 18px
}
</style>
}
@{Html.RenderAction("RootDir");}
<div class="jquery-accordion" id="addSeriesAccordion">
<h3>
@ -22,4 +50,15 @@
<div id="existingSeries">
@{ Html.RenderAction("ExistingSeries", "AddSeries"); }
</div>
</div>
</div>
@section Scripts
{
@Html.IncludeScript("NzbDrone/addSeries.js")
<script type="text/javascript">
$(document).ready(function () {
$('#addSeriesAccordion').accordion("activate", false);
});
</script>
}