diff --git a/NzbDrone.Web/Views/Shared/_ReferenceLayout.cshtml b/NzbDrone.Web/Views/Shared/_ReferenceLayout.cshtml index e9be7ca5b..598fdf8c7 100644 --- a/NzbDrone.Web/Views/Shared/_ReferenceLayout.cshtml +++ b/NzbDrone.Web/Views/Shared/_ReferenceLayout.cshtml @@ -1,49 +1,51 @@ @using NzbDrone.Web.Helpers +@using StackExchange.Profiling -
- - - - @Html.IncludeCss("jQueryUI/jquery-ui-1.8.16.custom.css") - @Html.IncludeCss("jquery.gritter.css") - @Html.IncludeCss("NzbDrone.css") - @Html.IncludeCss("ActionButton.css") - @Html.IncludeCss("Menu.css") - @Html.IncludeCss("Messages.css") - @Html.IncludeCss("DataTables-1.9.0/media/css/jquery.dataTables.css") - @Html.IncludeCss("overrides.css") - @RenderSection("HeaderContent", required: false) - - - @RenderBody() - @Html.IncludeScript("jquery-1.7.1.min.js") - @Html.IncludeScript("jquery-ui-1.8.17.min.js") - @Html.IncludeScript("jquery.livequery.js") - @Html.IncludeScript("jquery.gritter.js") - @Html.IncludeScript("jquery.form.js") - @Html.IncludeScript("jquery-tgc-countdown-1.0.js") - @Html.IncludeScript("jquery.watermark.min.js") - @Html.IncludeScript("jquery.hotkeys.js") - @Html.IncludeScript("jquery.signalR.min.js") - @Html.IncludeScript("jquery.validate.js") - @Html.IncludeScript("jquery.validate.unobtrusive.js") - @Html.IncludeScript("jquery.unobtrusive-ajax.min.js") - @Html.IncludeScript("jquery.cookie.js") - @Html.IncludeScript("doTimeout.js") - @Html.IncludeScript("conditional-validation.js") - - @Html.IncludeScript("NzbDrone/localSearch.js") - @Html.IncludeScript("NzbDrone/AutoComplete.js") - @Html.IncludeScript("NzbDrone/Notification.js") - @Html.IncludeScript("NzbDrone/AutoBind.js") - @Html.IncludeScript("NzbDrone/grid.js") - @Html.IncludeScript("DataTables-1.9.0/media/js/jquery.dataTables.min.js") - @Html.IncludeScript("DataTables-1.9.0/media/js/jquery.dataTables.reloadAjax.js") - @Html.IncludeScript("DataTables-1.9.0/media/js/jquery.dataTables.editable.js") - @Html.IncludeScript("DataTables-1.9.0/media/js/jquery.jeditable.js") - @Html.IncludeScript("jquery.dataTables.4button.pagination.js") - @RenderSection("Scripts", required: false) - + + @this.InitClientTimings() + + + + @Html.IncludeCss("jQueryUI/jquery-ui-1.8.16.custom.css") + @Html.IncludeCss("jquery.gritter.css") + @Html.IncludeCss("NzbDrone.css") + @Html.IncludeCss("ActionButton.css") + @Html.IncludeCss("Menu.css") + @Html.IncludeCss("Messages.css") + @Html.IncludeCss("DataTables-1.9.0/media/css/jquery.dataTables.css") + @Html.IncludeCss("overrides.css") + @RenderSection("HeaderContent", required: false) + + + @RenderBody() + @Html.IncludeScript("jquery-1.7.1.min.js") + @Html.IncludeScript("jquery-ui-1.8.17.min.js") + @Html.IncludeScript("jquery.livequery.js") + @Html.IncludeScript("jquery.gritter.js") + @Html.IncludeScript("jquery.form.js") + @Html.IncludeScript("jquery-tgc-countdown-1.0.js") + @Html.IncludeScript("jquery.watermark.min.js") + @Html.IncludeScript("jquery.hotkeys.js") + @Html.IncludeScript("jquery.signalR.min.js") + @Html.IncludeScript("jquery.validate.js") + @Html.IncludeScript("jquery.validate.unobtrusive.js") + @Html.IncludeScript("jquery.unobtrusive-ajax.min.js") + @Html.IncludeScript("jquery.cookie.js") + @Html.IncludeScript("doTimeout.js") + @Html.IncludeScript("conditional-validation.js") + + @Html.IncludeScript("NzbDrone/localSearch.js") + @Html.IncludeScript("NzbDrone/AutoComplete.js") + @Html.IncludeScript("NzbDrone/Notification.js") + @Html.IncludeScript("NzbDrone/AutoBind.js") + @Html.IncludeScript("NzbDrone/grid.js") + @Html.IncludeScript("DataTables-1.9.0/media/js/jquery.dataTables.min.js") + @Html.IncludeScript("DataTables-1.9.0/media/js/jquery.dataTables.reloadAjax.js") + @Html.IncludeScript("DataTables-1.9.0/media/js/jquery.dataTables.editable.js") + @Html.IncludeScript("DataTables-1.9.0/media/js/jquery.jeditable.js") + @Html.IncludeScript("jquery.dataTables.4button.pagination.js") + @RenderSection("Scripts", required: false) + \ No newline at end of file