diff --git a/config/permissions.php b/config/permissions.php
index 0fa38651ee..73217898bb 100644
--- a/config/permissions.php
+++ b/config/permissions.php
@@ -14,6 +14,7 @@ return [
'label' => '',
'note' => 'Determines whether the user has full access to all aspects of the admin. This setting overrides any more specific permissions throughout the system. ',
'display' => true,
+ 'css-style' => 'danger',
],
],
@@ -23,6 +24,7 @@ return [
'label' => '',
'note' => 'Determines whether the user has access to all settings except admin settings (LDAP, Branding, etc) ',
'display' => true,
+ 'css-style' => 'warning',
],
],
@@ -32,6 +34,7 @@ return [
'label' => '',
'note' => 'This will allow users to import even if access to users, assets, etc is denied elsewhere.',
'display' => true,
+ 'css-style' => 'primary',
],
],
@@ -41,6 +44,7 @@ return [
'label' => 'View',
'note' => 'Determines whether the user has the ability to view reports.',
'display' => true,
+ 'css-style' => 'primary',
],
],
diff --git a/resources/views/groups/edit.blade.php b/resources/views/groups/edit.blade.php
index 8ea6341cb1..cdb6cddf1c 100755
--- a/resources/views/groups/edit.blade.php
+++ b/resources/views/groups/edit.blade.php
@@ -31,14 +31,19 @@
@if (count($section_permission) == 1)
-
-
+
+
+
- @unless (empty($localPermission['label']))
-
{{ $section . ': ' . $localPermission['label'] }}
- @else
-
{{ $section }}
- @endunless
+
{{ $localPermission['note'] }}
@@ -65,6 +70,51 @@
+
+
+
+
+ @else
+
+
+
+
+
+
+
{{ $localPermission['note'] }}
+
+
+
+
+
+
+
+
+
+
+
+
@@ -98,32 +148,6 @@
});
-
-
-
- $('.tooltip-base').tooltip({container: 'body'});
- $(".superuser").change(function() {
- var perms = $(this).val();
- if (perms =='1') {
- $("#nonadmin").hide();
- } else {
- $("#nonadmin").show();
- }
- });
-
- // Check/Uncheck all radio buttons in the group
- $('tr.header-row input:radio').on('ifClicked', function () {
- value = $(this).attr('value');
- area = $(this).data('checker-group');
- $('.radiochecker-'+area+'[value='+value+']').iCheck('check');
- });
-
-
- $('.header-name').click(function() {
- $(this).parent().nextUntil('tr.header-row').slideToggle(500);
- });
-
-
});