1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-28 19:05:55 +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; 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) @if (Model.ExistingSeries.Count == 0)
{ {
<h3 style="color: tomato"> <h3 style="color: tomato">

View file

@ -1,15 +1,43 @@
@using NzbDrone.Web.Helpers @using NzbDrone.Web.Helpers
@{ViewBag.Title = "Add Series";} @{ViewBag.Title = "Add Series";}
@section Scripts
{
@Html.IncludeScript("NzbDrone/addSeries.js")
<script type="text/javascript"> @section HeaderContent
$(document).ready(function () { {
$('#addSeriesAccordion').accordion("activate", false); <style>
}); .existingSeries
</script> {
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");} @{Html.RenderAction("RootDir");}
<div class="jquery-accordion" id="addSeriesAccordion"> <div class="jquery-accordion" id="addSeriesAccordion">
<h3> <h3>
@ -23,3 +51,14 @@
@{ Html.RenderAction("ExistingSeries", "AddSeries"); } @{ Html.RenderAction("ExistingSeries", "AddSeries"); }
</div> </div>
</div> </div>
@section Scripts
{
@Html.IncludeScript("NzbDrone/addSeries.js")
<script type="text/javascript">
$(document).ready(function () {
$('#addSeriesAccordion').accordion("activate", false);
});
</script>
}