mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Updated localsearch UI.
This commit is contained in:
parent
59fcb5f138
commit
3bcbc713f3
7 changed files with 31 additions and 167 deletions
|
@ -1,41 +0,0 @@
|
|||
@{
|
||||
Layout = null;
|
||||
}
|
||||
<style>
|
||||
#localSeriesSlider
|
||||
{
|
||||
right: 150px;
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
.sliderContent .localSeriesLookup
|
||||
{
|
||||
width: 94%;
|
||||
}
|
||||
|
||||
.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>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
//Ctrl+Shift+F to open the slider
|
||||
$(document).bind('keydown', 'ctrl+shift+f', function () {
|
||||
$('#localSeriesSlider').children('.sliderButton').click();
|
||||
});
|
||||
|
||||
//Use ESC to close the slider
|
||||
$('.localSeriesLookup').bind('keydown', 'esc', function () {
|
||||
$(this).parent('.sliderContent').slideUp();
|
||||
});
|
||||
</script>
|
|
@ -15,13 +15,11 @@
|
|||
<link type="text/css" rel="stylesheet" href="../../Content/ActionButton.css" />
|
||||
<link type="text/css" rel="stylesheet" href="../../Content/overrides.css" />
|
||||
<link type="text/css" rel="stylesheet" href="../../Content/Menu.css" />
|
||||
<link type="text/css" rel="stylesheet" href="../../Content/Slider.css" />
|
||||
<link type="text/css" rel="stylesheet" href="../../Content/Messages.css" />
|
||||
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
|
||||
@RenderSection("HeaderContent", required: false)
|
||||
</head>
|
||||
<body>
|
||||
@{Html.RenderAction("LocalSearch", "Shared");}
|
||||
<div id="centered">
|
||||
<div id="menu">
|
||||
<ul>
|
||||
|
@ -32,6 +30,7 @@
|
|||
@MvcHtmlString.Create(Html.CurrentActionLink("Settings", "Index", "Settings"))
|
||||
@MvcHtmlString.Create(Html.CurrentActionLink("Logs", "Index", "Log"))
|
||||
</ul>
|
||||
<input id="localSeriesLookup" type="text"/>
|
||||
</div>
|
||||
<div id="logo">
|
||||
@RenderSection("TitleContent", required: false)
|
||||
|
@ -62,7 +61,6 @@
|
|||
<script type="text/javascript" src="../../Scripts/NzbDrone/episodeSearch.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/slider.js"></script>
|
||||
<script type="text/javascript" src="../../Scripts/NzbDrone/Notification.js"></script>
|
||||
@RenderSection("Scripts", required: false)
|
||||
@if (EnviromentProvider.IsProduction)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue