mirror of https://github.com/lidarr/Lidarr
Season Grid toolbar uses sub-menu.
sub-menu moved from id to class.
This commit is contained in:
parent
3e87418c5d
commit
2e48034d70
|
@ -1,9 +1,9 @@
|
|||
#sub-menu
|
||||
.sub-menu
|
||||
{
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
#sub-menu li
|
||||
.sub-menu li
|
||||
{
|
||||
display: inline;
|
||||
list-style-type: none;
|
||||
|
@ -13,8 +13,14 @@
|
|||
border-right: 1px solid #F0F0F0;
|
||||
}
|
||||
|
||||
#sub-menu a
|
||||
.sub-menu a
|
||||
{
|
||||
text-decoration: none;
|
||||
color: #105CD6;
|
||||
}
|
||||
|
||||
.t-grid .sub-menu
|
||||
{
|
||||
margin-left: -10px;
|
||||
margin-bottom: 0px;
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
History
|
||||
}
|
||||
@section ActionMenu{
|
||||
<ul id="sub-menu">
|
||||
<ul class="sub-menu">
|
||||
<li>@Ajax.ActionLink("Trim History", "Trim", "History", new AjaxOptions{ OnSuccess = "reloadHistoryGrid" })</li>
|
||||
<li>@Ajax.ActionLink("Purge History", "Purge", "History", new AjaxOptions { OnSuccess = "reloadHistoryGrid"})</li>
|
||||
</ul>
|
||||
|
|
|
@ -24,7 +24,7 @@ Logs
|
|||
}
|
||||
|
||||
@section ActionMenu{
|
||||
<ul id="sub-menu">
|
||||
<ul class="sub-menu">
|
||||
<li>@Ajax.ActionLink("Clear Logs", "Clear", "Log", new AjaxOptions{ OnSuccess = "reloadGrid" })</li>
|
||||
</ul>
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
</style>
|
||||
|
||||
@section ActionMenu{
|
||||
<ul id="sub-menu">
|
||||
<ul class="sub-menu">
|
||||
<li>@Html.ActionLink("Back to Series List", "Index", "Series")</li>
|
||||
<li>@Ajax.ActionLink("Scan For Episodes on Disk", "SyncEpisodesOnDisk", "Command", new { seriesId = Model.SeriesId }, null)</li>
|
||||
<li>@Ajax.ActionLink("Update Info", "UpdateInfo", "Command", new { seriesId = Model.SeriesId }, null)</li>
|
||||
|
@ -123,11 +123,10 @@
|
|||
d.Ajax().Select("_AjaxSeasonGrid", "Series",
|
||||
new RouteValueDictionary { { "seriesId", Model.SeriesId }, { "seasonNumber", season } }))
|
||||
.ToolBar(toolbar => toolbar.Template(@<text>
|
||||
<div>
|
||||
<a href="../Episode/SearchSeason?seriesId=@seriesId&seasonNumber=@season" onclick="searchSeason('@seriesId', @season); return false;">Search for Season</a>
|
||||
|
|
||||
<a href="../Episode/RenameSeason?seriesId=@seriesId&seasonNumber=@season" onclick="renameSeason('@seriesId', @season); return false;">Rename Season</a>
|
||||
</div>
|
||||
<ul class="sub-menu">
|
||||
<li><a href="../Episode/SearchSeason?seriesId=@seriesId&seasonNumber=@season" onclick="searchSeason('@seriesId', @season); return false;">Search for Season</a></li>
|
||||
<li><a href="../Episode/RenameSeason?seriesId=@seriesId&seasonNumber=@season" onclick="renameSeason('@seriesId', @season); return false;">Rename Season</a></li>
|
||||
</ul>
|
||||
</text>))
|
||||
.ClientEvents(clientEvents =>
|
||||
{
|
||||
|
|
|
@ -50,7 +50,7 @@ NZBDrone
|
|||
</style>
|
||||
|
||||
@section ActionMenu{
|
||||
<ul id="sub-menu">
|
||||
<ul class="sub-menu">
|
||||
<li>@Html.ActionLink("Add Series", "Index", "AddSeries")</li>
|
||||
<li>@Ajax.ActionLink("Start RSS Sync", "RssSync", "Command", null)</li>
|
||||
</ul>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<ul id="sub-menu">
|
||||
<ul class="sub-menu">
|
||||
<li>@Html.ActionLink("Indexers", "Indexers", "Settings")</li>
|
||||
<li>@Html.ActionLink("SABnzbd", "Sabnzbd", "Settings")</li>
|
||||
<li>@Html.ActionLink("Quality", "Quality", "Settings")</li>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
Upcoming
|
||||
}
|
||||
@section ActionMenu{
|
||||
<ul id="sub-menu">
|
||||
<ul class="sub-menu">
|
||||
<li>@Ajax.ActionLink("Start RSS Sync", "RssSync", "Command", null, null)</li>
|
||||
</ul>
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue