Added additional labels for grant/deny checkboxes
authorAlexander Ebert <ebert@woltlab.com>
Sun, 9 Oct 2016 11:42:22 +0000 (13:42 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 9 Oct 2016 11:42:22 +0000 (13:42 +0200)
wcfsetup/install/files/js/WCF.ACL.js
wcfsetup/install/files/style/ui/acl.scss

index 9d7d86686d0083be87a2ddc515c401cf7ed3c8f4..4f8edbeda77ef5952884745c3f41b9984404fc5e 100644 (file)
@@ -104,6 +104,8 @@ WCF.ACL.List = Class.extend({
                var $aclList = $('<ul class="aclList containerList" />').appendTo($elementContainer);
                var $searchInput = $('<input type="text" class="long" placeholder="' + WCF.Language.get('wcf.acl.search.' + (!includeUserGroups ? 'user.' : '') + 'description') + '" />').appendTo($elementContainer);
                var $permissionList = $('<ul class="aclPermissionList containerList" />').hide().appendTo($elementContainer);
+               elData($permissionList[0], 'grant', WCF.Language.get('wcf.acl.option.grant'));
+               elData($permissionList[0], 'deny', WCF.Language.get('wcf.acl.option.deny'));
                
                // set elements
                this._containerElements = {
index b406ac7eeda5f1fd7eaf45491afb8ba39298a1fd..285aaf16342b51fdd845b585b412dd3c6312d8f6 100644 (file)
 /* permissions per object */
 .aclPermissionList {
        margin-top: 40px;
+       position: relative;
+       
+       &::after,
+       &::before {
+               min-width: 60px;
+               position: absolute;
+               text-align: center;
+               top: -5px;
+               transform: translateY(-100%);
+               
+               @include wcfFontSmall;
+       }
+       
+       &::after {
+               content: attr(data-deny);
+               right: 0;
+       }
+       
+       &::before {
+               content: attr(data-grant);
+               right: 80px;
+       }
        
        > li {
                &.aclCategory {