mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
Fixed debugging issues. Add Series tweaks.
Add series buttons are disabled on click to prevent multiple clicks.
This commit is contained in:
parent
bd5ced1540
commit
15e4a286d1
15 changed files with 225 additions and 185 deletions
|
@ -1,15 +0,0 @@
|
|||
@using System.Collections
|
||||
@using NzbDrone.Core
|
||||
<div id="quickAdd">
|
||||
<input id="quickSeriesLookup" class="seriesLookup" type="text" style="width: 400px" />
|
||||
@Html.Hidden("newSeriesId", 0, new { @class = "seriesId" })
|
||||
@Html.DropDownList("qualityList", (SelectList)ViewData["QualityProfiles"], new { @class = "qualitySelector" })
|
||||
<button id="quickAddNew">Add</button>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready(function () {
|
||||
//AddNew
|
||||
$('#quickSeriesLookup').watermark('Title of the series you want to add...');
|
||||
});
|
||||
</script>
|
|
@ -1,45 +0,0 @@
|
|||
@* Required so you have extention methods for client timings *@
|
||||
@using StackExchange.Profiling;
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
@* optional (enable client timing framework) *@
|
||||
@this.InitClientTimings()
|
||||
<meta charset="utf-8" />
|
||||
<title>@ViewBag.Title</title>
|
||||
|
||||
@* optional time scripts in the header *@
|
||||
@this.TimeScript("Content Site.css",
|
||||
@<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />)
|
||||
@this.TimeScript("jQuery 1.5.1",
|
||||
@<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>)
|
||||
@this.TimeScript("modernizr",
|
||||
@<script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>)
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="page">
|
||||
<header>
|
||||
<div id="title">
|
||||
<h1>My MVC Application</h1>
|
||||
</div>
|
||||
<div id="logindisplay">
|
||||
@Html.Partial("_LogOnPartial")
|
||||
</div>
|
||||
<nav>
|
||||
<ul id="menu">
|
||||
<li>@Html.ActionLink("Home", "Index", "Home")</li>
|
||||
<li>@Html.ActionLink("About", "About", "Home")</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<section id="main">
|
||||
@RenderBody()
|
||||
</section>
|
||||
<footer>
|
||||
</footer>
|
||||
</div>
|
||||
@* Make sure you've added this one line to your LAYOUT or MASTER PAGE *@
|
||||
@MiniProfiler.RenderIncludes()
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue