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