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