Feature: New Theme

New icon, theme, and fuzzy time. Add moment.js
This commit is contained in:
Gary Sharp
2013-12-24 14:15:07 +11:00
parent ec118a3395
commit f1ee2937cd
216 changed files with 7816 additions and 1948 deletions
+138 -150
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.
@@ -26,6 +26,7 @@ namespace Disco.Web.Views.Shared
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using Disco;
using Disco.BI.Extensions;
using Disco.Models.Repository;
using Disco.Services.Authorization;
@@ -64,7 +65,9 @@ WriteLiteral("</title>\r\n <link");
WriteLiteral(" rel=\"shortcut icon\"");
WriteLiteral(" href=\"/favicon.ico\"");
WriteLiteral(" type=\"image/x-icon\"");
WriteLiteral(" href=\"/favicon.ico?v=20131224c\"");
WriteLiteral(" />\r\n <meta");
@@ -116,110 +119,25 @@ WriteLiteral(" class=\"page\"");
WriteLiteral(">\r\n <header>\r\n <div");
WriteLiteral(" class=\"clearfix\"");
WriteLiteral(">\r\n <div");
WriteLiteral(" id=\"heading\"");
WriteLiteral(">\r\n <a");
WriteLiteral(">\r\n <a");
WriteAttribute("href", Tuple.Create(" href=\"", 688), Tuple.Create("\"", 723)
WriteAttribute("href", Tuple.Create(" href=\"", 676), Tuple.Create("\"", 711)
#line 21 "..\..\Views\Shared\_Layout.cshtml"
, Tuple.Create(Tuple.Create("", 695), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Job.Index())
#line 20 "..\..\Views\Shared\_Layout.cshtml"
, Tuple.Create(Tuple.Create("", 683), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Job.Index())
#line default
#line hidden
, 695), false)
, 683), false)
);
WriteLiteral(">\r\n <img");
WriteLiteral("><i");
WriteAttribute("src", Tuple.Create(" src=\"", 755), Tuple.Create("\"", 805)
#line 22 "..\..\Views\Shared\_Layout.cshtml"
, Tuple.Create(Tuple.Create("", 761), Tuple.Create<System.Object, System.Int32>(Links.ClientSource.Style.Images.Heading_png
#line default
#line hidden
, 761), false)
);
WriteLiteral(" title=\"Disco - ICT Management\"");
WriteLiteral(" alt=\"DISCO - ICT Asset Management\"");
WriteLiteral(" /></a>\r\n </div>\r\n <div");
WriteLiteral(" id=\"headerMenu\"");
WriteLiteral(">\r\n <span>Welcome ");
#line 25 "..\..\Views\Shared\_Layout.cshtml"
if (Authorization.Has(Claims.User.Show))
{
#line default
#line hidden
#line 26 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink(CurrentUser.ToString(), MVC.User.Show(CurrentUser.Id)));
#line default
#line hidden
#line 26 "..\..\Views\Shared\_Layout.cshtml"
}
else
{
#line default
#line hidden
#line 28 "..\..\Views\Shared\_Layout.cshtml"
Write(CurrentUser.ToString());
#line default
#line hidden
#line 28 "..\..\Views\Shared\_Layout.cshtml"
}
#line default
#line hidden
WriteLiteral("</span>\r\n");
#line 29 "..\..\Views\Shared\_Layout.cshtml"
#line default
#line hidden
#line 29 "..\..\Views\Shared\_Layout.cshtml"
using (Html.BeginForm(MVC.Search.Query(), FormMethod.Get))
{
#line default
#line hidden
#line 30 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.TextBox("term", null, new { accesskey = "s" }));
#line default
#line hidden
#line 30 "..\..\Views\Shared\_Layout.cshtml"
}
#line default
#line hidden
WriteLiteral(" </div>\r\n </div>\r\n <nav>\r\n <u" +
"l");
WriteLiteral("></i></a>\r\n </div>\r\n <nav>\r\n <ul");
WriteLiteral(" id=\"menu\"");
@@ -230,7 +148,7 @@ WriteLiteral(" class=\"hasSubMenu\"");
WriteLiteral(">");
#line 35 "..\..\Views\Shared\_Layout.cshtml"
#line 24 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Jobs", MVC.Job.Index(), accesskey: "1"));
@@ -243,13 +161,13 @@ WriteLiteral(" class=\"subMenu\"");
WriteLiteral(">\r\n");
#line 37 "..\..\Views\Shared\_Layout.cshtml"
#line 26 "..\..\Views\Shared\_Layout.cshtml"
#line default
#line hidden
#line 37 "..\..\Views\Shared\_Layout.cshtml"
#line 26 "..\..\Views\Shared\_Layout.cshtml"
if (Authorization.Has(Claims.Job.Lists.DevicesReadyForReturn))
{
@@ -259,7 +177,7 @@ WriteLiteral(">\r\n");
WriteLiteral(" <li>");
#line 39 "..\..\Views\Shared\_Layout.cshtml"
#line 28 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Devices Ready for Return", MVC.Job.DevicesReadyForReturn()));
@@ -268,7 +186,7 @@ WriteLiteral(" <li>");
WriteLiteral("</li>\r\n");
#line 40 "..\..\Views\Shared\_Layout.cshtml"
#line 29 "..\..\Views\Shared\_Layout.cshtml"
}
@@ -277,7 +195,7 @@ WriteLiteral("</li>\r\n");
WriteLiteral(" ");
#line 41 "..\..\Views\Shared\_Layout.cshtml"
#line 30 "..\..\Views\Shared\_Layout.cshtml"
if (Authorization.Has(Claims.Job.Lists.Locations))
{
@@ -287,7 +205,7 @@ WriteLiteral(" ");
WriteLiteral(" <li>");
#line 43 "..\..\Views\Shared\_Layout.cshtml"
#line 32 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Device Held Locations", MVC.Job.Locations()));
@@ -296,7 +214,7 @@ WriteLiteral(" <li>");
WriteLiteral("</li>\r\n");
#line 44 "..\..\Views\Shared\_Layout.cshtml"
#line 33 "..\..\Views\Shared\_Layout.cshtml"
}
@@ -305,7 +223,7 @@ WriteLiteral("</li>\r\n");
WriteLiteral(" ");
#line 45 "..\..\Views\Shared\_Layout.cshtml"
#line 34 "..\..\Views\Shared\_Layout.cshtml"
if (Authorization.Has(Claims.Job.Lists.AwaitingUserAction))
{
@@ -315,7 +233,7 @@ WriteLiteral(" ");
WriteLiteral(" <li>");
#line 47 "..\..\Views\Shared\_Layout.cshtml"
#line 36 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Awaiting User Action", MVC.Job.AwaitingUserAction()));
@@ -324,7 +242,7 @@ WriteLiteral(" <li>");
WriteLiteral("</li>\r\n");
#line 48 "..\..\Views\Shared\_Layout.cshtml"
#line 37 "..\..\Views\Shared\_Layout.cshtml"
}
@@ -333,7 +251,7 @@ WriteLiteral("</li>\r\n");
WriteLiteral(" ");
#line 49 "..\..\Views\Shared\_Layout.cshtml"
#line 38 "..\..\Views\Shared\_Layout.cshtml"
if (Authorization.Has(Claims.Job.Lists.AwaitingFinance))
{
if (Authorization.HasAny(Claims.Job.Lists.AwaitingFinanceCharge, Claims.Job.Lists.AwaitingFinancePayment, Claims.Job.Lists.AwaitingFinanceAgreementBreach, Claims.Job.Lists.AwaitingFinanceInsuranceProcessing))
@@ -349,7 +267,7 @@ WriteLiteral(" class=\"hasSubMenu\"");
WriteLiteral(">");
#line 53 "..\..\Views\Shared\_Layout.cshtml"
#line 42 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Awaiting Finance", MVC.Job.AwaitingFinance()));
@@ -362,13 +280,13 @@ WriteLiteral(" class=\"subMenu\"");
WriteLiteral(">\r\n");
#line 55 "..\..\Views\Shared\_Layout.cshtml"
#line 44 "..\..\Views\Shared\_Layout.cshtml"
#line default
#line hidden
#line 55 "..\..\Views\Shared\_Layout.cshtml"
#line 44 "..\..\Views\Shared\_Layout.cshtml"
if (Authorization.Has(Claims.Job.Lists.AwaitingFinanceCharge))
{
@@ -378,7 +296,7 @@ WriteLiteral(">\r\n");
WriteLiteral(" <li>");
#line 57 "..\..\Views\Shared\_Layout.cshtml"
#line 46 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Accounting Charge", MVC.Job.AwaitingFinanceCharge()));
@@ -387,7 +305,7 @@ WriteLiteral(" <li>");
WriteLiteral("</li>\r\n");
#line 58 "..\..\Views\Shared\_Layout.cshtml"
#line 47 "..\..\Views\Shared\_Layout.cshtml"
}
@@ -396,7 +314,7 @@ WriteLiteral("</li>\r\n");
WriteLiteral(" ");
#line 59 "..\..\Views\Shared\_Layout.cshtml"
#line 48 "..\..\Views\Shared\_Layout.cshtml"
if (Authorization.Has(Claims.Job.Lists.AwaitingFinancePayment))
{
@@ -406,7 +324,7 @@ WriteLiteral(" ");
WriteLiteral(" <li>");
#line 61 "..\..\Views\Shared\_Layout.cshtml"
#line 50 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Accounting Payment", MVC.Job.AwaitingFinancePayment()));
@@ -415,7 +333,7 @@ WriteLiteral(" <li>");
WriteLiteral("</li>\r\n");
#line 62 "..\..\Views\Shared\_Layout.cshtml"
#line 51 "..\..\Views\Shared\_Layout.cshtml"
}
@@ -424,7 +342,7 @@ WriteLiteral("</li>\r\n");
WriteLiteral(" ");
#line 63 "..\..\Views\Shared\_Layout.cshtml"
#line 52 "..\..\Views\Shared\_Layout.cshtml"
if (Authorization.Has(Claims.Job.Lists.AwaitingFinanceAgreementBreach))
{
@@ -434,7 +352,7 @@ WriteLiteral(" ");
WriteLiteral(" <li>");
#line 65 "..\..\Views\Shared\_Layout.cshtml"
#line 54 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Agreement Breach", MVC.Job.AwaitingFinanceAgreementBreach()));
@@ -443,7 +361,7 @@ WriteLiteral(" <li>");
WriteLiteral("</li>\r\n");
#line 66 "..\..\Views\Shared\_Layout.cshtml"
#line 55 "..\..\Views\Shared\_Layout.cshtml"
}
@@ -452,7 +370,7 @@ WriteLiteral("</li>\r\n");
WriteLiteral(" ");
#line 67 "..\..\Views\Shared\_Layout.cshtml"
#line 56 "..\..\Views\Shared\_Layout.cshtml"
if (Authorization.Has(Claims.Job.Lists.AwaitingFinanceInsuranceProcessing))
{
@@ -462,7 +380,7 @@ WriteLiteral(" ");
WriteLiteral(" <li>");
#line 69 "..\..\Views\Shared\_Layout.cshtml"
#line 58 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Insurance Processing", MVC.Job.AwaitingFinanceInsuranceProcessing()));
@@ -471,7 +389,7 @@ WriteLiteral(" <li>");
WriteLiteral("</li>\r\n");
#line 70 "..\..\Views\Shared\_Layout.cshtml"
#line 59 "..\..\Views\Shared\_Layout.cshtml"
}
@@ -481,7 +399,7 @@ WriteLiteral(" </ul>\r\n
"\n");
#line 73 "..\..\Views\Shared\_Layout.cshtml"
#line 62 "..\..\Views\Shared\_Layout.cshtml"
}
else
{
@@ -492,7 +410,7 @@ WriteLiteral(" </ul>\r\n
WriteLiteral(" <li>");
#line 76 "..\..\Views\Shared\_Layout.cshtml"
#line 65 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Awaiting Finance", MVC.Job.AwaitingFinance()));
@@ -501,7 +419,7 @@ WriteLiteral(" <li>");
WriteLiteral("</li>\r\n");
#line 77 "..\..\Views\Shared\_Layout.cshtml"
#line 66 "..\..\Views\Shared\_Layout.cshtml"
}
}
@@ -511,7 +429,7 @@ WriteLiteral("</li>\r\n");
WriteLiteral(" ");
#line 79 "..\..\Views\Shared\_Layout.cshtml"
#line 68 "..\..\Views\Shared\_Layout.cshtml"
if (Authorization.Has(Claims.Job.Lists.DevicesAwaitingRepair))
{
@@ -521,7 +439,7 @@ WriteLiteral(" ");
WriteLiteral(" <li>");
#line 81 "..\..\Views\Shared\_Layout.cshtml"
#line 70 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Awaiting Device Repair", MVC.Job.DevicesAwaitingRepair()));
@@ -530,7 +448,7 @@ WriteLiteral(" <li>");
WriteLiteral("</li>\r\n");
#line 82 "..\..\Views\Shared\_Layout.cshtml"
#line 71 "..\..\Views\Shared\_Layout.cshtml"
}
@@ -539,7 +457,7 @@ WriteLiteral("</li>\r\n");
WriteLiteral(" ");
#line 83 "..\..\Views\Shared\_Layout.cshtml"
#line 72 "..\..\Views\Shared\_Layout.cshtml"
if (Authorization.Has(Claims.Job.Lists.AllOpen))
{
@@ -549,7 +467,7 @@ WriteLiteral(" ");
WriteLiteral(" <li>");
#line 85 "..\..\Views\Shared\_Layout.cshtml"
#line 74 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("All Open", MVC.Job.AllOpen()));
@@ -558,7 +476,7 @@ WriteLiteral(" <li>");
WriteLiteral("</li>\r\n");
#line 86 "..\..\Views\Shared\_Layout.cshtml"
#line 75 "..\..\Views\Shared\_Layout.cshtml"
}
@@ -567,7 +485,7 @@ WriteLiteral("</li>\r\n");
WriteLiteral(" ");
#line 87 "..\..\Views\Shared\_Layout.cshtml"
#line 76 "..\..\Views\Shared\_Layout.cshtml"
if (Authorization.Has(Claims.Job.Lists.RecentlyClosed))
{
@@ -577,7 +495,7 @@ WriteLiteral(" ");
WriteLiteral(" <li>");
#line 89 "..\..\Views\Shared\_Layout.cshtml"
#line 78 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Recently Closed", MVC.Job.RecentlyClosed()));
@@ -586,7 +504,7 @@ WriteLiteral(" <li>");
WriteLiteral("</li>\r\n");
#line 90 "..\..\Views\Shared\_Layout.cshtml"
#line 79 "..\..\Views\Shared\_Layout.cshtml"
}
@@ -600,7 +518,7 @@ WriteLiteral(" class=\"sep\"");
WriteLiteral("></li>\r\n <li>");
#line 94 "..\..\Views\Shared\_Layout.cshtml"
#line 83 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Devices", MVC.Device.Index(), accesskey: "2"));
@@ -613,7 +531,7 @@ WriteLiteral(" class=\"sep\"");
WriteLiteral("></li>\r\n <li>");
#line 96 "..\..\Views\Shared\_Layout.cshtml"
#line 85 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Users", MVC.User.Index(), accesskey: "3"));
@@ -626,8 +544,8 @@ WriteLiteral(" class=\"moveRight\"");
WriteLiteral(">");
#line 97 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Public Reports", MVC.Public.Public.Index()));
#line 86 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Reports", MVC.Public.Public.Index()));
#line default
@@ -635,13 +553,13 @@ WriteLiteral(">");
WriteLiteral("</li>\r\n");
#line 98 "..\..\Views\Shared\_Layout.cshtml"
#line 87 "..\..\Views\Shared\_Layout.cshtml"
#line default
#line hidden
#line 98 "..\..\Views\Shared\_Layout.cshtml"
#line 87 "..\..\Views\Shared\_Layout.cshtml"
if (Authorization.Has(Claims.Config.Show))
{
@@ -657,7 +575,7 @@ WriteLiteral("></li>\r\n");
WriteLiteral(" <li>");
#line 101 "..\..\Views\Shared\_Layout.cshtml"
#line 90 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Configuration", MVC.Config.Config.Index(), accesskey: "0"));
@@ -666,20 +584,90 @@ WriteLiteral(" <li>");
WriteLiteral("</li>\r\n");
#line 102 "..\..\Views\Shared\_Layout.cshtml"
#line 91 "..\..\Views\Shared\_Layout.cshtml"
}
#line default
#line hidden
WriteLiteral(" </ul>\r\n </nav>\r\n </header>\r\n <div");
WriteLiteral(" </ul>\r\n </nav>\r\n <div");
WriteLiteral(" id=\"headerMenu\"");
WriteLiteral(">\r\n <span>");
#line 95 "..\..\Views\Shared\_Layout.cshtml"
if (Authorization.Has(Claims.User.Show))
{
#line default
#line hidden
#line 96 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink(CurrentUser.ToString(), MVC.User.Show(CurrentUser.Id)));
#line default
#line hidden
#line 96 "..\..\Views\Shared\_Layout.cshtml"
}
else
{
#line default
#line hidden
#line 98 "..\..\Views\Shared\_Layout.cshtml"
Write(CurrentUser.ToString());
#line default
#line hidden
#line 98 "..\..\Views\Shared\_Layout.cshtml"
}
#line default
#line hidden
WriteLiteral("</span>\r\n");
#line 99 "..\..\Views\Shared\_Layout.cshtml"
#line default
#line hidden
#line 99 "..\..\Views\Shared\_Layout.cshtml"
using (Html.BeginForm(MVC.Search.Query(), FormMethod.Get))
{
#line default
#line hidden
#line 100 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.TextBox("term", null, new { id="SearchQuery", accesskey = "s" }));
#line default
#line hidden
#line 100 "..\..\Views\Shared\_Layout.cshtml"
}
#line default
#line hidden
WriteLiteral(" </div>\r\n </header>\r\n <div");
WriteLiteral(" id=\"layout_PageHeading\"");
WriteLiteral(">");
#line 106 "..\..\Views\Shared\_Layout.cshtml"
#line 103 "..\..\Views\Shared\_Layout.cshtml"
Write(CommonHelpers.Breadcrumbs(ViewBag.Title ?? string.Empty));
@@ -694,7 +682,7 @@ WriteLiteral(">\r\n");
WriteLiteral(" ");
#line 108 "..\..\Views\Shared\_Layout.cshtml"
#line 105 "..\..\Views\Shared\_Layout.cshtml"
Write(RenderBody());
@@ -703,7 +691,7 @@ WriteLiteral(" ");
WriteLiteral("\r\n </section>\r\n <footer>\r\n Disco v");
#line 111 "..\..\Views\Shared\_Layout.cshtml"
#line 108 "..\..\Views\Shared\_Layout.cshtml"
Write(Disco.Web.DiscoApplication.Version);
@@ -714,7 +702,7 @@ WriteLiteral(" ");
WriteLiteral("@ ");
#line 111 "..\..\Views\Shared\_Layout.cshtml"
#line 108 "..\..\Views\Shared\_Layout.cshtml"
Write(Disco.Web.DiscoApplication.OrganisationName);
@@ -724,7 +712,7 @@ WriteLiteral(" | <a\r\n href=\"https://discoict.com.au/\" target=
"om.au</a> | ");
#line 112 "..\..\Views\Shared\_Layout.cshtml"
#line 109 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Credits", MVC.Public.Public.Credits()));
@@ -733,7 +721,7 @@ WriteLiteral(" | <a\r\n href=\"https://discoict.com.au/\" target=
WriteLiteral(" | ");
#line 112 "..\..\Views\Shared\_Layout.cshtml"
#line 109 "..\..\Views\Shared\_Layout.cshtml"
Write(Html.ActionLink("Licence", MVC.Public.Public.Licence()));
@@ -742,13 +730,13 @@ WriteLiteral(" | ");
WriteLiteral("\r\n </footer>\r\n </div>\r\n");
#line 115 "..\..\Views\Shared\_Layout.cshtml"
#line 112 "..\..\Views\Shared\_Layout.cshtml"
#line default
#line hidden
#line 115 "..\..\Views\Shared\_Layout.cshtml"
#line 112 "..\..\Views\Shared\_Layout.cshtml"
Disco.Services.Plugins.Features.UIExtension.UIExtensions.ExecuteExtensionResult(this);
#line default