Update: Additional UI Extension Hooks

This commit is contained in:
Gary Sharp
2013-04-30 12:35:27 +10:00
parent 849736d42e
commit b17ed91fb0
84 changed files with 810 additions and 137 deletions
+2 -1
View File
@@ -18,5 +18,6 @@
<section id="layout_Page">
@RenderBody()
</section>
@{ Disco.Services.Plugins.Features.UIExtension.UIExtensions.ExecuteExtensionResult(this); }
</body>
</html>
</html>
@@ -2,7 +2,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -31,9 +31,9 @@ namespace Disco.Web.Views.Shared
using Disco.Web;
using Disco.Web.Extensions;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.4.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/_DialogLayout.cshtml")]
public class DialogLayout : System.Web.Mvc.WebViewPage<dynamic>
public partial class DialogLayout : System.Web.Mvc.WebViewPage<dynamic>
{
public DialogLayout()
{
@@ -124,7 +124,21 @@ WriteLiteral(" ");
#line default
#line hidden
WriteLiteral("\r\n </section>\r\n</body>\r\n</html>");
WriteLiteral("\r\n </section>\r\n");
#line 21 "..\..\Views\Shared\_DialogLayout.cshtml"
#line default
#line hidden
#line 21 "..\..\Views\Shared\_DialogLayout.cshtml"
Disco.Services.Plugins.Features.UIExtension.UIExtensions.ExecuteExtensionResult(this);
#line default
#line hidden
WriteLiteral("\r\n</body>\r\n</html>\r\n");
}
}
@@ -17,5 +17,6 @@
<section id="layout_Page">
@RenderBody()
</section>
@{ Disco.Services.Plugins.Features.UIExtension.UIExtensions.ExecuteExtensionResult(this); }
</body>
</html>
@@ -2,7 +2,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -31,9 +31,9 @@ namespace Disco.Web.Views.Shared
using Disco.Web;
using Disco.Web.Extensions;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.4.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/_EmptyLayout.cshtml")]
public class EmptyLayout : System.Web.Mvc.WebViewPage<dynamic>
public partial class EmptyLayout : System.Web.Mvc.WebViewPage<dynamic>
{
public EmptyLayout()
{
@@ -123,7 +123,21 @@ WriteLiteral(" ");
#line default
#line hidden
WriteLiteral("\r\n </section>\r\n</body>\r\n</html>\r\n");
WriteLiteral("\r\n </section>\r\n");
#line 20 "..\..\Views\Shared\_EmptyLayout.cshtml"
#line default
#line hidden
#line 20 "..\..\Views\Shared\_EmptyLayout.cshtml"
Disco.Services.Plugins.Features.UIExtension.UIExtensions.ExecuteExtensionResult(this);
#line default
#line hidden
WriteLiteral("\r\n</body>\r\n</html>\r\n");
}
}
+2 -2
View File
@@ -5,7 +5,7 @@
<!doctype html>
<html>
<head>
<title>Disco - @CommonHelpers.BreadcrumbsTitle(ViewBag.Title)</title>
<title>Disco - @CommonHelpers.BreadcrumbsTitle(ViewBag.Title ?? string.Empty)</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="application-name" content="Disco" />
<meta name="msapplication-starturl" content="/" />
@@ -95,7 +95,7 @@
</script>
</nav>
</header>
<div id="layout_PageHeading">@CommonHelpers.Breadcrumbs(ViewBag.Title)</div>
<div id="layout_PageHeading">@CommonHelpers.Breadcrumbs(ViewBag.Title ?? string.Empty)</div>
<section id="layout_Page">
@RenderBody()
</section>
+9 -9
View File
@@ -2,7 +2,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -53,7 +53,7 @@ WriteLiteral("\r\n<!doctype html>\r\n<html>\r\n<head>\r\n <title>Disco - ");
#line 8 "..\..\Views\Shared\_Layout.cshtml"
Write(CommonHelpers.BreadcrumbsTitle(ViewBag.Title));
Write(CommonHelpers.BreadcrumbsTitle(ViewBag.Title ?? string.Empty));
#line default
@@ -122,26 +122,26 @@ WriteLiteral(" id=\"heading\"");
WriteLiteral(">\r\n <a");
WriteAttribute("href", Tuple.Create(" href=\"", 672), Tuple.Create("\"", 707)
WriteAttribute("href", Tuple.Create(" href=\"", 688), Tuple.Create("\"", 723)
#line 21 "..\..\Views\Shared\_Layout.cshtml"
, Tuple.Create(Tuple.Create("", 679), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Job.Index())
, Tuple.Create(Tuple.Create("", 695), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Job.Index())
#line default
#line hidden
, 679), false)
, 695), false)
);
WriteLiteral(">\r\n <img");
WriteAttribute("src", Tuple.Create(" src=\"", 739), Tuple.Create("\"", 789)
WriteAttribute("src", Tuple.Create(" src=\"", 755), Tuple.Create("\"", 805)
#line 22 "..\..\Views\Shared\_Layout.cshtml"
, Tuple.Create(Tuple.Create("", 745), Tuple.Create<System.Object, System.Int32>(Links.ClientSource.Style.Images.Heading_png
, Tuple.Create(Tuple.Create("", 761), Tuple.Create<System.Object, System.Int32>(Links.ClientSource.Style.Images.Heading_png
#line default
#line hidden
, 745), false)
, 761), false)
);
WriteLiteral(" alt=\"DISCO - ICT Asset Management\"");
@@ -419,7 +419,7 @@ WriteLiteral(">");
#line 98 "..\..\Views\Shared\_Layout.cshtml"
Write(CommonHelpers.Breadcrumbs(ViewBag.Title));
Write(CommonHelpers.Breadcrumbs(ViewBag.Title ?? string.Empty));
#line default