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 () {

View File

@ -21,8 +21,8 @@
@RenderSection("HeaderContent", required: false)
</head>
<body>
<div id="centered">
@{Html.RenderAction("LocalSearch", "Shared");}
<div id="centered">
<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)