fix: enrollment > enrolment

This commit is contained in:
Gary Sharp
2025-02-16 17:13:55 +11:00
parent 786d4809b5
commit 162ca20046
21 changed files with 160 additions and 160 deletions
@@ -5,7 +5,7 @@
var canConfig = Authorization.Has(Claims.Config.Enrolment.Configure);
var canShowStatus = Authorization.Has(Claims.Config.Enrolment.ShowStatus);
ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Enrollment");
ViewBag.Title = Html.ToBreadcrumb("Configuration", MVC.Config.Config.Index(), "Device Enrolment");
}
<div class="form" style="width: 530px;">
<table>
@@ -45,7 +45,7 @@
return;
} else {
$.ajax({
url: '@Url.Action(MVC.API.Enrollment.PendingTimeoutMinutes())',
url: '@Url.Action(MVC.API.Enrolment.PendingTimeoutMinutes())',
dataType: 'json',
method: 'POST',
data: data,
@@ -76,8 +76,8 @@
<tr>
<td colspan="2">
<span class="smallText">
If a device enrollment is not automatically approved it will remain pending until the timeout is reached.
Pending enrollments can be approved manually from the Enrollment Status page.
If a device enrolment is not automatically approved it will remain pending until the timeout is reached.
Pending enrolments can be approved manually from the Enrolment Status page.
</span>
</td>
</tr>
@@ -215,7 +215,7 @@
<div class="code">
curl&nbsp;<a target="_blank" href="http://disco:9292/Services/Client/Unauthenticated/MacSecureEnrol">http://disco:9292/Services/Client/Unauthenticated/MacSecureEnrol</a>
</div>
<span class="smallText">This url will return a <a target="_blank" href="http://json.org/">JSON</a> response containing basic information about the enrollment.</span><br />
<span class="smallText">This url will return a <a target="_blank" href="http://json.org/">JSON</a> response containing basic information about the enrolment.</span><br />
<span class="smallMessage">
This command makes use of <a target="_blank" href="http://curl.haxx.se/">cURL</a> (bundled with OSX). Other methods can also trigger a Mac Secure Enroll,
such as an anchor (<span class="code">&lt;a&gt;</span>) or <span class="code">&lt;script&gt;</span>
@@ -227,7 +227,7 @@
</div>
@if (canShowStatus && Authorization.Has(Claims.Config.Logging.Show))
{
<h2>Live Enrollment Logging</h2>
<h2>Live Enrolment Logging</h2>
@Html.Partial(MVC.Config.Shared.Views.LogEvents, new Disco.Web.Areas.Config.Models.Shared.LogEventsModel()
{
IsLive = true,
@@ -244,6 +244,6 @@
}
@if (canShowStatus)
{
@Html.ActionLinkButton("Enrollment Status", MVC.Config.Enrolment.Status())
@Html.ActionLinkButton("Enrolment Status", MVC.Config.Enrolment.Status())
}
</div>