GIT: perform LF normalization

This commit is contained in:
Gary Sharp
2013-02-28 17:15:46 +11:00
parent 989f08a24d
commit 7d9be5620d
729 changed files with 300734 additions and 300712 deletions
+10 -10
View File
@@ -1,10 +1,10 @@
@model System.Web.Mvc.HandleErrorInfo
@{
ViewBag.Title = "Error";
}
<hgroup class="title">
<h1 class="error">Error.</h1>
<h2 class="error">An error occurred while processing your request.</h2>
</hgroup>
@model System.Web.Mvc.HandleErrorInfo
@{
ViewBag.Title = "Error";
}
<hgroup class="title">
<h1 class="error">Error.</h1>
<h2 class="error">An error occurred while processing your request.</h2>
</hgroup>
+68 -68
View File
@@ -1,68 +1,68 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Disco.Web.Views.Shared
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Routing;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using Disco.BI.Extensions;
using Disco.Models.Repository;
using Disco.Web;
using Disco.Web.Extensions;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/Error.cshtml")]
public class Error : System.Web.Mvc.WebViewPage<System.Web.Mvc.HandleErrorInfo>
{
public Error()
{
}
public override void Execute()
{
#line 3 "..\..\Views\Shared\Error.cshtml"
ViewBag.Title = "Error";
#line default
#line hidden
WriteLiteral("\r\n\r\n<hgroup");
WriteLiteral(" class=\"title\"");
WriteLiteral(">\r\n <h1");
WriteLiteral(" class=\"error\"");
WriteLiteral(">Error.</h1>\r\n <h2");
WriteLiteral(" class=\"error\"");
WriteLiteral(">An error occurred while processing your request.</h2>\r\n</hgroup>\r\n");
}
}
}
#pragma warning restore 1591
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Disco.Web.Views.Shared
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Routing;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using Disco.BI.Extensions;
using Disco.Models.Repository;
using Disco.Web;
using Disco.Web.Extensions;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/Error.cshtml")]
public class Error : System.Web.Mvc.WebViewPage<System.Web.Mvc.HandleErrorInfo>
{
public Error()
{
}
public override void Execute()
{
#line 3 "..\..\Views\Shared\Error.cshtml"
ViewBag.Title = "Error";
#line default
#line hidden
WriteLiteral("\r\n\r\n<hgroup");
WriteLiteral(" class=\"title\"");
WriteLiteral(">\r\n <h1");
WriteLiteral(" class=\"error\"");
WriteLiteral(">Error.</h1>\r\n <h2");
WriteLiteral(" class=\"error\"");
WriteLiteral(">An error occurred while processing your request.</h2>\r\n</hgroup>\r\n");
}
}
}
#pragma warning restore 1591
+21 -21
View File
@@ -1,22 +1,22 @@
@{
Html.BundleDeferred("~/Style/Dialog");
Html.BundleDeferred("~/Style/Site");
Html.BundleDeferred("~/ClientScripts/Core");
}
<!doctype html>
<html>
<head>
<title>Disco - @CommonHelpers.BreadcrumbsTitle(ViewBag.Title)</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="application-name" content="Disco" />
<meta name="msapplication-starturl" content="/" />
<meta name="msapplication-tooltip" content="Open Disco" />
@Html.BundleRenderDeferred()
@RenderSection("head", false)
</head>
<body class="layoutDialog">
<section id="layout_Page">
@RenderBody()
</section>
</body>
@{
Html.BundleDeferred("~/Style/Dialog");
Html.BundleDeferred("~/Style/Site");
Html.BundleDeferred("~/ClientScripts/Core");
}
<!doctype html>
<html>
<head>
<title>Disco - @CommonHelpers.BreadcrumbsTitle(ViewBag.Title)</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="application-name" content="Disco" />
<meta name="msapplication-starturl" content="/" />
<meta name="msapplication-tooltip" content="Open Disco" />
@Html.BundleRenderDeferred()
@RenderSection("head", false)
</head>
<body class="layoutDialog">
<section id="layout_Page">
@RenderBody()
</section>
</body>
</html>
+132 -132
View File
@@ -1,132 +1,132 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Disco.Web.Views.Shared
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Routing;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using Disco.BI.Extensions;
using Disco.Models.Repository;
using Disco.Web;
using Disco.Web.Extensions;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/_DialogLayout.cshtml")]
public class DialogLayout : System.Web.Mvc.WebViewPage<dynamic>
{
public DialogLayout()
{
}
public override void Execute()
{
#line 1 "..\..\Views\Shared\_DialogLayout.cshtml"
Html.BundleDeferred("~/Style/Dialog");
Html.BundleDeferred("~/Style/Site");
Html.BundleDeferred("~/ClientScripts/Core");
#line default
#line hidden
WriteLiteral("\r\n<!doctype html>\r\n<html>\r\n<head>\r\n <title>Disco - ");
#line 9 "..\..\Views\Shared\_DialogLayout.cshtml"
Write(CommonHelpers.BreadcrumbsTitle(ViewBag.Title));
#line default
#line hidden
WriteLiteral("</title>\r\n <link");
WriteLiteral(" rel=\"shortcut icon\"");
WriteLiteral(" href=\"/favicon.ico\"");
WriteLiteral(" />\r\n <meta");
WriteLiteral(" name=\"application-name\"");
WriteLiteral(" content=\"Disco\"");
WriteLiteral(" />\r\n <meta");
WriteLiteral(" name=\"msapplication-starturl\"");
WriteLiteral(" content=\"/\"");
WriteLiteral(" />\r\n <meta");
WriteLiteral(" name=\"msapplication-tooltip\"");
WriteLiteral(" content=\"Open Disco\"");
WriteLiteral(" />\r\n");
WriteLiteral(" ");
#line 14 "..\..\Views\Shared\_DialogLayout.cshtml"
Write(Html.BundleRenderDeferred());
#line default
#line hidden
WriteLiteral("\r\n");
WriteLiteral(" ");
#line 15 "..\..\Views\Shared\_DialogLayout.cshtml"
Write(RenderSection("head", false));
#line default
#line hidden
WriteLiteral("\r\n</head>\r\n<body");
WriteLiteral(" class=\"layoutDialog\"");
WriteLiteral(">\r\n <section");
WriteLiteral(" id=\"layout_Page\"");
WriteLiteral(">\r\n");
WriteLiteral(" ");
#line 19 "..\..\Views\Shared\_DialogLayout.cshtml"
Write(RenderBody());
#line default
#line hidden
WriteLiteral("\r\n </section>\r\n</body>\r\n</html>");
}
}
}
#pragma warning restore 1591
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Disco.Web.Views.Shared
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Routing;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using Disco.BI.Extensions;
using Disco.Models.Repository;
using Disco.Web;
using Disco.Web.Extensions;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/_DialogLayout.cshtml")]
public class DialogLayout : System.Web.Mvc.WebViewPage<dynamic>
{
public DialogLayout()
{
}
public override void Execute()
{
#line 1 "..\..\Views\Shared\_DialogLayout.cshtml"
Html.BundleDeferred("~/Style/Dialog");
Html.BundleDeferred("~/Style/Site");
Html.BundleDeferred("~/ClientScripts/Core");
#line default
#line hidden
WriteLiteral("\r\n<!doctype html>\r\n<html>\r\n<head>\r\n <title>Disco - ");
#line 9 "..\..\Views\Shared\_DialogLayout.cshtml"
Write(CommonHelpers.BreadcrumbsTitle(ViewBag.Title));
#line default
#line hidden
WriteLiteral("</title>\r\n <link");
WriteLiteral(" rel=\"shortcut icon\"");
WriteLiteral(" href=\"/favicon.ico\"");
WriteLiteral(" />\r\n <meta");
WriteLiteral(" name=\"application-name\"");
WriteLiteral(" content=\"Disco\"");
WriteLiteral(" />\r\n <meta");
WriteLiteral(" name=\"msapplication-starturl\"");
WriteLiteral(" content=\"/\"");
WriteLiteral(" />\r\n <meta");
WriteLiteral(" name=\"msapplication-tooltip\"");
WriteLiteral(" content=\"Open Disco\"");
WriteLiteral(" />\r\n");
WriteLiteral(" ");
#line 14 "..\..\Views\Shared\_DialogLayout.cshtml"
Write(Html.BundleRenderDeferred());
#line default
#line hidden
WriteLiteral("\r\n");
WriteLiteral(" ");
#line 15 "..\..\Views\Shared\_DialogLayout.cshtml"
Write(RenderSection("head", false));
#line default
#line hidden
WriteLiteral("\r\n</head>\r\n<body");
WriteLiteral(" class=\"layoutDialog\"");
WriteLiteral(">\r\n <section");
WriteLiteral(" id=\"layout_Page\"");
WriteLiteral(">\r\n");
WriteLiteral(" ");
#line 19 "..\..\Views\Shared\_DialogLayout.cshtml"
Write(RenderBody());
#line default
#line hidden
WriteLiteral("\r\n </section>\r\n</body>\r\n</html>");
}
}
}
#pragma warning restore 1591
+21 -21
View File
@@ -1,21 +1,21 @@
@{
Html.BundleDeferred("~/Style/Site");
Html.BundleDeferred("~/ClientScripts/Core");
}
<!doctype html>
<html>
<head>
<title>Disco - @CommonHelpers.BreadcrumbsTitle(ViewBag.Title)</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="application-name" content="Disco" />
<meta name="msapplication-starturl" content="/" />
<meta name="msapplication-tooltip" content="Open Disco" />
@Html.BundleRenderDeferred()
@RenderSection("head", false)
</head>
<body class="layoutEmpty">
<section id="layout_Page">
@RenderBody()
</section>
</body>
</html>
@{
Html.BundleDeferred("~/Style/Site");
Html.BundleDeferred("~/ClientScripts/Core");
}
<!doctype html>
<html>
<head>
<title>Disco - @CommonHelpers.BreadcrumbsTitle(ViewBag.Title)</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="application-name" content="Disco" />
<meta name="msapplication-starturl" content="/" />
<meta name="msapplication-tooltip" content="Open Disco" />
@Html.BundleRenderDeferred()
@RenderSection("head", false)
</head>
<body class="layoutEmpty">
<section id="layout_Page">
@RenderBody()
</section>
</body>
</html>
+131 -131
View File
@@ -1,131 +1,131 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Disco.Web.Views.Shared
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Routing;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using Disco.BI.Extensions;
using Disco.Models.Repository;
using Disco.Web;
using Disco.Web.Extensions;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/_EmptyLayout.cshtml")]
public class EmptyLayout : System.Web.Mvc.WebViewPage<dynamic>
{
public EmptyLayout()
{
}
public override void Execute()
{
#line 1 "..\..\Views\Shared\_EmptyLayout.cshtml"
Html.BundleDeferred("~/Style/Site");
Html.BundleDeferred("~/ClientScripts/Core");
#line default
#line hidden
WriteLiteral("\r\n<!doctype html>\r\n<html>\r\n<head>\r\n <title>Disco - ");
#line 8 "..\..\Views\Shared\_EmptyLayout.cshtml"
Write(CommonHelpers.BreadcrumbsTitle(ViewBag.Title));
#line default
#line hidden
WriteLiteral("</title>\r\n <link");
WriteLiteral(" rel=\"shortcut icon\"");
WriteLiteral(" href=\"/favicon.ico\"");
WriteLiteral(" />\r\n <meta");
WriteLiteral(" name=\"application-name\"");
WriteLiteral(" content=\"Disco\"");
WriteLiteral(" />\r\n <meta");
WriteLiteral(" name=\"msapplication-starturl\"");
WriteLiteral(" content=\"/\"");
WriteLiteral(" />\r\n <meta");
WriteLiteral(" name=\"msapplication-tooltip\"");
WriteLiteral(" content=\"Open Disco\"");
WriteLiteral(" />\r\n");
WriteLiteral(" ");
#line 13 "..\..\Views\Shared\_EmptyLayout.cshtml"
Write(Html.BundleRenderDeferred());
#line default
#line hidden
WriteLiteral("\r\n");
WriteLiteral(" ");
#line 14 "..\..\Views\Shared\_EmptyLayout.cshtml"
Write(RenderSection("head", false));
#line default
#line hidden
WriteLiteral("\r\n</head>\r\n<body");
WriteLiteral(" class=\"layoutEmpty\"");
WriteLiteral(">\r\n <section");
WriteLiteral(" id=\"layout_Page\"");
WriteLiteral(">\r\n");
WriteLiteral(" ");
#line 18 "..\..\Views\Shared\_EmptyLayout.cshtml"
Write(RenderBody());
#line default
#line hidden
WriteLiteral("\r\n </section>\r\n</body>\r\n</html>\r\n");
}
}
}
#pragma warning restore 1591
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Disco.Web.Views.Shared
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Routing;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using Disco.BI.Extensions;
using Disco.Models.Repository;
using Disco.Web;
using Disco.Web.Extensions;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/_EmptyLayout.cshtml")]
public class EmptyLayout : System.Web.Mvc.WebViewPage<dynamic>
{
public EmptyLayout()
{
}
public override void Execute()
{
#line 1 "..\..\Views\Shared\_EmptyLayout.cshtml"
Html.BundleDeferred("~/Style/Site");
Html.BundleDeferred("~/ClientScripts/Core");
#line default
#line hidden
WriteLiteral("\r\n<!doctype html>\r\n<html>\r\n<head>\r\n <title>Disco - ");
#line 8 "..\..\Views\Shared\_EmptyLayout.cshtml"
Write(CommonHelpers.BreadcrumbsTitle(ViewBag.Title));
#line default
#line hidden
WriteLiteral("</title>\r\n <link");
WriteLiteral(" rel=\"shortcut icon\"");
WriteLiteral(" href=\"/favicon.ico\"");
WriteLiteral(" />\r\n <meta");
WriteLiteral(" name=\"application-name\"");
WriteLiteral(" content=\"Disco\"");
WriteLiteral(" />\r\n <meta");
WriteLiteral(" name=\"msapplication-starturl\"");
WriteLiteral(" content=\"/\"");
WriteLiteral(" />\r\n <meta");
WriteLiteral(" name=\"msapplication-tooltip\"");
WriteLiteral(" content=\"Open Disco\"");
WriteLiteral(" />\r\n");
WriteLiteral(" ");
#line 13 "..\..\Views\Shared\_EmptyLayout.cshtml"
Write(Html.BundleRenderDeferred());
#line default
#line hidden
WriteLiteral("\r\n");
WriteLiteral(" ");
#line 14 "..\..\Views\Shared\_EmptyLayout.cshtml"
Write(RenderSection("head", false));
#line default
#line hidden
WriteLiteral("\r\n</head>\r\n<body");
WriteLiteral(" class=\"layoutEmpty\"");
WriteLiteral(">\r\n <section");
WriteLiteral(" id=\"layout_Page\"");
WriteLiteral(">\r\n");
WriteLiteral(" ");
#line 18 "..\..\Views\Shared\_EmptyLayout.cshtml"
Write(RenderBody());
#line default
#line hidden
WriteLiteral("\r\n </section>\r\n</body>\r\n</html>\r\n");
}
}
}
#pragma warning restore 1591
+26 -26
View File
@@ -1,27 +1,27 @@
@model Disco.Models.BI.Job.JobTableModel
@if (DiscoApplication.MultiSiteMode)
{
if (Model == null || Model.Items == null || Model.Items.Count == 0)
{
<span class="smallMessage">No Jobs Found</span>
}
else
{
var modelItems = Model.Items;
var modelItemsGrouped = modelItems.OrderBy(i => i.DeviceAddress).GroupBy(i => i.DeviceAddress);
foreach (var modelItemsGroup in modelItemsGrouped)
{
Model.Items = modelItemsGroup.ToList();
if (modelItemsGroup.Key != null)
{
<h3>
@modelItemsGroup.Key</h3>
}
@Html.Partial(MVC.Shared.Views._JobTableRender, Model, new ViewDataDictionary())
}
}
}
else
{
@Html.Partial(MVC.Shared.Views._JobTableRender, Model, new ViewDataDictionary())
@model Disco.Models.BI.Job.JobTableModel
@if (DiscoApplication.MultiSiteMode)
{
if (Model == null || Model.Items == null || Model.Items.Count == 0)
{
<span class="smallMessage">No Jobs Found</span>
}
else
{
var modelItems = Model.Items;
var modelItemsGrouped = modelItems.OrderBy(i => i.DeviceAddress).GroupBy(i => i.DeviceAddress);
foreach (var modelItemsGroup in modelItemsGrouped)
{
Model.Items = modelItemsGroup.ToList();
if (modelItemsGroup.Key != null)
{
<h3>
@modelItemsGroup.Key</h3>
}
@Html.Partial(MVC.Shared.Views._JobTableRender, Model, new ViewDataDictionary())
}
}
}
else
{
@Html.Partial(MVC.Shared.Views._JobTableRender, Model, new ViewDataDictionary())
}
+131 -131
View File
@@ -1,131 +1,131 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Disco.Web.Views.Shared
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Routing;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using Disco.BI.Extensions;
using Disco.Models.Repository;
using Disco.Web;
using Disco.Web.Extensions;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/_JobTable.cshtml")]
public class JobTable : System.Web.Mvc.WebViewPage<Disco.Models.BI.Job.JobTableModel>
{
public JobTable()
{
}
public override void Execute()
{
#line 2 "..\..\Views\Shared\_JobTable.cshtml"
if (DiscoApplication.MultiSiteMode)
{
if (Model == null || Model.Items == null || Model.Items.Count == 0)
{
#line default
#line hidden
WriteLiteral(" <span");
WriteLiteral(" class=\"smallMessage\"");
WriteLiteral(">No Jobs Found</span>\r\n");
#line 7 "..\..\Views\Shared\_JobTable.cshtml"
}
else
{
var modelItems = Model.Items;
var modelItemsGrouped = modelItems.OrderBy(i => i.DeviceAddress).GroupBy(i => i.DeviceAddress);
foreach (var modelItemsGroup in modelItemsGrouped)
{
Model.Items = modelItemsGroup.ToList();
if (modelItemsGroup.Key != null)
{
#line default
#line hidden
WriteLiteral(" <h3>\r\n");
WriteLiteral(" ");
#line 18 "..\..\Views\Shared\_JobTable.cshtml"
Write(modelItemsGroup.Key);
#line default
#line hidden
WriteLiteral("</h3>\r\n");
#line 19 "..\..\Views\Shared\_JobTable.cshtml"
}
#line default
#line hidden
#line 20 "..\..\Views\Shared\_JobTable.cshtml"
Write(Html.Partial(MVC.Shared.Views._JobTableRender, Model, new ViewDataDictionary()));
#line default
#line hidden
#line 20 "..\..\Views\Shared\_JobTable.cshtml"
}
}
}
else
{
#line default
#line hidden
#line 26 "..\..\Views\Shared\_JobTable.cshtml"
Write(Html.Partial(MVC.Shared.Views._JobTableRender, Model, new ViewDataDictionary()));
#line default
#line hidden
#line 26 "..\..\Views\Shared\_JobTable.cshtml"
}
#line default
#line hidden
}
}
}
#pragma warning restore 1591
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Disco.Web.Views.Shared
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Routing;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using Disco.BI.Extensions;
using Disco.Models.Repository;
using Disco.Web;
using Disco.Web.Extensions;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/_JobTable.cshtml")]
public class JobTable : System.Web.Mvc.WebViewPage<Disco.Models.BI.Job.JobTableModel>
{
public JobTable()
{
}
public override void Execute()
{
#line 2 "..\..\Views\Shared\_JobTable.cshtml"
if (DiscoApplication.MultiSiteMode)
{
if (Model == null || Model.Items == null || Model.Items.Count == 0)
{
#line default
#line hidden
WriteLiteral(" <span");
WriteLiteral(" class=\"smallMessage\"");
WriteLiteral(">No Jobs Found</span>\r\n");
#line 7 "..\..\Views\Shared\_JobTable.cshtml"
}
else
{
var modelItems = Model.Items;
var modelItemsGrouped = modelItems.OrderBy(i => i.DeviceAddress).GroupBy(i => i.DeviceAddress);
foreach (var modelItemsGroup in modelItemsGrouped)
{
Model.Items = modelItemsGroup.ToList();
if (modelItemsGroup.Key != null)
{
#line default
#line hidden
WriteLiteral(" <h3>\r\n");
WriteLiteral(" ");
#line 18 "..\..\Views\Shared\_JobTable.cshtml"
Write(modelItemsGroup.Key);
#line default
#line hidden
WriteLiteral("</h3>\r\n");
#line 19 "..\..\Views\Shared\_JobTable.cshtml"
}
#line default
#line hidden
#line 20 "..\..\Views\Shared\_JobTable.cshtml"
Write(Html.Partial(MVC.Shared.Views._JobTableRender, Model, new ViewDataDictionary()));
#line default
#line hidden
#line 20 "..\..\Views\Shared\_JobTable.cshtml"
}
}
}
else
{
#line default
#line hidden
#line 26 "..\..\Views\Shared\_JobTable.cshtml"
Write(Html.Partial(MVC.Shared.Views._JobTableRender, Model, new ViewDataDictionary()));
#line default
#line hidden
#line 26 "..\..\Views\Shared\_JobTable.cshtml"
}
#line default
#line hidden
}
}
}
#pragma warning restore 1591
+108 -108
View File
@@ -1,108 +1,108 @@
@model Disco.Models.BI.Job.JobTableModel
@{
Html.BundleDeferred("~/ClientScripts/Modules/Disco-DataTableHelpers");
}
<div class="jobTable">
@if (Model != null && Model.Items.Count() > 0)
{
<table class="jobTable@(Model.IsSmallTable ? " smallTable" : string.Empty)@(Model.HideClosedJobs ? " hideStatusClosed" : string.Empty)">
<thead>
<tr>
@if (Model.ShowId)
{ <th class="id">
Ref
</th> }
@if (Model.ShowStatus)
{ <th class="status">
Status
</th> }
@if (Model.ShowDates)
{ <th class="dates">
Dates
</th> }
@if (Model.ShowType)
{ <th class="type">
Type
</th> }
@if (Model.ShowDevice)
{<th class="device">
Device
</th> }
@if (Model.ShowUser)
{ <th class="user">
User
</th> }
@if (Model.ShowTechnician)
{ <th class="technician">
Technician
</th> }
@if (Model.ShowLocation)
{ <th class="location">
Location
</th> }
</tr>
</thead>
<tbody>
@foreach (var item in Model.Items)
{
<tr data-id="@(item.Id)" data-status="@(Model.ShowStatus ? item.StatusId : null)">
@if (Model.ShowId)
{ <td class="id">
@Html.ActionLink(item.Id.ToString(), MVC.Job.Show(item.Id))
</td> }
@if (Model.ShowStatus)
{ <td class="status">
<span class="icon JobStatus@(item.StatusId)"></span>
@item.StatusDescription
</td> }
@if (Model.ShowDates)
{ <td class="dates">
@CommonHelpers.FriendlyDate(item.OpenedDate)
- @CommonHelpers.FriendlyDate(item.ClosedDate)
</td>}
@if (Model.ShowType)
{ <td class="type">
<span title="@item.TypeDescription">@item.TypeId</span>
</td>}
@if (Model.ShowDevice)
{ <td class="device">
@if (item.DeviceSerialNumber != null)
{
@Html.ActionLink(item.DeviceSerialNumber, MVC.Device.Show(item.DeviceSerialNumber), new { Title = item.DeviceModelDescription })
}
else
{
<span class="smallMessage">N/A</span>
}
</td> }
@if (Model.ShowUser)
{<td class="user">
@if (item.UserId != null)
{
@Html.ActionLink(string.Format("{0} ({1})", item.UserDisplayName, item.UserId), MVC.User.Show(item.UserId))
}
else
{
<span class="smallMessage">N/A</span>
}
</td>}
@if (Model.ShowTechnician)
{ <td class="technician">
<span title="@item.OpenedTechUserDisplayName">@item.OpenedTechUserId
</span>
</td>}
@if (Model.ShowLocation)
{ <td class="technician">
<span>@(item.Location ?? "Unknown")
</span>
</td>}
</tr>
}
</tbody>
</table>
}
else
{
<span class="smallMessage">No Jobs Found</span>
}
</div>
@model Disco.Models.BI.Job.JobTableModel
@{
Html.BundleDeferred("~/ClientScripts/Modules/Disco-DataTableHelpers");
}
<div class="jobTable">
@if (Model != null && Model.Items.Count() > 0)
{
<table class="jobTable@(Model.IsSmallTable ? " smallTable" : string.Empty)@(Model.HideClosedJobs ? " hideStatusClosed" : string.Empty)">
<thead>
<tr>
@if (Model.ShowId)
{ <th class="id">
Ref
</th> }
@if (Model.ShowStatus)
{ <th class="status">
Status
</th> }
@if (Model.ShowDates)
{ <th class="dates">
Dates
</th> }
@if (Model.ShowType)
{ <th class="type">
Type
</th> }
@if (Model.ShowDevice)
{<th class="device">
Device
</th> }
@if (Model.ShowUser)
{ <th class="user">
User
</th> }
@if (Model.ShowTechnician)
{ <th class="technician">
Technician
</th> }
@if (Model.ShowLocation)
{ <th class="location">
Location
</th> }
</tr>
</thead>
<tbody>
@foreach (var item in Model.Items)
{
<tr data-id="@(item.Id)" data-status="@(Model.ShowStatus ? item.StatusId : null)">
@if (Model.ShowId)
{ <td class="id">
@Html.ActionLink(item.Id.ToString(), MVC.Job.Show(item.Id))
</td> }
@if (Model.ShowStatus)
{ <td class="status">
<span class="icon JobStatus@(item.StatusId)"></span>
@item.StatusDescription
</td> }
@if (Model.ShowDates)
{ <td class="dates">
@CommonHelpers.FriendlyDate(item.OpenedDate)
- @CommonHelpers.FriendlyDate(item.ClosedDate)
</td>}
@if (Model.ShowType)
{ <td class="type">
<span title="@item.TypeDescription">@item.TypeId</span>
</td>}
@if (Model.ShowDevice)
{ <td class="device">
@if (item.DeviceSerialNumber != null)
{
@Html.ActionLink(item.DeviceSerialNumber, MVC.Device.Show(item.DeviceSerialNumber), new { Title = item.DeviceModelDescription })
}
else
{
<span class="smallMessage">N/A</span>
}
</td> }
@if (Model.ShowUser)
{<td class="user">
@if (item.UserId != null)
{
@Html.ActionLink(string.Format("{0} ({1})", item.UserDisplayName, item.UserId), MVC.User.Show(item.UserId))
}
else
{
<span class="smallMessage">N/A</span>
}
</td>}
@if (Model.ShowTechnician)
{ <td class="technician">
<span title="@item.OpenedTechUserDisplayName">@item.OpenedTechUserId
</span>
</td>}
@if (Model.ShowLocation)
{ <td class="technician">
<span>@(item.Location ?? "Unknown")
</span>
</td>}
</tr>
}
</tbody>
</table>
}
else
{
<span class="smallMessage">No Jobs Found</span>
}
</div>
File diff suppressed because it is too large Load Diff
+34 -34
View File
@@ -1,35 +1,35 @@
@model string
@using (Html.BeginForm(MVC.Search.Query(), FormMethod.Get))
{
@Html.ValidationSummary(true)
<div id="searchDialog" class="form" style="width: 450px">
<table>
<tr>
<th>
Query:
</th>
<td>
@Html.TextBox("term")
@if (Model != null)
{
@Html.Hidden("limit", Model)
if (Model == "jobs")
{
<br />
<input type="checkbox" name="searchDetails" id="searchDetails" value="true" /><label
for="searchDetails">Search Details</label>
}
}
</td>
</tr>
</table>
<p class="actions">
<input type="submit" class="button" value="Search" />
</p>
<script type="text/javascript">
$(function () {
$('#searchDialog').find('#term').watermark('Search').focus();
});
</script>
</div>
@model string
@using (Html.BeginForm(MVC.Search.Query(), FormMethod.Get))
{
@Html.ValidationSummary(true)
<div id="searchDialog" class="form" style="width: 450px">
<table>
<tr>
<th>
Query:
</th>
<td>
@Html.TextBox("term")
@if (Model != null)
{
@Html.Hidden("limit", Model)
if (Model == "jobs")
{
<br />
<input type="checkbox" name="searchDetails" id="searchDetails" value="true" /><label
for="searchDetails">Search Details</label>
}
}
</td>
</tr>
</table>
<p class="actions">
<input type="submit" class="button" value="Search" />
</p>
<script type="text/javascript">
$(function () {
$('#searchDialog').find('#term').watermark('Search').focus();
});
</script>
</div>
}
+169 -169
View File
@@ -1,169 +1,169 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Disco.Web.Views.Shared
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Routing;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using Disco.BI.Extensions;
using Disco.Models.Repository;
using Disco.Web;
using Disco.Web.Extensions;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/_SearchDialog.cshtml")]
public class SearchDialog : System.Web.Mvc.WebViewPage<string>
{
public SearchDialog()
{
}
public override void Execute()
{
#line 2 "..\..\Views\Shared\_SearchDialog.cshtml"
using (Html.BeginForm(MVC.Search.Query(), FormMethod.Get))
{
#line default
#line hidden
#line 4 "..\..\Views\Shared\_SearchDialog.cshtml"
Write(Html.ValidationSummary(true));
#line default
#line hidden
#line 4 "..\..\Views\Shared\_SearchDialog.cshtml"
#line default
#line hidden
WriteLiteral(" <div");
WriteLiteral(" id=\"searchDialog\"");
WriteLiteral(" class=\"form\"");
WriteLiteral(" style=\"width: 450px\"");
WriteLiteral(">\r\n <table>\r\n <tr>\r\n <th>\r\n Q" +
"uery:\r\n </th>\r\n <td>\r\n");
WriteLiteral(" ");
#line 12 "..\..\Views\Shared\_SearchDialog.cshtml"
Write(Html.TextBox("term"));
#line default
#line hidden
WriteLiteral("\r\n");
#line 13 "..\..\Views\Shared\_SearchDialog.cshtml"
#line default
#line hidden
#line 13 "..\..\Views\Shared\_SearchDialog.cshtml"
if (Model != null)
{
#line default
#line hidden
#line 15 "..\..\Views\Shared\_SearchDialog.cshtml"
Write(Html.Hidden("limit", Model));
#line default
#line hidden
#line 15 "..\..\Views\Shared\_SearchDialog.cshtml"
if (Model == "jobs")
{
#line default
#line hidden
WriteLiteral(" <br />\r\n");
WriteLiteral(" <input");
WriteLiteral(" type=\"checkbox\"");
WriteLiteral(" name=\"searchDetails\"");
WriteLiteral(" id=\"searchDetails\"");
WriteLiteral(" value=\"true\"");
WriteLiteral(" />");
WriteLiteral("<label\r\n for=\"searchDetails\">Search Details</label>\r\n");
#line 21 "..\..\Views\Shared\_SearchDialog.cshtml"
}
}
#line default
#line hidden
WriteLiteral(" </td>\r\n </tr>\r\n </table>\r\n <p");
WriteLiteral(" class=\"actions\"");
WriteLiteral(">\r\n <input");
WriteLiteral(" type=\"submit\"");
WriteLiteral(" class=\"button\"");
WriteLiteral(" value=\"Search\"");
WriteLiteral(" />\r\n </p>\r\n <script");
WriteLiteral(" type=\"text/javascript\"");
WriteLiteral(">\r\n $(function () {\r\n $(\'#searchDialog\').find(\'#term\')." +
"watermark(\'Search\').focus();\r\n });\r\n </script>\r\n </div>\r\n");
#line 35 "..\..\Views\Shared\_SearchDialog.cshtml"
}
#line default
#line hidden
}
}
}
#pragma warning restore 1591
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Disco.Web.Views.Shared
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Mvc.Html;
using System.Web.Routing;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using Disco.BI.Extensions;
using Disco.Models.Repository;
using Disco.Web;
using Disco.Web.Extensions;
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/_SearchDialog.cshtml")]
public class SearchDialog : System.Web.Mvc.WebViewPage<string>
{
public SearchDialog()
{
}
public override void Execute()
{
#line 2 "..\..\Views\Shared\_SearchDialog.cshtml"
using (Html.BeginForm(MVC.Search.Query(), FormMethod.Get))
{
#line default
#line hidden
#line 4 "..\..\Views\Shared\_SearchDialog.cshtml"
Write(Html.ValidationSummary(true));
#line default
#line hidden
#line 4 "..\..\Views\Shared\_SearchDialog.cshtml"
#line default
#line hidden
WriteLiteral(" <div");
WriteLiteral(" id=\"searchDialog\"");
WriteLiteral(" class=\"form\"");
WriteLiteral(" style=\"width: 450px\"");
WriteLiteral(">\r\n <table>\r\n <tr>\r\n <th>\r\n Q" +
"uery:\r\n </th>\r\n <td>\r\n");
WriteLiteral(" ");
#line 12 "..\..\Views\Shared\_SearchDialog.cshtml"
Write(Html.TextBox("term"));
#line default
#line hidden
WriteLiteral("\r\n");
#line 13 "..\..\Views\Shared\_SearchDialog.cshtml"
#line default
#line hidden
#line 13 "..\..\Views\Shared\_SearchDialog.cshtml"
if (Model != null)
{
#line default
#line hidden
#line 15 "..\..\Views\Shared\_SearchDialog.cshtml"
Write(Html.Hidden("limit", Model));
#line default
#line hidden
#line 15 "..\..\Views\Shared\_SearchDialog.cshtml"
if (Model == "jobs")
{
#line default
#line hidden
WriteLiteral(" <br />\r\n");
WriteLiteral(" <input");
WriteLiteral(" type=\"checkbox\"");
WriteLiteral(" name=\"searchDetails\"");
WriteLiteral(" id=\"searchDetails\"");
WriteLiteral(" value=\"true\"");
WriteLiteral(" />");
WriteLiteral("<label\r\n for=\"searchDetails\">Search Details</label>\r\n");
#line 21 "..\..\Views\Shared\_SearchDialog.cshtml"
}
}
#line default
#line hidden
WriteLiteral(" </td>\r\n </tr>\r\n </table>\r\n <p");
WriteLiteral(" class=\"actions\"");
WriteLiteral(">\r\n <input");
WriteLiteral(" type=\"submit\"");
WriteLiteral(" class=\"button\"");
WriteLiteral(" value=\"Search\"");
WriteLiteral(" />\r\n </p>\r\n <script");
WriteLiteral(" type=\"text/javascript\"");
WriteLiteral(">\r\n $(function () {\r\n $(\'#searchDialog\').find(\'#term\')." +
"watermark(\'Search\').focus();\r\n });\r\n </script>\r\n </div>\r\n");
#line 35 "..\..\Views\Shared\_SearchDialog.cshtml"
}
#line default
#line hidden
}
}
}
#pragma warning restore 1591