#pragma warning disable 1591 //------------------------------------------------------------------------------ // // 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. // //------------------------------------------------------------------------------ namespace Disco.Web.Views.Device { 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/Device/_CertificateTable.cshtml")] public class CertificateTable : System.Web.Mvc.WebViewPage> { public CertificateTable() { } public override void Execute() { WriteLiteral("\r\n"); #line 3 "..\..\Views\Device\_CertificateTable.cshtml" #line default #line hidden #line 3 "..\..\Views\Device\_CertificateTable.cshtml" if (Model.Count() > 0) { #line default #line hidden WriteLiteral(" Name Enabled Allocated Expires "); #line 20 "..\..\Views\Device\_CertificateTable.cshtml" #line default #line hidden #line 20 "..\..\Views\Device\_CertificateTable.cshtml" foreach (var item in Model) { #line default #line hidden WriteLiteral(" \r\n \r\n"); WriteLiteral(" "); #line 24 "..\..\Views\Device\_CertificateTable.cshtml" Write(Html.ActionLink(item.Name, MVC.API.WirelessCertificate.Download(item.Id))); #line default #line hidden WriteLiteral("\r\n \r\n \r\n"); WriteLiteral(" "); #line 27 "..\..\Views\Device\_CertificateTable.cshtml" Write(item.Enabled); #line default #line hidden WriteLiteral("\r\n \r\n \r\n"); WriteLiteral(" "); #line 30 "..\..\Views\Device\_CertificateTable.cshtml" Write(CommonHelpers.FriendlyDate(item.AllocatedDate)); #line default #line hidden WriteLiteral("\r\n \r\n \r\n"); WriteLiteral(" "); #line 33 "..\..\Views\Device\_CertificateTable.cshtml" Write(CommonHelpers.FriendlyDate(item.ExpirationDate)); #line default #line hidden WriteLiteral("\r\n \r\n \r\n"); #line 36 "..\..\Views\Device\_CertificateTable.cshtml" } #line default #line hidden WriteLiteral(" \r\n"); #line 38 "..\..\Views\Device\_CertificateTable.cshtml" } else { #line default #line hidden WriteLiteral(" No Certificates Allocated\r\n"); #line 42 "..\..\Views\Device\_CertificateTable.cshtml" } #line default #line hidden WriteLiteral("\r\n"); } } } #pragma warning restore 1591