Fixed local search position

pull/6/head
kay.one 13 years ago
parent 8d26659339
commit 59fcb5f138

@ -38,7 +38,7 @@ Settings
@Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.") @Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.")
<div id="accordion"> <div id="accordion">
<h3> <h3>
<a href="#">First header</a></h3> <a href="#">NZBs.org</a></h3>
<div class="indexerPanel clearfix"> <div class="indexerPanel clearfix">
<label class="labelClass"> <label class="labelClass">
Enable <span class="small">@Html.DescriptionFor(m => m.NzbsOrgEnabled)</span> Enable <span class="small">@Html.DescriptionFor(m => m.NzbsOrgEnabled)</span>
@ -54,7 +54,7 @@ Settings
@Html.TextBoxFor(m => m.NzbsOrgHash, new { @class = "inputClass" }) @Html.TextBoxFor(m => m.NzbsOrgHash, new { @class = "inputClass" })
</div> </div>
<h3> <h3>
<a href="#">First header</a></h3> <a href="#">NZBMatrix</a></h3>
<div class="indexerPanel clearfix"> <div class="indexerPanel clearfix">
<label class="labelClass"> <label class="labelClass">
Enable <span class="small">@Html.DescriptionFor(m => m.NzbMatrixEnabled)</span> Enable <span class="small">@Html.DescriptionFor(m => m.NzbMatrixEnabled)</span>
@ -70,7 +70,7 @@ Settings
@Html.TextBoxFor(m => m.NzbMatrixApiKey, new { @class = "inputClass" }) @Html.TextBoxFor(m => m.NzbMatrixApiKey, new { @class = "inputClass" })
</div> </div>
<h3> <h3>
<a href="#">First header</a></h3> <a href="#">NZBsRus</a></h3>
<div class="indexerPanel clearfix"> <div class="indexerPanel clearfix">
<label class="labelClass"> <label class="labelClass">
Enable <span class="small">@Html.DescriptionFor(m => m.NzbsRUsEnabled)</span> Enable <span class="small">@Html.DescriptionFor(m => m.NzbsRUsEnabled)</span>
@ -86,7 +86,7 @@ Settings
@Html.TextBoxFor(m => m.NzbsrusHash, new { @class = "inputClass" }) @Html.TextBoxFor(m => m.NzbsrusHash, new { @class = "inputClass" })
</div> </div>
<h3> <h3>
<a href="#">First header</a></h3> <a href="#">Newsbin</a></h3>
<div class="indexerPanel clearfix"> <div class="indexerPanel clearfix">
<label class="labelClass"> <label class="labelClass">
Enable <span class="small">@Html.DescriptionFor(m => m.NewzbinEnabled)</span> Enable <span class="small">@Html.DescriptionFor(m => m.NewzbinEnabled)</span>
@ -102,7 +102,7 @@ Settings
@Html.TextBoxFor(m => m.NewzbinPassword, new { @class = "inputClass" }) @Html.TextBoxFor(m => m.NewzbinPassword, new { @class = "inputClass" })
</div> </div>
<h3> <h3>
<a href="#">First header</a></h3> <a href="#">Newznab</a></h3>
<div class="indexerPanel clearfix"> <div class="indexerPanel clearfix">
<label class="labelClass"> <label class="labelClass">
Enable <span class="small">@Html.DescriptionFor(m => m.NewznabEnabled)</span> Enable <span class="small">@Html.DescriptionFor(m => m.NewznabEnabled)</span>

