1cc7e94646
OnGenerated and OnImportAttachment allow advanced users to enter expressions which will be evaluated whenever these document template/importing events are triggered. This enables greater automation.
2047 lines
68 KiB
C#
2047 lines
68 KiB
C#
#pragma warning disable 1591
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.34014
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace Disco.Web.Areas.Config.Views.DeviceProfile
|
|
{
|
|
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;
|
|
using Disco.BI.Extensions;
|
|
using Disco.Models.Repository;
|
|
using Disco.Services;
|
|
using Disco.Services.Authorization;
|
|
|
|
#line 2 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
using Disco.Services.Devices.ManagedGroups;
|
|
|
|
#line default
|
|
#line hidden
|
|
using Disco.Services.Web;
|
|
using Disco.Web;
|
|
|
|
#line 3 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
using Disco.Web.Areas.Config.Models.Shared;
|
|
|
|
#line default
|
|
#line hidden
|
|
using Disco.Web.Extensions;
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")]
|
|
[System.Web.WebPages.PageVirtualPathAttribute("~/Areas/Config/Views/DeviceProfile/Show.cshtml")]
|
|
public partial class Show : Disco.Services.Web.WebViewPage<Disco.Web.Areas.Config.Models.DeviceProfile.ShowModel>
|
|
{
|
|
public Show()
|
|
{
|
|
}
|
|
public override void Execute()
|
|
{
|
|
|
|
#line 4 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
Authorization.Require(Claims.Config.DeviceProfile.Show);
|
|
|
|
ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Device Profiles", MVC.Config.DeviceProfile.Index(null), Model.DeviceProfile.ToString());
|
|
|
|
var canConfig = Authorization.Has(Claims.Config.DeviceProfile.Configure);
|
|
var canConfigExpression = Authorization.Has(Claims.Config.DeviceProfile.ConfigureComputerNameTemplate);
|
|
var canDelete = (Authorization.Has(Claims.Config.DeviceProfile.Delete) && Model.CanDelete);
|
|
var canViewPlugins = Authorization.Has(Claims.Config.Plugin.Install);
|
|
|
|
var hideAdvanced =
|
|
Model.DeviceProfile.AssignedUsersLinkedGroup == null &&
|
|
Model.DeviceProfile.DevicesLinkedGroup == null;
|
|
|
|
if (canConfig)
|
|
{
|
|
Html.BundleDeferred("~/Style/Fancytree");
|
|
Html.BundleDeferred("~/ClientScripts/Modules/jQuery-Fancytree");
|
|
Html.BundleDeferred("~/ClientScripts/Modules/Disco-PropertyChangeHelpers");
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n<div");
|
|
|
|
WriteLiteral(" id=\"configurationDeviceProfileShow\"");
|
|
|
|
WriteAttribute("class", Tuple.Create(" class=\"", 1194), Tuple.Create("\"", 1253)
|
|
, Tuple.Create(Tuple.Create("", 1202), Tuple.Create("form", 1202), true)
|
|
|
|
#line 25 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
, Tuple.Create(Tuple.Create("", 1206), Tuple.Create<System.Object, System.Int32>(hideAdvanced ? " Config_HideAdvanced" : null
|
|
|
|
#line default
|
|
#line hidden
|
|
, 1206), false)
|
|
);
|
|
|
|
WriteLiteral(" style=\"width: 640px\"");
|
|
|
|
WriteLiteral(">\r\n <table>\r\n <tr>\r\n <th");
|
|
|
|
WriteLiteral(" style=\"width: 170px;\"");
|
|
|
|
WriteLiteral(">Id:\r\n </th>\r\n <td>\r\n");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 31 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Html.DisplayFor(model => model.DeviceProfile.Id));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n </td>\r\n </tr>\r\n <tr>\r\n <th>Name:\r\n " +
|
|
" </th>\r\n <td>");
|
|
|
|
|
|
#line 37 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canConfig)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 39 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Html.TextBoxFor(model => model.DeviceProfile.Name));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 39 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 40 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxSave());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 40 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 41 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxLoader());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 41 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(">\r\n $(function () {\r\n document.DiscoFun" +
|
|
"ctions.PropertyChangeHelper(\r\n $(\'#DeviceProfile_Name" +
|
|
"\'),\r\n \'Name\',\r\n \'");
|
|
|
|
|
|
#line 47 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Url.Action(MVC.API.DeviceProfile.UpdateName(Model.DeviceProfile.Id)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\',\r\n \'ProfileName\'\r\n );\r\n " +
|
|
" });\r\n </script>\r\n");
|
|
|
|
|
|
#line 52 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 55 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.Name);
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 55 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" </td>\r\n </tr>\r\n <tr>\r\n <th>Short Name:\r\n " +
|
|
" </th>\r\n <td>");
|
|
|
|
|
|
#line 62 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canConfig)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 64 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Html.TextBoxFor(model => model.DeviceProfile.ShortName));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 64 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 65 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxSave());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 65 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 66 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxLoader());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 66 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(">\r\n $(function () {\r\n document.DiscoFun" +
|
|
"ctions.PropertyChangeHelper(\r\n $(\'#DeviceProfile_Shor" +
|
|
"tName\'),\r\n \'Short Name\',\r\n " +
|
|
" \'");
|
|
|
|
|
|
#line 72 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Url.Action(MVC.API.DeviceProfile.UpdateShortName(Model.DeviceProfile.Id)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\',\r\n \'ShortName\'\r\n );\r\n " +
|
|
" });\r\n </script>\r\n");
|
|
|
|
|
|
#line 77 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 80 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.ShortName);
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 80 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" </td>\r\n </tr>\r\n <tr>\r\n <th>Description:\r\n " +
|
|
" </th>\r\n <td>");
|
|
|
|
|
|
#line 87 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canConfig)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 89 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Html.EditorFor(model => model.DeviceProfile.Description));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 89 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 90 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxSave());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 90 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 91 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxLoader());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 91 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(">\r\n $(function () {\r\n document.DiscoFun" +
|
|
"ctions.PropertyChangeHelper(\r\n $(\'#DeviceProfile_Desc" +
|
|
"ription\'),\r\n \'Description\',\r\n " +
|
|
" \'");
|
|
|
|
|
|
#line 97 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Url.Action(MVC.API.DeviceProfile.UpdateDescription(Model.DeviceProfile.Id)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\',\r\n \'Description\'\r\n );\r\n " +
|
|
" });\r\n </script>\r\n");
|
|
|
|
|
|
#line 102 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 105 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.Description);
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 105 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" </td>\r\n </tr>\r\n <tr>\r\n <th>Members</th>\r\n " +
|
|
" <td>\r\n <div><strong>");
|
|
|
|
|
|
#line 112 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceCount.ToString("n0"));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</strong> ");
|
|
|
|
|
|
#line 112 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceCount == 1 ? "devices is a member" : "devices are members");
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" of this profile.</div>\r\n");
|
|
|
|
|
|
#line 113 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 113 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (Model.DeviceDecommissionedCount > 0)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <div");
|
|
|
|
WriteLiteral(" class=\"smallMessage\"");
|
|
|
|
WriteLiteral(">");
|
|
|
|
|
|
#line 115 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceDecommissionedCount.ToString("n0"));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 115 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceDecommissionedCount == 1 ? "device is" : "devices are");
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" decommissioned.</div>\r\n");
|
|
|
|
|
|
#line 116 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" </td>\r\n </tr>\r\n <tr>\r\n <th>Distribution Type" +
|
|
":\r\n </th>\r\n <td>");
|
|
|
|
|
|
#line 122 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canConfig)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 124 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Html.DropDownList("DeviceProfile_DistributionType", Model.DeviceProfileDistributionTypes));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 124 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 125 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxLoader());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 125 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(">\r\n $(function () {\r\n document.DiscoFun" +
|
|
"ctions.PropertyChangeHelper(\r\n $(\'#DeviceProfile_Dist" +
|
|
"ributionType\'),\r\n null,\r\n " +
|
|
"\'");
|
|
|
|
|
|
#line 131 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Url.Action(MVC.API.DeviceProfile.UpdateDistributionType(Model.DeviceProfile.Id)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\',\r\n \'DistributionType\'\r\n );\r\n " +
|
|
" });\r\n </script>\r\n");
|
|
|
|
|
|
#line 136 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 139 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.DistributionType.ToString());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 139 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" </td>\r\n </tr>\r\n <tr>\r\n <th>Address:\r\n " +
|
|
" </th>\r\n <td>");
|
|
|
|
|
|
#line 146 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canConfig)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 148 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Html.DropDownListFor(m => m.DeviceProfile.DefaultOrganisationAddress, Model.OrganisationAddresses.ToSelectListItems(Model.DeviceProfile.DefaultOrganisationAddress, true, "None")));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 148 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 149 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxLoader());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 149 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(">\r\n $(function () {\r\n document.DiscoFun" +
|
|
"ctions.PropertyChangeHelper(\r\n $(\'#DeviceProfile_Defa" +
|
|
"ultOrganisationAddress\'),\r\n null,\r\n " +
|
|
" \'");
|
|
|
|
|
|
#line 155 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Url.Action(MVC.API.DeviceProfile.UpdateDefaultOrganisationAddress(Model.DeviceProfile.Id)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\',\r\n \'DefaultOrganisationAddress\'\r\n " +
|
|
" );\r\n });\r\n </script>\r\n");
|
|
|
|
|
|
#line 160 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
if (Model.DefaultOrganisationAddress == null)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <span");
|
|
|
|
WriteLiteral(" class=\"smallMessage\"");
|
|
|
|
WriteLiteral("><None Specified></span>\r\n");
|
|
|
|
|
|
#line 166 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 169 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DefaultOrganisationAddress.ToString());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 169 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
}
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" </td>\r\n </tr>\r\n <tr>\r\n <th>Allocate Certific" +
|
|
"ates:\r\n </th>\r\n <td>");
|
|
|
|
|
|
#line 177 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canConfig && Model.CertificateProviders.Count > 0)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 179 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Html.DropDownListFor(model => model.DeviceProfile.CertificateProviderId, Model.CertificateProviders.ToSelectListItems(null, true, "Not Allocated")));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 179 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 180 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxLoader());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 180 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(">\r\n $(function () {\r\n document.DiscoFun" +
|
|
"ctions.PropertyChangeHelper(\r\n $(\'#DeviceProfile_Cert" +
|
|
"ificateProviderId\'),\r\n null,\r\n " +
|
|
" \'");
|
|
|
|
|
|
#line 186 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Url.Action(MVC.API.DeviceProfile.UpdateCertificateProviderId(Model.DeviceProfile.Id)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\',\r\n \'CertificateProviderId\'\r\n " +
|
|
");\r\n });\r\n </script>\r\n");
|
|
|
|
|
|
#line 191 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
if (string.IsNullOrEmpty(Model.DeviceProfile.CertificateProviderId))
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <span");
|
|
|
|
WriteLiteral(" class=\"smallMessage\"");
|
|
|
|
WriteLiteral("><None Allocated></span>\r\n");
|
|
|
|
|
|
#line 197 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
var cp = Model.CertificateProviders.FirstOrDefault(p => p.Id == Model.DeviceProfile.CertificateProviderId);
|
|
if (cp == null)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <span");
|
|
|
|
WriteLiteral(" class=\"smallMessage\"");
|
|
|
|
WriteLiteral("><None Allocated></span>\r\n");
|
|
|
|
|
|
#line 204 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 207 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(cp.Name);
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 207 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 211 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canViewPlugins)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <div");
|
|
|
|
WriteLiteral(" class=\"info-box\"");
|
|
|
|
WriteLiteral(">\r\n <p");
|
|
|
|
WriteLiteral(" class=\"fa-p\"");
|
|
|
|
WriteLiteral(">\r\n <i");
|
|
|
|
WriteLiteral(" class=\"fa fa-info-circle\"");
|
|
|
|
WriteLiteral("></i>View the <a");
|
|
|
|
WriteAttribute("href", Tuple.Create(" href=\"", 8926), Tuple.Create("\"", 8976)
|
|
|
|
#line 215 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
, Tuple.Create(Tuple.Create("", 8933), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Config.Plugins.Install())
|
|
|
|
#line default
|
|
#line hidden
|
|
, 8933), false)
|
|
);
|
|
|
|
WriteLiteral(">Plugin Catalogue</a> to discover and install certificate provider plugins.\r\n " +
|
|
" </p>\r\n </div>\r\n");
|
|
|
|
|
|
#line 218 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" </td>\r\n </tr>\r\n <tr>\r\n <th>Computer Name<br " +
|
|
"/>\r\n Template Expression:\r\n </th>\r\n <td>");
|
|
|
|
|
|
#line 225 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canConfig && canConfigExpression)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 227 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Html.EditorFor(model => model.DeviceProfile.ComputerNameTemplate));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 227 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 228 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxSave());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 228 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 229 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxLoader());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 229 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <a");
|
|
|
|
WriteLiteral(" id=\"expressionBrowserAnchor\"");
|
|
|
|
WriteAttribute("href", Tuple.Create(" href=\"", 9563), Tuple.Create("\"", 9632)
|
|
|
|
#line 230 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
, Tuple.Create(Tuple.Create("", 9570), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Config.DocumentTemplate.ExpressionBrowser())
|
|
|
|
#line default
|
|
#line hidden
|
|
, 9570), false)
|
|
);
|
|
|
|
WriteLiteral("> </a>\r\n");
|
|
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(@">
|
|
$(function () {
|
|
var field = $('#DeviceProfile_ComputerNameTemplate');
|
|
var fieldOriginalWidth, fieldOriginalHeight;
|
|
|
|
document.DiscoFunctions.PropertyChangeHelper(
|
|
field,
|
|
'None',
|
|
'");
|
|
|
|
|
|
#line 239 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Url.Action(MVC.API.DeviceProfile.UpdateComputerNameTemplate(Model.DeviceProfile.Id)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(@"',
|
|
'ComputerNameTemplate'
|
|
);
|
|
|
|
field.focus(function () {
|
|
fieldOriginalWidth = field.width();
|
|
fieldOriginalHeight = field.height();
|
|
field.css('overflow', 'visible').animate({ width: field.parent().width() - 52, height: 75 }, 200);
|
|
}).blur(function () {
|
|
field.css('overflow', 'hidden').animate({ width: fieldOriginalWidth, height: fieldOriginalHeight }, 200);
|
|
}).attr('placeholder', 'None').attr('spellcheck', 'false');
|
|
});
|
|
</script>
|
|
");
|
|
|
|
|
|
#line 252 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <div");
|
|
|
|
WriteLiteral(" id=\"displayComputerNameTemplate\"");
|
|
|
|
WriteLiteral(" class=\"code\"");
|
|
|
|
WriteLiteral(">\r\n");
|
|
|
|
|
|
#line 256 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 256 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (string.IsNullOrWhiteSpace(Model.DeviceProfile.ComputerNameTemplate))
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <span");
|
|
|
|
WriteLiteral(" class=\"smallMessage\"");
|
|
|
|
WriteLiteral("><None Specified></span>\r\n");
|
|
|
|
|
|
#line 259 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 262 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.ComputerNameTemplate);
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 262 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" </div>\r\n");
|
|
|
|
|
|
#line 265 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <div");
|
|
|
|
WriteLiteral(" style=\"margin-top: 8px;\"");
|
|
|
|
WriteLiteral(">\r\n");
|
|
|
|
|
|
#line 267 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 267 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canConfig)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <input");
|
|
|
|
WriteLiteral(" id=\"DeviceProfile_EnforceComputerNameConvention\"");
|
|
|
|
WriteLiteral(" type=\"checkbox\"");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 269 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.EnforceComputerNameConvention ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("/>\r\n");
|
|
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(@">
|
|
$(function () {
|
|
document.DiscoFunctions.PropertyChangeHelper(
|
|
$('#DeviceProfile_EnforceComputerNameConvention'),
|
|
null,
|
|
'");
|
|
|
|
|
|
#line 275 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Url.Action(MVC.API.DeviceProfile.UpdateEnforceComputerNameConvention(Model.DeviceProfile.Id)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\',\r\n \'EnforceComputerNameConvention\'\r\n " +
|
|
" );\r\n });\r\n " +
|
|
" </script>\r\n");
|
|
|
|
|
|
#line 280 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <input");
|
|
|
|
WriteLiteral(" id=\"DeviceProfile_EnforceComputerNameConvention\"");
|
|
|
|
WriteLiteral(" type=\"checkbox\"");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 283 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.EnforceComputerNameConvention ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" disabled=\"disabled\" />\r\n");
|
|
|
|
|
|
#line 284 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <label");
|
|
|
|
WriteLiteral(" for=\"DeviceProfile_EnforceComputerNameConvention\"");
|
|
|
|
WriteLiteral(">\r\n Enforce Naming Convention\r\n </label" +
|
|
">\r\n");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 288 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxLoader());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n </div>\r\n <div");
|
|
|
|
WriteLiteral(" class=\"smallMessage\"");
|
|
|
|
WriteLiteral(" style=\"margin-top: 8px;\"");
|
|
|
|
WriteLiteral(">\r\n Note: Computer names are only changed when Active Director" +
|
|
"y accounts are provisioned.\r\n </div>\r\n </td>\r\n " +
|
|
"</tr>\r\n <tr>\r\n <th>Policies</th>\r\n <td>\r\n " +
|
|
" <div>\r\n");
|
|
|
|
|
|
#line 299 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 299 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canConfig)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <input");
|
|
|
|
WriteLiteral(" id=\"DeviceProfile_ProvisionADAccount\"");
|
|
|
|
WriteLiteral(" type=\"checkbox\"");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 301 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.ProvisionADAccount ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("/>\r\n");
|
|
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(@">
|
|
$(function () {
|
|
document.DiscoFunctions.PropertyChangeHelper(
|
|
$('#DeviceProfile_ProvisionADAccount'),
|
|
null,
|
|
'");
|
|
|
|
|
|
#line 307 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Url.Action(MVC.API.DeviceProfile.UpdateProvisionADAccount(Model.DeviceProfile.Id)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\',\r\n \'ProvisionADAccount\'\r\n " +
|
|
" );\r\n });\r\n </scri" +
|
|
"pt>\r\n");
|
|
|
|
|
|
#line 312 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <input");
|
|
|
|
WriteLiteral(" id=\"DeviceProfile_ProvisionADAccount\"");
|
|
|
|
WriteLiteral(" type=\"checkbox\"");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 315 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.ProvisionADAccount ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" disabled=\"disabled\" />\r\n");
|
|
|
|
|
|
#line 316 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <label");
|
|
|
|
WriteLiteral(" for=\"DeviceProfile_ProvisionADAccount\"");
|
|
|
|
WriteLiteral(">\r\n Provision Active Directory Account\r\n " +
|
|
" </label>\r\n");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 320 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxLoader());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n </div>\r\n <div");
|
|
|
|
WriteLiteral(" style=\"margin-top: 8px;\"");
|
|
|
|
WriteLiteral(">\r\n");
|
|
|
|
|
|
#line 323 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 323 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canConfig)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <input");
|
|
|
|
WriteLiteral(" id=\"DeviceProfile_AssignedUserLocalAdmin\"");
|
|
|
|
WriteLiteral(" type=\"checkbox\"");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 325 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.AssignedUserLocalAdmin ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("/>\r\n");
|
|
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(@">
|
|
$(function () {
|
|
document.DiscoFunctions.PropertyChangeHelper(
|
|
$('#DeviceProfile_AssignedUserLocalAdmin'),
|
|
null,
|
|
'");
|
|
|
|
|
|
#line 331 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Url.Action(MVC.API.DeviceProfile.UpdateAssignedUserLocalAdmin(Model.DeviceProfile.Id)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\',\r\n \'AssignedUserLocalAdmin\'\r\n " +
|
|
" );\r\n });\r\n </" +
|
|
"script>\r\n");
|
|
|
|
|
|
#line 336 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <input");
|
|
|
|
WriteLiteral(" id=\"DeviceProfile_AssignedUserLocalAdmin\"");
|
|
|
|
WriteLiteral(" type=\"checkbox\"");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 339 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.AssignedUserLocalAdmin ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" disabled=\"disabled\" />\r\n");
|
|
|
|
|
|
#line 340 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <label");
|
|
|
|
WriteLiteral(" for=\"DeviceProfile_AssignedUserLocalAdmin\"");
|
|
|
|
WriteLiteral(">\r\n Assigned User is Local Administrator\r\n " +
|
|
" </label>\r\n");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 344 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxLoader());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n </div>\r\n <div");
|
|
|
|
WriteLiteral(" style=\"margin-top: 8px;\"");
|
|
|
|
WriteLiteral(">\r\n");
|
|
|
|
|
|
#line 347 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 347 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canConfig)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <input");
|
|
|
|
WriteLiteral(" id=\"DeviceProfile_AllowUntrustedReimageJobEnrolment\"");
|
|
|
|
WriteLiteral(" type=\"checkbox\"");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 349 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.AllowUntrustedReimageJobEnrolment ? new MvcHtmlString("checked=\"checked\" ") : null);
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("/>\r\n");
|
|
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(@">
|
|
$(function () {
|
|
document.DiscoFunctions.PropertyChangeHelper(
|
|
$('#DeviceProfile_AllowUntrustedReimageJobEnrolment'),
|
|
null,
|
|
'");
|
|
|
|
|
|
#line 355 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Url.Action(MVC.API.DeviceProfile.UpdateAllowUntrustedReimageJobEnrolment(Model.DeviceProfile.Id)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\',\r\n \'AllowUntrustedReimageJobEnrolment\'\r\n " +
|
|
" );\r\n });\r\n " +
|
|
" </script>\r\n");
|
|
|
|
|
|
#line 360 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <input");
|
|
|
|
WriteLiteral(" id=\"DeviceProfile_AllowUntrustedReimageJobEnrolment\"");
|
|
|
|
WriteLiteral(" type=\"checkbox\"");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 363 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.AllowUntrustedReimageJobEnrolment ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" disabled=\"disabled\" />\r\n");
|
|
|
|
|
|
#line 364 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <label");
|
|
|
|
WriteLiteral(" for=\"DeviceProfile_AllowUntrustedReimageJobEnrolment\"");
|
|
|
|
WriteLiteral(">\r\n Allow Untrusted Enrolment Where a <span");
|
|
|
|
WriteLiteral(" class=\"code\"");
|
|
|
|
WriteLiteral(">\'Software - Reimage\'</span> Job is Open\r\n </label>\r\n");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 368 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxLoader());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n </div>\r\n </td>\r\n </tr>\r\n <tr>\r\n " +
|
|
" <th>Organisational Unit:\r\n </th>\r\n <td>");
|
|
|
|
|
|
#line 375 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canConfig)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <div");
|
|
|
|
WriteLiteral(" id=\"DeviceProfile_OrganisationalUnit\"");
|
|
|
|
WriteLiteral(" class=\"code\"");
|
|
|
|
WriteLiteral(" data-value=\"");
|
|
|
|
|
|
#line 377 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.OrganisationalUnit);
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\"");
|
|
|
|
WriteLiteral(">\r\n <span>\r\n");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 379 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.FriendlyOrganisationalUnitName);
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n </span>\r\n </div>\r\n");
|
|
|
|
WriteLiteral(" <a");
|
|
|
|
WriteLiteral(" id=\"changeOrganisationalUnit\"");
|
|
|
|
WriteLiteral(" href=\"#\"");
|
|
|
|
WriteLiteral(" class=\"button small\"");
|
|
|
|
WriteLiteral(">Change</a>");
|
|
|
|
|
|
#line 382 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 382 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxLoader());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 382 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <div");
|
|
|
|
WriteLiteral(" id=\"dialogOrganisationalUnit\"");
|
|
|
|
WriteLiteral(" title=\"Organisational Unit\"");
|
|
|
|
WriteLiteral(" class=\"dialog\"");
|
|
|
|
WriteLiteral(">\r\n <div");
|
|
|
|
WriteLiteral(" id=\"dialogOrganisationalUnit_Loading\"");
|
|
|
|
WriteLiteral(">\r\n");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 385 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxLoader());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" Loading Organisational Units\r\n </div>\r\n <d" +
|
|
"iv");
|
|
|
|
WriteLiteral(" id=\"treeOrganisationalUnit\"");
|
|
|
|
WriteLiteral(" class=\"organisationalUnitTree\"");
|
|
|
|
WriteLiteral(">\r\n </div>\r\n </div>\r\n");
|
|
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(">\r\n $(function () {\r\n var ouSetUrl = \'");
|
|
|
|
|
|
#line 392 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Url.Action(MVC.API.DeviceProfile.UpdateOrganisationalUnit(Model.DeviceProfile.Id, null, true)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\';\r\n var ouValue = $(\'#DeviceProfile_OrganisationalUnit\')." +
|
|
"attr(\'data-value\');\r\n var $ouTree = null;\r\n " +
|
|
" var ouTree = null;\r\n var $dialog = null;\r\n " +
|
|
" var ouSet = function (ou) {\r\n var " +
|
|
"url = ouSetUrl + \'&\' + $.param({ OrganisationalUnit: ou })\r\n " +
|
|
" window.location.href = url;\r\n }\r\n " +
|
|
" var expandNodeTree = function (node) {\r\n var " +
|
|
"parent = node.parent;\r\n if (parent) {\r\n " +
|
|
" expandNodeTree(parent);\r\n paren" +
|
|
"t.setExpanded(true, { noAnimation: true, noEvents: false });\r\n " +
|
|
" }\r\n }\r\n var expandAndFoc" +
|
|
"usNode = function (nodeKey) {\r\n if (ouTree) {\r\n " +
|
|
" var ouNode = ouTree.getNodeByKey(ouValue);\r\n " +
|
|
" if (ouNode) {\r\n expandN" +
|
|
"odeTree(ouNode);\r\n ouNode.setFocus(true);\r\n " +
|
|
" ouNode.setActive(true);\r\n\r\n " +
|
|
" var li = ouNode.li;\r\n var li" +
|
|
"Offset = li.offsetParent;\r\n if (li.offsetTop " +
|
|
"+ li.offsetHeight > liOffset.offsetHeight)\r\n " +
|
|
" $(liOffset).animate({ \'scrollTop\': li.offsetTop - liOffset.offsetHeight + li" +
|
|
".offsetHeight + 4 }, \'fast\');\r\n }\r\n " +
|
|
" }\r\n }\r\n var ouChange" +
|
|
" = function () {\r\n if (!$dialog) {\r\n\r\n " +
|
|
" $dialog = $(\'#dialogOrganisationalUnit\').dialog({\r\n " +
|
|
" autoOpen: false,\r\n bu" +
|
|
"ttons: null,\r\n draggable: false,\r\n " +
|
|
" modal: true,\r\n resiz" +
|
|
"able: false,\r\n width: 500,\r\n " +
|
|
" height: 500\r\n });\r\n " +
|
|
" $loading = $(\'#dialogOrganisationalUnit_Loading\');\r\n " +
|
|
" $loading.find(\'i.ajaxLoading\').show();\r\n\r\n " +
|
|
" $ouTree = $(\'#treeOrganisationalUnit\');\r\n " +
|
|
" $dialog.css(\'overflow\', \'visible\');\r\n " +
|
|
" $ouTree.css(\'height\', \'100%\');\r\n\r\n $.getJSON(\'");
|
|
|
|
|
|
#line 442 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Url.Action(MVC.API.System.DomainOrganisationalUnits()));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\', null, function (data) {\r\n $loading.hide();\r" +
|
|
"\n\r\n // Make \'Domains\' unselectable\r\n " +
|
|
" $.each(data, function (i, node) {\r\n " +
|
|
" node.unselectable = true;\r\n " +
|
|
" });\r\n\r\n ouTree = $ouTree.fancytree({\r\n " +
|
|
" source: data,\r\n " +
|
|
" checkbox: false,\r\n selectMod" +
|
|
"e: 1,\r\n keyboard: false,\r\n " +
|
|
" fx: null\r\n }).fancyt" +
|
|
"ree(\'getTree\');\r\n\r\n ouTree.$container.css(\'po" +
|
|
"sition\', \'relative\');\r\n\r\n // Set Buttons\r\n " +
|
|
" $dialog.dialog(\'option\', \'buttons\', {\r\n " +
|
|
" \'Use Default Container\': function () {\r\n " +
|
|
" var $this = $(this);\r\n " +
|
|
" $this.css(\'overflow\', \'hidden\');\r\n " +
|
|
" $this.dialog(\"disable\");\r\n " +
|
|
" $this.dialog(\"option\", \"buttons\", null);\r\n " +
|
|
" ouSet(\'\');\r\n },\r\n " +
|
|
" \'Save\': function () {\r\n " +
|
|
" var node = ouTree.getActiveNode();\r\n " +
|
|
" if (node && node.key.substr(0, 3).toLowerCase() == \'ou=\') {\r\n" +
|
|
" var $this = $(this);\r\n " +
|
|
" $this.css(\'overflow\', \'hidden\');\r\n " +
|
|
" $this.dialog(\"disable\");\r\n " +
|
|
" $this.dialog(\"option\", \"buttons\", null);\r\n " +
|
|
" ouSet(node.key);\r\n " +
|
|
" } else {\r\n " +
|
|
" alert(\'Select an Organisational Unit to Save\')\r\n " +
|
|
" }\r\n }\r\n " +
|
|
" });\r\n\r\n // Expand\r\n " +
|
|
" expandAndFocusNode(ouValue);\r\n\r\n " +
|
|
" ouTree.options.fx = { height: \"toggle\", duration: 200 };\r\n " +
|
|
" });\r\n }\r\n " +
|
|
" $dialog.dialog(\'open\');\r\n\r\n if (ouTree) {\r\n" +
|
|
" // Expand\r\n expan" +
|
|
"dAndFocusNode(ouValue);\r\n }\r\n\r\n " +
|
|
" return false;\r\n };\r\n\r\n $(\'#c" +
|
|
"hangeOrganisationalUnit\').click(ouChange);\r\n });\r\n " +
|
|
" </script>\r\n");
|
|
|
|
|
|
#line 502 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <div");
|
|
|
|
WriteLiteral(" id=\"displayOrganisationalUnit\"");
|
|
|
|
WriteLiteral(" class=\"code\"");
|
|
|
|
WriteLiteral(">\r\n <span>\r\n");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 507 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.FriendlyOrganisationalUnitName);
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n </span>\r\n </div>\r\n");
|
|
|
|
|
|
#line 510 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <div");
|
|
|
|
WriteLiteral(" style=\"margin-top: 8px;\"");
|
|
|
|
WriteLiteral(">\r\n");
|
|
|
|
|
|
#line 512 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 512 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canConfig)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <input");
|
|
|
|
WriteLiteral(" id=\"DeviceProfile_EnforceOrganisationalUnit\"");
|
|
|
|
WriteLiteral(" type=\"checkbox\"");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 514 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.EnforceOrganisationalUnit ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("/>\r\n");
|
|
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(@">
|
|
$(function () {
|
|
document.DiscoFunctions.PropertyChangeHelper(
|
|
$('#DeviceProfile_EnforceOrganisationalUnit'),
|
|
null,
|
|
'");
|
|
|
|
|
|
#line 520 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Url.Action(MVC.API.DeviceProfile.UpdateEnforceOrganisationalUnit(Model.DeviceProfile.Id)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\',\r\n \'EnforceOrganisationalUnit\'\r\n " +
|
|
" );\r\n });\r\n " +
|
|
" </script>\r\n");
|
|
|
|
|
|
#line 525 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
else
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <input");
|
|
|
|
WriteLiteral(" id=\"DeviceProfile_EnforceOrganisationalUnit\"");
|
|
|
|
WriteLiteral(" type=\"checkbox\"");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 528 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Model.DeviceProfile.EnforceOrganisationalUnit ? new MvcHtmlString("checked=\"checked\" ") : new MvcHtmlString(string.Empty));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" disabled=\"disabled\" />\r\n");
|
|
|
|
|
|
#line 529 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <label");
|
|
|
|
WriteLiteral(" for=\"DeviceProfile_EnforceOrganisationalUnit\"");
|
|
|
|
WriteLiteral(">\r\n Enforce Organisational Unit\r\n </lab" +
|
|
"el>\r\n");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 533 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(AjaxHelpers.AjaxLoader());
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n </div>\r\n </td>\r\n </tr>\r\n");
|
|
|
|
|
|
#line 537 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 537 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (hideAdvanced)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <tr>\r\n <td");
|
|
|
|
WriteLiteral(" colspan=\"2\"");
|
|
|
|
WriteLiteral(" style=\"text-align: right;\"");
|
|
|
|
WriteLiteral(">\r\n <button");
|
|
|
|
WriteLiteral(" id=\"Config_HideAdvanced_Show\"");
|
|
|
|
WriteLiteral(" class=\"button small\"");
|
|
|
|
WriteLiteral(@">Show Advanced Options</button>
|
|
<script>
|
|
$(function () {
|
|
$('#Config_HideAdvanced_Show').click(function () {
|
|
var $this = $(this);
|
|
$this.closest('.Config_HideAdvanced').removeClass('Config_HideAdvanced');
|
|
$this.closest('tr').remove();
|
|
});
|
|
});
|
|
</script>
|
|
</td>
|
|
</tr>
|
|
");
|
|
|
|
|
|
#line 553 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <tr");
|
|
|
|
WriteLiteral(" class=\"Config_HideAdvanced_Item\"");
|
|
|
|
WriteLiteral(">\r\n <th>Linked Groups:\r\n </th>\r\n <td>\r\n " +
|
|
" <div>\r\n");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 559 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Html.Partial(MVC.Config.Shared.Views.LinkedGroupInstance, new LinkedGroupModel()
|
|
{
|
|
CanConfigure = canConfig,
|
|
CategoryDescription = DeviceProfileDevicesManagedGroup.GetCategoryDescription(Model.DeviceProfile),
|
|
Description = DeviceProfileDevicesManagedGroup.GetDescription(Model.DeviceProfile),
|
|
ManagedGroup = Model.DevicesLinkedGroup,
|
|
UpdateUrl = Url.Action(MVC.API.DeviceProfile.UpdateDevicesLinkedGroup(Model.DeviceProfile.Id, redirect: true))
|
|
}));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n");
|
|
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 567 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Html.Partial(MVC.Config.Shared.Views.LinkedGroupInstance, new LinkedGroupModel()
|
|
{
|
|
CanConfigure = canConfig,
|
|
CategoryDescription = DeviceProfileAssignedUsersManagedGroup.GetCategoryDescription(Model.DeviceProfile),
|
|
Description = DeviceProfileAssignedUsersManagedGroup.GetDescription(Model.DeviceProfile),
|
|
ManagedGroup = Model.AssignedUsersLinkedGroup,
|
|
UpdateUrl = Url.Action(MVC.API.DeviceProfile.UpdateAssignedUsersLinkedGroup(Model.DeviceProfile.Id, redirect: true))
|
|
}));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n");
|
|
|
|
|
|
#line 575 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 575 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canConfig)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 577 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Html.Partial(MVC.Config.Shared.Views.LinkedGroupShared));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 577 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" </div>\r\n </td>\r\n </tr>\r\n </table>\r\n</div>\r\n");
|
|
|
|
|
|
#line 584 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canDelete)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" <div");
|
|
|
|
WriteLiteral(" id=\"dialogConfirmDelete\"");
|
|
|
|
WriteLiteral(" title=\"Delete this Device Profile?\"");
|
|
|
|
WriteLiteral(">\r\n <p>\r\n <i");
|
|
|
|
WriteLiteral(" class=\"fa fa-exclamation-triangle fa-lg warning\"");
|
|
|
|
WriteLiteral("></i>\r\n This item will be permanently deleted and cannot be recovered." +
|
|
" Are you sure?\r\n </p>\r\n </div>\r\n");
|
|
|
|
WriteLiteral(" <script");
|
|
|
|
WriteLiteral(" type=\"text/javascript\"");
|
|
|
|
WriteLiteral(@">
|
|
$(function () {
|
|
|
|
var button = $('#buttonDelete');
|
|
var buttonLink = button.attr('href');
|
|
button.attr('href', '#');
|
|
button.click(function () {
|
|
$(""#dialogConfirmDelete"").dialog('open');
|
|
});
|
|
|
|
$(""#dialogConfirmDelete"").dialog({
|
|
resizable: false,
|
|
height: 140,
|
|
modal: true,
|
|
autoOpen: false,
|
|
buttons: {
|
|
""Delete"": function () {
|
|
$(this).dialog('disable');
|
|
window.location.href = buttonLink;
|
|
},
|
|
Cancel: function () {
|
|
$(this).dialog(""close"");
|
|
}
|
|
}
|
|
});
|
|
|
|
});
|
|
</script>
|
|
");
|
|
|
|
|
|
#line 620 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("<div");
|
|
|
|
WriteLiteral(" class=\"actionBar\"");
|
|
|
|
WriteLiteral(">\r\n");
|
|
|
|
|
|
#line 622 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 622 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (canDelete)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 624 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Html.ActionLinkButton("Delete", MVC.API.DeviceProfile.Delete(Model.DeviceProfile.Id, true), "buttonDelete"));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 624 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 626 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (Authorization.Has(Claims.Device.Actions.Export))
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 628 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Html.ActionLinkButton("Export Devices", MVC.Device.Export(null, Disco.Models.Services.Devices.Exporting.DeviceExportTypes.Profile, Model.DeviceProfile.Id)));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 628 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral(" ");
|
|
|
|
|
|
#line 630 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
if (Authorization.Has(Claims.Device.Search) && Model.DeviceCount > 0)
|
|
{
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 632 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
Write(Html.ActionLinkButton(string.Format("View {0} Device{1}", Model.DeviceCount, (Model.DeviceCount != 1 ? "s" : null)), MVC.Search.Query(Model.DeviceProfile.Id.ToString(), "DeviceProfile")));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 632 "..\..\Areas\Config\Views\DeviceProfile\Show.cshtml"
|
|
|
|
}
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("</div>\r\n");
|
|
|
|
}
|
|
}
|
|
}
|
|
#pragma warning restore 1591
|