UI Improvements: info-box css

This commit is contained in:
Gary Sharp
2014-06-17 00:00:56 +10:00
parent 34842012b7
commit 84a4ba281f
38 changed files with 1077 additions and 976 deletions
@@ -647,19 +647,20 @@
{
@Html.ActionLinkSmallButton("Trust Enrol", MVC.API.Device.UpdateAllowUnauthenticatedEnrol(Model.Device.SerialNumber, true.ToString(), true), "Device_Show_Device_Actions_TrustEnrol_Button")
<div id="Device_Show_Device_Actions_TrustEnrol_Dialog" class="dialog" title="Trust this Device?">
<div class="ui-widget">
<div class="ui-state-highlight ui-corner-all" style="padding: 6px;">
<div style="padding-bottom: 6px;">
<i class="fa fa-exclamation-triangle fa-lg"></i>&nbsp;
This action will allow a device <em>claiming</em> to have the Serial Number '@(Model.Device.SerialNumber)' to be enrolled without authentication.
</div>
<p>
Devices flagged as 'trusted' are allowed a single-use device enrolment without providing authentication (for example: Active Directory Computer Account).
</p>
<p>
Once a device enrols, its trust setting is reset and additional enrolments need to be authenticated (domain joined) or manually trusted again.
</p>
<div class="info-box" style="margin-top: 1em;">
<p class="fa-p" style="margin-bottom: 1em;">
<i class="fa fa-exclamation-triangle"></i>This action will allow a device <em>claiming</em> to have the Serial Number '@(Model.Device.SerialNumber)' to be enrolled without authentication.
</p>
<div>
<strong>Are you sure you want to allow an unauthenticated enrolment?</strong>
</div>
</div>
<div class="smallMessage" style="margin-top: 10px; font-size: 1em;">
Devices flagged as 'trusted' are allowed a single-use device enrolment without providing authentication (for example: Active Directory Computer Account).<br />
Once a devices enrol, their trust setting is reset and additional enrolments need to be authenticated (domain joined) or manually trusted again.
</div>
</div>
<script type="text/javascript">
$(function () {
@@ -699,10 +700,14 @@
{
@Html.ActionLinkSmallButton("Untrust Enrol", MVC.API.Device.UpdateAllowUnauthenticatedEnrol(Model.Device.SerialNumber, false.ToString(), true), "Device_Show_Device_Actions_UntrustEnrol_Button")
<div id="Device_Show_Device_Actions_UntrustEnrol_Dialog" title="Untrust this Device?">
<div style="padding-bottom: 6px;">
<i class="fa fa-info-circle information"></i>&nbsp;This action will require the device to enrol with authentication (for example: domain joined).
<div class="info-box">
<p class="fa-p" style="margin-bottom: 1em;">
<i class="fa fa-info-circle"></i>This action will require the device to enrol with authentication (for example: domain joined).
</p>
<div>
<strong>Are you sure you want to require an authenticated enrolment?</strong>
</div>
</div>
<strong>Are you sure you want to require an authenticated enrolment?</strong>
</div>
<script type="text/javascript">
$(function () {