@ -1,31 +1,33 @@
@{ @{
Layout = null; Layout = null;
} }
<style> <style>
#localSeriesSlider { #localSeriesSlider
{
right: 150px; right: 150px;
top: 0px;
} }
.sliderContent .localSeriesLookup { .sliderContent .localSeriesLookup
{
width: 94%; width: 94%;
} }
.sliderContent { .sliderContent
{
height: 53px; height: 53px;
} }
</style> </style>
<div id="localSeriesSlider" class="top-slider"> <div id="localSeriesSlider" class="top-slider">
<div class="sliderContent"> <div class="sliderContent">
Local Series Search Local Series Search
<input class="localSeriesLookup" type="text" /> <input class="localSeriesLookup" type="text" />
</div> </div>
<div class="sliderButton"> <div class="sliderButton">
Search<div class="sliderImage sliderClosed"></div> Search<div class="sliderImage sliderClosed">
</div>
</div> </div>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
//Ctrl+Shift+F to open the slider //Ctrl+Shift+F to open the slider
$(document).bind('keydown', 'ctrl+shift+f', function () { $(document).bind('keydown', 'ctrl+shift+f', function () {
@ -36,4 +38,4 @@
$('.localSeriesLookup').bind('keydown', 'esc', function () { $('.localSeriesLookup').bind('keydown', 'esc', function () {
$(this).parent('.sliderContent').slideUp(); $(this).parent('.sliderContent').slideUp();
}); });
</script> </script>

@ -21,8 +21,8 @@
@RenderSection("HeaderContent", required: false) @RenderSection("HeaderContent", required: false)
</head> </head>
<body> <body>
@{Html.RenderAction("LocalSearch", "Shared");}
<div id="centered"> <div id="centered">
@{Html.RenderAction("LocalSearch", "Shared");}
<div id="menu"> <div id="menu">
<ul> <ul>
@MvcHtmlString.Create(Html.CurrentActionLink("Series", "Index", "Series")) @MvcHtmlString.Create(Html.CurrentActionLink("Series", "Index", "Series"))
@ -32,7 +32,6 @@
@MvcHtmlString.Create(Html.CurrentActionLink("Settings", "Index", "Settings")) @MvcHtmlString.Create(Html.CurrentActionLink("Settings", "Index", "Settings"))
@MvcHtmlString.Create(Html.CurrentActionLink("Logs", "Index", "Log")) @MvcHtmlString.Create(Html.CurrentActionLink("Logs", "Index", "Log"))
</ul> </ul>
</div> </div>
<div id="logo"> <div id="logo">
@RenderSection("TitleContent", required: false) @RenderSection("TitleContent", required: false)
@ -50,7 +49,7 @@
<span id="msgText">background notification</span> <span id="msgText">background notification</span>
</div> </div>
@(Html.Telerik().ScriptRegistrar().jQuery(true)) @(Html.Telerik().ScriptRegistrar().jQuery(true))
@* <script type="text/javascript" src="../../Scripts/jquery-1.7.1.min.js"></script>*@ @* <script type="text/javascript" src="../../Scripts/jquery-1.7.1.min.js"></script>*@
<script type="text/javascript" src="../../Scripts/jquery-ui-1.8.16.min.js"></script> <script type="text/javascript" src="../../Scripts/jquery-ui-1.8.16.min.js"></script>
<script type="text/javascript" src="../../Scripts/MicrosoftAjax.js"></script> <script type="text/javascript" src="../../Scripts/MicrosoftAjax.js"></script>
<script type="text/javascript" src="../../Scripts/MicrosoftMvcAjax.js"></script> <script type="text/javascript" src="../../Scripts/MicrosoftMvcAjax.js"></script>
@ -64,8 +63,8 @@
<script type="text/javascript" src="../../Scripts/NzbDrone/AutoComplete.js"></script> <script type="text/javascript" src="../../Scripts/NzbDrone/AutoComplete.js"></script>
<script type="text/javascript" src="../../Scripts/NzbDrone/addSeries.js"></script> <script type="text/javascript" src="../../Scripts/NzbDrone/addSeries.js"></script>
<script type="text/javascript" src="../../Scripts/NzbDrone/slider.js"></script> <script type="text/javascript" src="../../Scripts/NzbDrone/slider.js"></script>
<script type="text/javascript" src="../../Scripts/NzbDrone/Notification.js"></script> <script type="text/javascript" src="../../Scripts/NzbDrone/Notification.js"></script>
@RenderSection("Scripts", required: false) @RenderSection("Scripts", required: false)
@if (EnviromentProvider.IsProduction) @if (EnviromentProvider.IsProduction)
{ {
<script type="text/javascript"> <script type="text/javascript">

Loading…
Cancel
Save