Bug Fix: MVC Layouts to Static

This commit is contained in:
Gary Sharp
2013-11-14 14:13:23 +11:00
parent fe00963cb0
commit 230b1af9f7
14 changed files with 34 additions and 49 deletions
@@ -1,4 +1,4 @@
@{
Layout = "~/Views/InitialConfig/_Layout.cshtml";
Layout = MVC.InitialConfig.Views._Layout;
Html.BundleDeferred("~/Style/InitialConfig");
}
@@ -2,7 +2,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -45,7 +45,7 @@ namespace Disco.Web.Views.InitialConfig
#line 1 "..\..\Views\InitialConfig\_ViewStart.cshtml"
Layout = "~/Views/InitialConfig/_Layout.cshtml";
Layout = MVC.InitialConfig.Views._Layout;
Html.BundleDeferred("~/Style/InitialConfig");
+1 -1
View File
@@ -2,7 +2,7 @@
@{
Authorization.Require(Claims.Job.Actions.Create);
Layout = "~/Views/Shared/_DialogLayout.cshtml";
Layout = MVC.Shared.Views._DialogLayout;
ViewBag.Title = Html.ToBreadcrumb("Jobs", MVC.Job.Index(), "Create");
}
<div id="createJob_Container">
+6 -6
View File
@@ -2,7 +2,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -47,7 +47,7 @@ namespace Disco.Web.Views.Job
Authorization.Require(Claims.Job.Actions.Create);
Layout = "~/Views/Shared/_DialogLayout.cshtml";
Layout = MVC.Shared.Views._DialogLayout;
ViewBag.Title = Html.ToBreadcrumb("Jobs", MVC.Job.Index(), "Create");
@@ -208,15 +208,15 @@ WriteLiteral(">\r\n");
#line hidden
WriteLiteral(" <div");
WriteAttribute("id", Tuple.Create(" id=\"", 1098), Tuple.Create("\"", 1129)
, Tuple.Create(Tuple.Create("", 1103), Tuple.Create("createJob_SubType_", 1103), true)
WriteAttribute("id", Tuple.Create(" id=\"", 1091), Tuple.Create("\"", 1122)
, Tuple.Create(Tuple.Create("", 1096), Tuple.Create("createJob_SubType_", 1096), true)
#line 28 "..\..\Views\Job\Create.cshtml"
, Tuple.Create(Tuple.Create("", 1121), Tuple.Create<System.Object, System.Int32>(jt.Id
, Tuple.Create(Tuple.Create("", 1114), Tuple.Create<System.Object, System.Int32>(jt.Id
#line default
#line hidden
, 1121), false)
, 1114), false)
);
WriteLiteral(" class=\"createJob_SubType\"");
+1 -1
View File
@@ -1,7 +1,7 @@
@model Disco.Web.Models.Update.IndexModel
@{
ViewBag.Title = "Disco Post-Update Configuration";
Layout = "~/Areas/Public/Views/Shared/_Layout.cshtml";
Layout = MVC.Shared.Views._PublicLayout;
Html.BundleDeferred("~/ClientScripts/Modules/Knockout");
Html.BundleDeferred("~/ClientScripts/Modules/jQuery-SignalR");
+2 -2
View File
@@ -2,7 +2,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -46,7 +46,7 @@ namespace Disco.Web.Views.Update
#line 2 "..\..\Views\Update\Index.cshtml"
ViewBag.Title = "Disco Post-Update Configuration";
Layout = "~/Areas/Public/Views/Shared/_Layout.cshtml";
Layout = MVC.Shared.Views._PublicLayout;
Html.BundleDeferred("~/ClientScripts/Modules/Knockout");
Html.BundleDeferred("~/ClientScripts/Modules/jQuery-SignalR");
+1 -1
View File
@@ -1,3 +1,3 @@
@{
Layout = "~/Views/Shared/_Layout.cshtml";
Layout = MVC.Shared.Views._Layout;
}
+2 -2
View File
@@ -2,7 +2,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -45,7 +45,7 @@ namespace Disco.Web.Views
#line 1 "..\..\Views\_ViewStart.cshtml"
Layout = "~/Views/Shared/_Layout.cshtml";
Layout = MVC.Shared.Views._Layout;
#line default