1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 18:42:42 +01:00

Fixed local search position

This commit is contained in:
kay.one 2011-11-26 09:43:49 -08:00
parent 8d26659339
commit 59fcb5f138
3 changed files with 21 additions and 20 deletions

View File

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

View File

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

View File

@ -21,8 +21,8 @@
@RenderSection("HeaderContent", required: false)
</head>
<body>
@{Html.RenderAction("LocalSearch", "Shared");}
<div id="centered">
@{Html.RenderAction("LocalSearch", "Shared");}
<div id="menu">
<ul>
@MvcHtmlString.Create(Html.CurrentActionLink("Series", "Index", "Series"))
@ -32,7 +32,6 @@
@MvcHtmlString.Create(Html.CurrentActionLink("Settings", "Index", "Settings"))
@MvcHtmlString.Create(Html.CurrentActionLink("Logs", "Index", "Log"))
</ul>
</div>
<div id="logo">
@RenderSection("TitleContent", required: false)
@ -50,7 +49,7 @@
<span id="msgText">background notification</span>
</div>
@(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/MicrosoftAjax.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/addSeries.js"></script>
<script type="text/javascript" src="../../Scripts/NzbDrone/slider.js"></script>
<script type="text/javascript" src="../../Scripts/NzbDrone/Notification.js"></script>
@RenderSection("Scripts", required: false)
<script type="text/javascript" src="../../Scripts/NzbDrone/Notification.js"></script>
@RenderSection("Scripts", required: false)
@if (EnviromentProvider.IsProduction)
{
<script type="text/javascript">