\r\n");
+
+WriteLiteral(" ");
+
+
+ #line 10 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+Write(Html.AntiForgeryToken());
+
+
+ #line default
+ #line hidden
+WriteLiteral(";\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n");
- #line 32 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+ #line 33 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
#line default
#line hidden
- #line 32 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+ #line 33 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
using (Html.BeginForm(MVC.API.Enrollment.ResolveSessionPending(), FormMethod.Post))
{
@@ -180,20 +191,20 @@ WriteLiteral(" data-bind=\"text: pendingIdentifier\"");
WriteLiteral(">\r\n");
- #line 35 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+ #line 36 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
#line default
#line hidden
- #line 35 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+ #line 36 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
Write(Html.AntiForgeryToken());
#line default
#line hidden
- #line 35 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+ #line 36 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
;
@@ -246,7 +257,7 @@ WriteLiteral(" class=\"button\"");
WriteLiteral(">Reject\r\n
\r\n");
- #line 44 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+ #line 45 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
}
@@ -426,7 +437,7 @@ WriteLiteral(@">
var deviceBaseUrl = '");
- #line 124 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+ #line 125 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
Write(Url.Action(MVC.Device.Show()));
@@ -435,7 +446,7 @@ WriteLiteral(@">
WriteLiteral("/\'\r\n var deviceModelImageUrl = \'");
- #line 125 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+ #line 126 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
Write(Url.Action(MVC.API.DeviceModel.Image()));
@@ -444,7 +455,7 @@ WriteLiteral("/\'\r\n var deviceModelImageUrl = \'");
WriteLiteral("/\'\r\n var iconWarningUrl = \'url(");
- #line 126 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+ #line 127 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
Write(Links.ClientSource.Style.Images.Status.warning32_png);
@@ -453,7 +464,7 @@ WriteLiteral("/\'\r\n var iconWarningUrl = \'url(");
WriteLiteral(")\';\r\n var iconErrorUrl = \'url(");
- #line 127 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+ #line 128 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
Write(Links.ClientSource.Style.Images.Status.fail32_png);
@@ -576,7 +587,7 @@ WriteLiteral(")\';\r\n\r\n function pageViewModel() {\r\n var
" url: \'");
- #line 318 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+ #line 319 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
Write(Url.Action(MVC.API.DeviceModel.Index()));
@@ -604,13 +615,14 @@ WriteLiteral(@"',
Start: d.getFullYear() + '-' + (d.getMonth() + 1) + '-' + d.getDate(),
End: null,
ModuleId: 50,
- Take: 2000
+ Take: 2000,
+ '__RequestVerificationToken': host.find('input[name=""__RequestVerificationToken""]').val()
};
$.ajax({
url: '");
- #line 343 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+ #line 345 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
Write(Url.Action(MVC.API.Logging.RetrieveEvents()));
@@ -649,7 +661,7 @@ WriteLiteral(@"',
$.connection.hub.qs = { LogModules: '");
- #line 373 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
+ #line 375 "..\..\Areas\Config\Views\Enrolment\Status.cshtml"
Write(Disco.Services.Devices.Enrolment.EnrolmentLog.Current.LiveLogGroupName);
diff --git a/Disco.Web/Areas/Config/Views/Logging/Index.cshtml b/Disco.Web/Areas/Config/Views/Logging/Index.cshtml
index da25d551..ca698a38 100644
--- a/Disco.Web/Areas/Config/Views/Logging/Index.cshtml
+++ b/Disco.Web/Areas/Config/Views/Logging/Index.cshtml
@@ -4,31 +4,43 @@
Authorization.Require(Claims.Config.Logging.Show);
ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Logging");
- Html.BundleDeferred("~/ClientScripts/Modules/jQueryUI-TimePicker");
}
@using (Html.BeginForm(MVC.API.Logging.RetrieveEvents()))
-{
+{
+ @Html.AntiForgeryToken()
\r\n");
+"oxes.prop(\'checked\', true);\r\n }\r\n }\r\n " +
+" return false;\r\n });\r\n $(\'#event" +
+"TypesSelectNone\').click(function () {\r\n var selectedModule = " +
+"moduleId.val();\r\n if (selectedModule) {\r\n " +
+" var selectedModuleEventTypes = logModuleEventTypes.filter(\'[data-logmoduleid" +
+"=\"\' + selectedModule + \'\"]\');\r\n if (selectedModuleEventTy" +
+"pes.length > 0) {\r\n var selectedModuleEventTypeCheckb" +
+"oxes = selectedModuleEventTypes.find(\'input[type=\"checkbox\"]\');\r\n " +
+" selectedModuleEventTypeCheckboxes.prop(\'checked\', false);\r\n " +
+" }\r\n }\r\n return false;\r\n " +
+" });\r\n\r\n });\r\n \r\n
\r\n");
- #line 149 "..\..\Areas\Config\Views\Logging\Index.cshtml"
+ #line 148 "..\..\Areas\Config\Views\Logging\Index.cshtml"
}
@@ -372,7 +397,7 @@ WriteLiteral(">\r\n $(function () {\r\n var filterStar
WriteLiteral("
\r\n");
- #line 151 "..\..\Areas\Config\Views\Logging\Index.cshtml"
+ #line 150 "..\..\Areas\Config\Views\Logging\Index.cshtml"
Write(Html.Partial(MVC.Config.Shared.Views.LogEvents, new Disco.Web.Areas.Config.Models.Shared.LogEventsModel()
{
IsLive = true,
diff --git a/Disco.Web/Areas/Config/Views/Shared/LogEvents.cshtml b/Disco.Web/Areas/Config/Views/Shared/LogEvents.cshtml
index c40fd9be..49989539 100644
--- a/Disco.Web/Areas/Config/Views/Shared/LogEvents.cshtml
+++ b/Disco.Web/Areas/Config/Views/Shared/LogEvents.cshtml
@@ -7,6 +7,7 @@
var uniqueId = Guid.NewGuid().ToString("N");
}