989f08a24d
Add additional Results; Implemented UI Extensions on Device, Job and User Controllers
501 lines
15 KiB
C#
501 lines
15 KiB
C#
#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.4.0")]
|
|
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/_Layout.cshtml")]
|
|
public partial class Layout : System.Web.Mvc.WebViewPage<dynamic>
|
|
{
|
|
public Layout()
|
|
{
|
|
}
|
|
public override void Execute()
|
|
{
|
|
|
|
#line 1 "..\..\Views\Shared\_Layout.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\_Layout.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\_Layout.cshtml"
|
|
Write(Html.BundleRenderDeferred());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 14 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(RenderSection("head", false));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n</head>\r\n<body");
|
|
|
|
WriteLiteral(" class=\"layout\"");
|
|
|
|
WriteLiteral(">\r\n <div");
|
|
|
|
WriteLiteral(" class=\"page\"");
|
|
|
|
WriteLiteral(">\r\n <header>\r\n <div");
|
|
|
|
WriteLiteral(" class=\"clearfix\"");
|
|
|
|
WriteLiteral(">\r\n <div");
|
|
|
|
WriteLiteral(" id=\"heading\"");
|
|
|
|
WriteLiteral(">\r\n <a");
|
|
|
|
WriteAttribute("href", Tuple.Create(" href=\"", 672), Tuple.Create("\"", 707)
|
|
|
|
#line 21 "..\..\Views\Shared\_Layout.cshtml"
|
|
, Tuple.Create(Tuple.Create("", 679), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Job.Index())
|
|
|
|
#line default
|
|
#line hidden
|
|
, 679), false)
|
|
);
|
|
|
|
WriteLiteral(">\r\n <img");
|
|
|
|
WriteAttribute("src", Tuple.Create(" src=\"", 739), Tuple.Create("\"", 789)
|
|
|
|
#line 22 "..\..\Views\Shared\_Layout.cshtml"
|
|
, Tuple.Create(Tuple.Create("", 745), Tuple.Create<System.Object, System.Int32>(Links.ClientSource.Style.Images.Heading_png
|
|
|
|
#line default
|
|
#line hidden
|
|
, 745), false)
|
|
);
|
|
|
|
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"
|
|
Write(Html.ActionLink(DiscoApplication.CurrentUser.ToString(), MVC.User.Show(DiscoApplication.CurrentUser.Id)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</span>\r\n");
|
|
|
|
|
|
#line 26 "..\..\Views\Shared\_Layout.cshtml"
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 26 "..\..\Views\Shared\_Layout.cshtml"
|
|
using (Html.BeginForm(MVC.Search.Query(), FormMethod.Get))
|
|
{
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 29 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.TextBox("term", null, new { accesskey = "s" }));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 29 "..\..\Views\Shared\_Layout.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(@">
|
|
//<!--
|
|
$(function () {
|
|
$('#term').watermark('Search').keypress(function (e) {
|
|
if (e.keyCode == 13) {
|
|
$(this).closest('form').submit();
|
|
}
|
|
}).focus(function () {
|
|
$(this).select();
|
|
});
|
|
});
|
|
//-->
|
|
</script>
|
|
");
|
|
|
|
|
|
#line 43 "..\..\Views\Shared\_Layout.cshtml"
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" </div>\r\n </div>\r\n <nav>\r\n <u" +
|
|
"l");
|
|
|
|
WriteLiteral(" id=\"menu\"");
|
|
|
|
WriteLiteral(">\r\n <li>");
|
|
|
|
|
|
#line 48 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Jobs", MVC.Job.Index(), accesskey: "1"));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n <ul>\r\n <li>");
|
|
|
|
|
|
#line 50 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Devices Ready for Return", MVC.Job.DevicesReadyForReturn()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</li>\r\n <li>");
|
|
|
|
|
|
#line 51 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Device Held Locations", MVC.Job.Locations()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</li>\r\n <li>");
|
|
|
|
|
|
#line 52 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Awaiting User Action", MVC.Job.AwaitingUserAction()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</li>\r\n <li>");
|
|
|
|
|
|
#line 53 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Awaiting Finance", MVC.Job.AwaitingFinance()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n <ul>\r\n <li>");
|
|
|
|
|
|
#line 55 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Accounting Charge", MVC.Job.AwaitingFinanceCharge()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</li>\r\n <li>");
|
|
|
|
|
|
#line 56 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Accounting Payment", MVC.Job.AwaitingFinancePayment()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</li>\r\n <li>");
|
|
|
|
|
|
#line 57 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Agreement Breach", MVC.Job.AwaitingFinanceAgreementBreach()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</li>\r\n <li>");
|
|
|
|
|
|
#line 58 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Insurance Processing", MVC.Job.AwaitingFinanceInsuranceProcessing()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</li>\r\n </ul>\r\n </li>\r\n" +
|
|
" <li>");
|
|
|
|
|
|
#line 61 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Awaiting Device Repair", MVC.Job.DevicesAwaitingRepair()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</li>\r\n <li>");
|
|
|
|
|
|
#line 62 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("All Open", MVC.Job.AllOpen()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</li>\r\n <li>");
|
|
|
|
|
|
#line 63 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Recently Closed", MVC.Job.RecentlyClosed()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</li>\r\n </ul>\r\n </li>\r\n " +
|
|
" <li");
|
|
|
|
WriteLiteral(" class=\"sep\"");
|
|
|
|
WriteLiteral("></li>\r\n <li>");
|
|
|
|
|
|
#line 67 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Devices", MVC.Device.Index(), accesskey: "2"));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</li>\r\n <li");
|
|
|
|
WriteLiteral(" class=\"sep\"");
|
|
|
|
WriteLiteral("></li>\r\n <li>");
|
|
|
|
|
|
#line 69 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Users", MVC.User.Index(), accesskey: "3"));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</li>\r\n <li");
|
|
|
|
WriteLiteral(" class=\"moveRight\"");
|
|
|
|
WriteLiteral(">");
|
|
|
|
|
|
#line 70 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Public Reports", MVC.Public.Public.Index()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</li>\r\n <li");
|
|
|
|
WriteLiteral(" class=\"sep\"");
|
|
|
|
WriteLiteral("></li>\r\n <li>");
|
|
|
|
|
|
#line 72 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Configuration", MVC.Config.Config.Index(), accesskey: "0"));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</li>\r\n </ul>\r\n <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(@">
|
|
$(function () {
|
|
var $menu = $('#menu');
|
|
$menu.find('li').each(function () {
|
|
var $menuItem = $(this);
|
|
var $subMenu = $menuItem.children('ul').first();
|
|
var subMenuHideToken = null;
|
|
if ($subMenu.length > 0) {
|
|
$menuItem.mouseover(function () {
|
|
if (subMenuHideToken)
|
|
window.clearTimeout(subMenuHideToken);
|
|
if (!$subMenu.is(':visible'))
|
|
$subMenu.show();
|
|
}).mouseout(function () {
|
|
subMenuHideToken = window.setTimeout(function () {
|
|
$subMenu.hide();
|
|
}, 250);
|
|
}).addClass('hasSubmenu');
|
|
};
|
|
});
|
|
});
|
|
</script>
|
|
</nav>
|
|
</header>
|
|
<div");
|
|
|
|
WriteLiteral(" id=\"layout_PageHeading\"");
|
|
|
|
WriteLiteral(">");
|
|
|
|
|
|
#line 98 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(CommonHelpers.Breadcrumbs(ViewBag.Title));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</div>\r\n <section");
|
|
|
|
WriteLiteral(" id=\"layout_Page\"");
|
|
|
|
WriteLiteral(">\r\n");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 100 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(RenderBody());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n </section>\r\n <footer>\r\n Disco v");
|
|
|
|
|
|
#line 103 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Disco.Web.DiscoApplication.Version);
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" ");
|
|
|
|
WriteLiteral("@ ");
|
|
|
|
|
|
#line 103 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Disco.Web.DiscoApplication.OrganisationName);
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" | <a\r\n href=\"http://discoict.com.au/\" target=\"_blank\">discoict.co" +
|
|
"m.au</a> | ");
|
|
|
|
|
|
#line 104 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Credits", MVC.Public.Public.Credits()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" | ");
|
|
|
|
|
|
#line 104 "..\..\Views\Shared\_Layout.cshtml"
|
|
Write(Html.ActionLink("Licence", MVC.Public.Public.Licence()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n </footer>\r\n </div>\r\n");
|
|
|
|
|
|
#line 107 "..\..\Views\Shared\_Layout.cshtml"
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 107 "..\..\Views\Shared\_Layout.cshtml"
|
|
Disco.Services.Plugins.Features.UIExtension.UIExtensions.ExecuteExtensionResult(this);
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n</body>\r\n</html>\r\n");
|
|
|
|
}
|
|
}
|
|
}
|
|
#pragma warning restore 1591
|