Removed MainContent Section
This commit is contained in:
parent
9841d7728e
commit
1cfc2f3fe4
|
@ -5,15 +5,12 @@ History
|
|||
}
|
||||
@section ActionMenu{
|
||||
<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>
|
||||
<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>
|
||||
}
|
||||
|
||||
<link href="../../Content/Grid.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
@section MainContent{
|
||||
<div class="grid-container">
|
||||
<div class="grid-container">
|
||||
@{Html.Telerik().Grid<HistoryModel>().Name("history")
|
||||
.TableHtmlAttributes(new { @class = "Grid" })
|
||||
.Columns(columns =>
|
||||
|
@ -51,8 +48,7 @@ History
|
|||
c =>
|
||||
c.PageSize(20).Position(GridPagerPosition.Bottom).Style(GridPagerStyles.NextPrevious))
|
||||
.Render();}
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
deleteHistoryRowUrl = '../History/Delete';
|
||||
|
|
|
@ -30,10 +30,9 @@ Logs
|
|||
<div style="margin-bottom: 10px">
|
||||
</div>
|
||||
}
|
||||
@section MainContent{
|
||||
<div class="infoBox">
|
||||
<div class="infoBox">
|
||||
Log entries older than 30 days are automatically deleted.</div>
|
||||
@{Html.Telerik().Grid<Log>().Name("logsGrid")
|
||||
@{Html.Telerik().Grid<Log>().Name("logsGrid")
|
||||
.TableHtmlAttributes(new { @class = "Grid" })
|
||||
.Columns(columns =>
|
||||
{
|
||||
|
@ -52,9 +51,8 @@ Logs
|
|||
.Pageable(paging => paging.Style(GridPagerStyles.Status).PageOnScroll(true).PageSize(100))
|
||||
.Filterable()
|
||||
.ClientEvents(c => c.OnRowDataBound("onRowDataBound"))
|
||||
.Scrollable(c=>c.Height(500))
|
||||
.Scrollable(c => c.Height(500))
|
||||
.Render();}
|
||||
}
|
||||
<script type="text/javascript">
|
||||
function reloadGrid() {
|
||||
var grid = $('#logsGrid').data('tGrid');
|
||||
|
|
|
@ -4,11 +4,10 @@ Misnamed
|
|||
}
|
||||
@section ActionMenu{
|
||||
<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>
|
||||
<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>
|
||||
}
|
||||
|
||||
<style>
|
||||
.searchImage
|
||||
{
|
||||
|
@ -26,9 +25,7 @@ Misnamed
|
|||
background-color: #065EFE;
|
||||
}
|
||||
</style>
|
||||
|
||||
@section MainContent{
|
||||
<div class="grid-container">
|
||||
<div class="grid-container">
|
||||
@{Html.Telerik().Grid<MisnamedEpisodeModel>().Name("misnamed")
|
||||
.TableHtmlAttributes(new { @class = "Grid" })
|
||||
.Columns(columns =>
|
||||
|
@ -54,9 +51,7 @@ Misnamed
|
|||
clientEvents.OnDataBound("grid_dataBound");
|
||||
})
|
||||
.Render();}
|
||||
</div>
|
||||
}
|
||||
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
deleteHistoryRowUrl = '../History/Delete';
|
||||
redownloadUrl = '../History/Redownload';
|
||||
|
|
|
@ -1,21 +1,16 @@
|
|||
@model List<MissingEpisodeModel>
|
||||
@using NzbDrone.Web.Models;
|
||||
|
||||
@section TitleContent{
|
||||
Missing
|
||||
}
|
||||
|
||||
<link href="../../Content/Grid.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
@section ActionMenu{
|
||||
<ul class="sub-menu">
|
||||
<li>@Ajax.ActionLink("Start RSS Sync", "RssSync", "Command", null, null)</li>
|
||||
<li>@Ajax.ActionLink("Start Backlog Search", "BacklogSearch", "Command", null, null)</li>
|
||||
</ul>
|
||||
}
|
||||
|
||||
@section MainContent{
|
||||
@{Html.Telerik().Grid<MissingEpisodeModel>().Name("missing")
|
||||
@{Html.Telerik().Grid<MissingEpisodeModel>().Name("missing")
|
||||
.TableHtmlAttributes(new { @class = "Grid" })
|
||||
.Columns(columns =>
|
||||
{
|
||||
|
@ -51,4 +46,3 @@ Missing
|
|||
c =>
|
||||
c.PageSize(20).Position(GridPagerPosition.Bottom).Style(GridPagerStyles.NextPrevious))
|
||||
.Render();}
|
||||
}
|
|
@ -71,7 +71,7 @@
|
|||
<li>@Ajax.ActionLink("Rename Episodes", "RenameEpisodes", "Episode", new { seriesId = Model.SeriesId }, null)</li>
|
||||
</ul>
|
||||
}
|
||||
@section MainContent{
|
||||
|
||||
<div id="banner-container">
|
||||
@{
|
||||
var bannerUrl = "../../Content/Images/img03.jpg";
|
||||
|
@ -146,7 +146,7 @@
|
|||
.Render();}
|
||||
</div>
|
||||
}
|
||||
}
|
||||
|
||||
@section Scripts{
|
||||
<script type="text/javascript">
|
||||
seriesId = @Model.SeriesId;
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
@using NzbDrone.Core.Helpers;
|
||||
@using NzbDrone.Web.Models;
|
||||
@model IEnumerable<NzbDrone.Core.Repository.Series>
|
||||
@section TitleContent{
|
||||
NzbDrone
|
||||
}
|
||||
|
||||
<style>
|
||||
/* progress bar container */
|
||||
.progressbar
|
||||
|
@ -47,15 +45,13 @@ NzbDrone
|
|||
background: #E5ECF9;
|
||||
}
|
||||
</style>
|
||||
|
||||
@section ActionMenu{
|
||||
<ul class="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">
|
||||
<div class="grid-container">
|
||||
@{Html.Telerik().Grid<SeriesModel>().Name("Grid")
|
||||
.TableHtmlAttributes(new { @class = "Grid" })
|
||||
.DataKeys(keys => keys.Add(p => p.SeriesId))
|
||||
|
@ -103,8 +99,7 @@ NzbDrone
|
|||
clientEvents.OnRowDataBound("grid_rowBound");
|
||||
})
|
||||
.Render();}
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
@section Scripts{
|
||||
<script type="text/javascript">
|
||||
var windowElement;
|
||||
|
|
|
@ -10,8 +10,7 @@ Settings
|
|||
});
|
||||
</script>
|
||||
}
|
||||
@section MainContent{
|
||||
<div id="tabs222">
|
||||
<div id="tabs222">
|
||||
<ul>
|
||||
<li>@Html.ActionLink("Naming", "Naming", "Settings")</li>
|
||||
<li>@Html.ActionLink("Indexers", "Indexers", "Settings")</li>
|
||||
|
@ -20,5 +19,4 @@ Settings
|
|||
<li>@Html.ActionLink("Notifications", "Notifications", "Settings")</li>
|
||||
<li>@Html.ActionLink("System", "System", "Settings")</li>
|
||||
</ul>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
|
|
@ -1,15 +1,11 @@
|
|||
@model HandleErrorInfo
|
||||
|
||||
@section TitleContent
|
||||
{
|
||||
EPIC FAIL!!!
|
||||
EPIC FAIL!!!
|
||||
}
|
||||
|
||||
@section MainContent
|
||||
{
|
||||
<h2>
|
||||
<h2>
|
||||
@Model.Exception.Message
|
||||
</h2>
|
||||
<br />
|
||||
@Model.Exception.ToString()
|
||||
}
|
||||
</h2>
|
||||
<br />
|
||||
@Model.Exception.ToString()
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
@section TitleContent{
|
||||
Configuration
|
||||
}
|
||||
@section MainContent{
|
||||
@(Html.Telerik().Grid<NzbDrone.Core.Repository.Config>()
|
||||
@(Html.Telerik().Grid<NzbDrone.Core.Repository.Config>()
|
||||
.Name("Grid")
|
||||
.TableHtmlAttributes(new { @class = "Grid" })
|
||||
.DataKeys(keys =>
|
||||
|
@ -30,4 +29,3 @@ Configuration
|
|||
.Editable(editing => editing.Mode(GridEditMode.InLine))
|
||||
.Sortable()
|
||||
)
|
||||
}
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
@section TitleContent{
|
||||
Indexers
|
||||
}
|
||||
@section MainContent{
|
||||
@{Html.Telerik().Grid(Model).Name("Grid")
|
||||
@{Html.Telerik().Grid(Model).Name("Grid")
|
||||
.TableHtmlAttributes(new { @class = "Grid" })
|
||||
.Render();}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
@using System.Collections
|
||||
@using NzbDrone.Web.Models
|
||||
@using NzbDrone.Web.Models
|
||||
@model IEnumerable<NzbDrone.Core.Repository.JobDefinition>
|
||||
@section TitleContent{
|
||||
Jobs
|
||||
}
|
||||
@section MainContent{
|
||||
|
||||
@{Html.Telerik().Grid(Model).Name("Grid")
|
||||
.Render();}
|
||||
|
||||
|
@ -15,4 +14,4 @@ Jobs
|
|||
.Columns(c => c.Bound(g => g.TargetId).Title("Target"))
|
||||
.Columns(c => c.Bound(g => g.SecondaryTargetId).Title("Secondary Target"))
|
||||
.Render();}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,8 +10,7 @@ Pending Processing
|
|||
items.Add().Text("Purge History").Action("Purge", "History");
|
||||
}).Render();}
|
||||
}
|
||||
@section MainContent{
|
||||
<div class="grid-container">
|
||||
<div class="grid-container">
|
||||
@{Html.Telerik().Grid<PendingProcessingModel>().Name("PendingProcessingGrid")
|
||||
.TableHtmlAttributes(new { @class = "Grid" })
|
||||
.Columns(columns =>
|
||||
|
@ -30,8 +29,7 @@ Pending Processing
|
|||
c =>
|
||||
c.PageSize(20).Position(GridPagerPosition.Bottom).Style(GridPagerStyles.NextPrevious))
|
||||
.Render();}
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var renamePendingUrl = '@Url.Action("RenamePendingProcessing", "System")';
|
||||
|
||||
|
|
|
@ -3,17 +3,15 @@
|
|||
@section TitleContent{
|
||||
Upcoming
|
||||
}
|
||||
|
||||
<link href="../../Content/Grid.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
@section ActionMenu{
|
||||
<ul class="sub-menu">
|
||||
<li>@Ajax.ActionLink("Start RSS Sync", "RssSync", "Command", null, null)</li>
|
||||
</ul>
|
||||
}
|
||||
@section MainContent{
|
||||
<div id="yesterday">
|
||||
<h2>Yesterday</h2>
|
||||
<div id="yesterday">
|
||||
<h2>
|
||||
Yesterday</h2>
|
||||
<div class="grid-container">
|
||||
@{Html.Telerik().Grid<UpcomingEpisodeModel>().Name("Yesterday").NoRecordsTemplate(
|
||||
"No watched shows aired yesterday")
|
||||
|
@ -48,10 +46,11 @@ Upcoming
|
|||
//.ClientEvents(c => c.OnRowDataBound("onRowDataBound"))
|
||||
.Render();}
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div id="today">
|
||||
<h2>Today</h2>
|
||||
</div>
|
||||
<br />
|
||||
<div id="today">
|
||||
<h2>
|
||||
Today</h2>
|
||||
<div class="grid-container">
|
||||
@{Html.Telerik().Grid<UpcomingEpisodeModel>().Name("Today").NoRecordsTemplate("No watched shows airing today.")
|
||||
.TableHtmlAttributes(new { @class = "Grid" })
|
||||
|
@ -82,10 +81,11 @@ Upcoming
|
|||
.Sortable(rows => rows.OrderBy(epSort => epSort.Add(c => c.AirDateTime).Ascending()).Enabled(true))
|
||||
.Render();}
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div id="tomorrow">
|
||||
<h2>Tomorrow</h2>
|
||||
</div>
|
||||
<br />
|
||||
<div id="tomorrow">
|
||||
<h2>
|
||||
Tomorrow</h2>
|
||||
<div class="grid-container">
|
||||
@{Html.Telerik().Grid<UpcomingEpisodeModel>().Name("Tomorrow").NoRecordsTemplate(
|
||||
"No watched shows airing tomorrow")
|
||||
|
@ -118,10 +118,11 @@ Upcoming
|
|||
.Sortable(rows => rows.OrderBy(epSort => epSort.Add(c => c.AirDateTime).Ascending()).Enabled(true))
|
||||
.Render();}
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div id="week">
|
||||
<h2>Future Forecast</h2>
|
||||
</div>
|
||||
<br />
|
||||
<div id="week">
|
||||
<h2>
|
||||
Future Forecast</h2>
|
||||
<div class="grid-container">
|
||||
@{Html.Telerik().Grid<UpcomingEpisodeModel>().Name("Week").NoRecordsTemplate(
|
||||
"No watched shows airing in the next week...")
|
||||
|
@ -153,5 +154,4 @@ Upcoming
|
|||
.Sortable(rows => rows.OrderBy(epSort => epSort.Add(c => c.AirDateTime).Ascending()).Enabled(true))
|
||||
.Render();}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue