mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Added QuickAdd for adding series, not displayed currently, needs some prettifying.
This commit is contained in:
parent
d62345f6d7
commit
a9bcbfad8c
8 changed files with 77 additions and 8 deletions
15
NzbDrone.Web/Views/Shared/QuickAdd.cshtml
Normal file
15
NzbDrone.Web/Views/Shared/QuickAdd.cshtml
Normal file
|
@ -0,0 +1,15 @@
|
|||
@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>
|
Loading…
Add table
Add a link
Reference in a new issue