mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-27 22:56:45 -04:00
Menus are now custom built, using AJAX loading of links where acceptable.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@using NzbDrone.Core.Repository;
|
||||
@using NzbDrone.Web.Controllers
|
||||
@using NzbDrone.Web.Models;
|
||||
@model IEnumerable<NzbDrone.Core.Repository.Series>
|
||||
@section TitleContent{
|
||||
@@ -49,7 +50,10 @@ NZBDrone
|
||||
</style>
|
||||
|
||||
@section ActionMenu{
|
||||
@{Html.RenderPartial("SubMenu");}
|
||||
<ul id="sub-menu">
|
||||
<li>@Html.ActionLink("Add Series", "Index", "AddSeries")</li>
|
||||
<li>@Ajax.ActionLink("Start RSS Sync", "RssSync", "Command", null)</li>
|
||||
</ul>
|
||||
}
|
||||
@section MainContent{
|
||||
<div class="grid-container">
|
||||
@@ -119,8 +123,7 @@ NZBDrone
|
||||
|
||||
$("#progressbar_" + seriesId).episodeProgress(episodeFileCount, episodeCount);
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
|
||||
(function ($) {
|
||||
$.fn.episodeProgress = function (episodes, totalEpisodes) {
|
||||
return this.each(
|
||||
|
||||
Reference in New Issue
Block a user