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
@@ -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.Areas.Config.Views.SystemConfig
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;
@@ -92,7 +93,7 @@ WriteLiteral(">\r\n Built ");
#line 19 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Model.DiscoVersionBuilt.ToFuzzy("Unknown"));
Write(CommonHelpers.FriendlyDate(Model.DiscoVersionBuilt, "Unknown"));
#line default
@@ -203,9 +204,7 @@ WriteLiteral(">");
#line default
#line hidden
WriteLiteral("</span>\r\n ");
WriteLiteral("\r\n </td>\r\n </tr>\r\n </table>\r\n</div>\r\n<div");
WriteLiteral("</span>\r\n </td>\r\n </tr>\r\n </table>\r\n</div>\r\n<div");
WriteLiteral(" class=\"form\"");
@@ -214,13 +213,13 @@ WriteLiteral(" style=\"width: 450px; margin-top: 15px;\"");
WriteLiteral(">\r\n <h2>Updates</h2>\r\n <table>\r\n");
#line 65 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 63 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line default
#line hidden
#line 65 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 63 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
if (Model.UpdateLatestResponse == null)
{
@@ -246,7 +245,7 @@ WriteLiteral(" style=\"margin-right: 6px;\"");
WriteLiteral("></span>Never</div>\r\n </td>\r\n </tr>\r\n");
#line 75 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 73 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
}
else
{
@@ -262,7 +261,7 @@ WriteLiteral(">Last Run:\r\n </th>\r\n <td>\r\n
"n>");
#line 82 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 80 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(CommonHelpers.FriendlyDate(Model.UpdateLatestResponse.ResponseTimestamp));
@@ -271,7 +270,7 @@ WriteLiteral(">Last Run:\r\n </th>\r\n <td>\r\n
WriteLiteral("</span>\r\n </td>\r\n </tr>\r\n");
#line 85 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 83 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
if (Model.UpdateLatestResponse.IsUpdatable(typeof(DiscoApplication).Assembly.GetName().Version))
{
@@ -292,7 +291,7 @@ WriteLiteral(" style=\"margin-right: 6px;\"");
WriteLiteral("></span>Version ");
#line 92 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 90 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Model.UpdateLatestResponse.Version);
@@ -305,7 +304,7 @@ WriteLiteral(" class=\"smallMessage\"");
WriteLiteral(">\r\n [Released ");
#line 95 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 93 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(CommonHelpers.FriendlyDate(Model.UpdateLatestResponse.VersionReleasedTimestamp));
@@ -318,7 +317,7 @@ WriteLiteral(" class=\"smallMessage\"");
WriteLiteral(">");
#line 97 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 95 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(new HtmlString(Model.UpdateLatestResponse.Blurb));
@@ -326,14 +325,14 @@ WriteLiteral(">");
#line hidden
WriteLiteral("</div>\r\n <a");
WriteAttribute("href", Tuple.Create(" href=\"", 3813), Tuple.Create("\"", 3857)
WriteAttribute("href", Tuple.Create(" href=\"", 3670), Tuple.Create("\"", 3714)
#line 98 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
, Tuple.Create(Tuple.Create("", 3820), Tuple.Create<System.Object, System.Int32>(Model.UpdateLatestResponse.UrlLink
#line 96 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
, Tuple.Create(Tuple.Create("", 3677), Tuple.Create<System.Object, System.Int32>(Model.UpdateLatestResponse.UrlLink
#line default
#line hidden
, 3820), false)
, 3677), false)
);
WriteLiteral(" target=\"_blank\"");
@@ -341,7 +340,7 @@ WriteLiteral(" target=\"_blank\"");
WriteLiteral(">Download Now</a>\r\n </td>\r\n </tr>\r\n");
#line 101 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 99 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
}
else
{
@@ -363,7 +362,7 @@ WriteLiteral("></span><span>The latest version is installed</span>\r\n
" </tr>\r\n");
#line 111 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 109 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
}
}
@@ -377,7 +376,7 @@ WriteLiteral(" style=\"width: 135px\"");
WriteLiteral(">Check for Update:");
#line 115 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 113 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
if (Model.UpdateBetaDeployment)
{
@@ -398,7 +397,7 @@ WriteLiteral(" style=\"margin-right: 6px;\"");
WriteLiteral("></span>Beta Deployment</div>\r\n");
#line 119 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 117 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
}
@@ -407,13 +406,13 @@ WriteLiteral("></span>Beta Deployment</div>\r\n");
WriteLiteral("\r\n </th>\r\n <td>\r\n");
#line 123 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 121 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line default
#line hidden
#line 123 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 121 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
if (Model.UpdateRunningStatus == null)
{
@@ -424,7 +423,7 @@ WriteLiteral("\r\n </th>\r\n <td>\r\n");
WriteLiteral(" <div>");
#line 126 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 124 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Html.ActionLink("Check Now", MVC.API.System.UpdateCheck()));
@@ -433,7 +432,7 @@ WriteLiteral(" <div>");
WriteLiteral("</div>\r\n");
#line 127 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 125 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
}
else
{
@@ -444,7 +443,7 @@ WriteLiteral("</div>\r\n");
WriteLiteral(" <div>Running now - ");
#line 130 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 128 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Html.ActionLink("Check Status", MVC.Config.Logging.TaskStatus(Model.UpdateRunningStatus.SessionId)));
@@ -453,7 +452,7 @@ WriteLiteral(" <div>Running now - ");
WriteLiteral("</div>\r\n");
#line 131 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 129 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
}
@@ -466,7 +465,7 @@ WriteLiteral(" class=\"smallMessage\"");
WriteLiteral(">\r\n Next Scheduled: ");
#line 134 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 132 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(CommonHelpers.FriendlyDate(Model.UpdateNextScheduled, "Unknown"));
@@ -476,7 +475,7 @@ WriteLiteral("\r\n </div>\r\n </td>\r\n </tr>\r
"\n");
#line 140 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 138 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
if (canConfigProxy)
{
using (Html.BeginForm())
@@ -501,7 +500,7 @@ WriteLiteral(">Address:\r\n </th>\r\n <td>\r\n");
WriteLiteral(" ");
#line 151 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 149 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Html.EditorFor(m => m.ProxyAddress));
@@ -512,7 +511,7 @@ WriteLiteral("<br />\r\n");
WriteLiteral(" ");
#line 152 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 150 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Html.ValidationMessageFor(m => m.ProxyAddress));
@@ -528,7 +527,7 @@ WriteLiteral(">Port:\r\n </th>\r\n <td>\r\n");
WriteLiteral(" ");
#line 159 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 157 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Html.EditorFor(m => m.ProxyPort));
@@ -539,7 +538,7 @@ WriteLiteral("<br />\r\n");
WriteLiteral(" ");
#line 160 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 158 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Html.ValidationMessageFor(m => m.ProxyPort));
@@ -555,7 +554,7 @@ WriteLiteral(">Username:\r\n </th>\r\n <td>\r\n");
WriteLiteral(" ");
#line 167 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 165 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Html.EditorFor(m => m.ProxyUsername));
@@ -566,7 +565,7 @@ WriteLiteral("<br />\r\n");
WriteLiteral(" ");
#line 168 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 166 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Html.ValidationMessageFor(m => m.ProxyUsername));
@@ -582,7 +581,7 @@ WriteLiteral(">Password:\r\n </th>\r\n <td>\r\n");
WriteLiteral(" ");
#line 175 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 173 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Html.EditorFor(m => m.ProxyPassword));
@@ -593,7 +592,7 @@ WriteLiteral("<br />\r\n");
WriteLiteral(" ");
#line 176 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 174 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Html.ValidationMessageFor(m => m.ProxyPassword));
@@ -615,7 +614,7 @@ WriteLiteral(" value=\"Save Proxy Settings\"");
WriteLiteral(" />\r\n </td>\r\n </tr>\r\n </table>\r\n </div>\r\n");
#line 188 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 186 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
}
}
else
@@ -640,7 +639,7 @@ WriteLiteral(">Address:\r\n </th>\r\n <td>\r\n");
WriteLiteral(" ");
#line 199 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 197 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Html.DisplayFor(m => m.ProxyAddress));
@@ -656,7 +655,7 @@ WriteLiteral(">Port:\r\n </th>\r\n <td>\r\n");
WriteLiteral(" ");
#line 206 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 204 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Html.DisplayFor(m => m.ProxyPort));
@@ -672,7 +671,7 @@ WriteLiteral(">Username:\r\n </th>\r\n <td>\r\n");
WriteLiteral(" ");
#line 213 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 211 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Html.DisplayFor(m => m.ProxyUsername));
@@ -687,7 +686,7 @@ WriteLiteral(">Password:\r\n </th>\r\n <td>*******
"</td>\r\n </tr>\r\n </table>\r\n </div>\r\n");
#line 224 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 222 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
}
@@ -702,7 +701,7 @@ WriteLiteral(">\r\n");
WriteLiteral(" ");
#line 226 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
#line 224 "..\..\Areas\Config\Views\SystemConfig\Index.cshtml"
Write(Html.ActionLinkButton("Update Device Last Network Logons", MVC.API.System.UpdateLastNetworkLogonDates()));