diff options
Diffstat (limited to 'plugins/acl/skins/default')
-rw-r--r-- | plugins/acl/skins/default/acl.css | 100 | ||||
-rw-r--r-- | plugins/acl/skins/default/images/enabled.png | bin | 0 -> 674 bytes | |||
-rw-r--r-- | plugins/acl/skins/default/images/partial.png | bin | 0 -> 389 bytes | |||
-rw-r--r-- | plugins/acl/skins/default/templates/table.html | 54 |
4 files changed, 154 insertions, 0 deletions
diff --git a/plugins/acl/skins/default/acl.css b/plugins/acl/skins/default/acl.css new file mode 100644 index 000000000..cf3391f49 --- /dev/null +++ b/plugins/acl/skins/default/acl.css @@ -0,0 +1,100 @@ +#aclmanager +{ + position: relative; + border: 1px solid #999; + min-height: 302px; +} + +#aclcontainer +{ + overflow-x: auto; +} + +#acltable +{ + width: 100%; + border-collapse: collapse; + background-color: #F9F9F9; +} + +#acltable td +{ + width: 1%; + white-space: nowrap; +} + +#acltable thead td +{ + padding: 0 4px 0 2px; +} + +#acltable tbody td +{ + text-align: center; + padding: 2px; + border-bottom: 1px solid #999999; + cursor: default; +} + +#acltable tbody td.user +{ + width: 96%; + text-align: left; + overflow: hidden; + text-overflow: ellipsis; + -o-text-overflow: ellipsis; +} + +#acltable tbody td.partial +{ + background: url(images/partial.png) center no-repeat; +} + +#acltable tbody td.enabled +{ + background: url(images/enabled.png) center no-repeat; +} + +#acltable tr.selected td +{ + color: #FFFFFF; + background-color: #CC3333; +} + +#acltable tr.unfocused td +{ + color: #FFFFFF; + background-color: #929292; +} + +#acladvswitch +{ + position: absolute; + right: 4px; + text-align: right; + line-height: 22px; +} + +#acladvswitch input +{ + vertical-align: middle; +} + +#acladvswitch span +{ + display: block; +} + +#aclform +{ + top: 80px; + width: 480px; + padding: 10px; +} + +#aclform div +{ + padding: 0; + text-align: center; + clear: both; +} diff --git a/plugins/acl/skins/default/images/enabled.png b/plugins/acl/skins/default/images/enabled.png Binary files differnew file mode 100644 index 000000000..98215f68c --- /dev/null +++ b/plugins/acl/skins/default/images/enabled.png diff --git a/plugins/acl/skins/default/images/partial.png b/plugins/acl/skins/default/images/partial.png Binary files differnew file mode 100644 index 000000000..12023f057 --- /dev/null +++ b/plugins/acl/skins/default/images/partial.png diff --git a/plugins/acl/skins/default/templates/table.html b/plugins/acl/skins/default/templates/table.html new file mode 100644 index 000000000..2365ef757 --- /dev/null +++ b/plugins/acl/skins/default/templates/table.html @@ -0,0 +1,54 @@ +<!--[if lte IE 6]> + <style type="text/css"> + #aclmanager { height: expression(Math.min(302, parseInt(document.documentElement.clientHeight))+'px'); } + </style> +<![endif]--> + +<div id="aclmanager"> +<div id="aclcontainer" class="boxlistcontent" style="top:0"> + <roundcube:object name="acltable" id="acltable" class="records-table" /> +</div> +<div class="boxfooter"> + <roundcube:button command="acl-create" id="aclcreatelink" type="link" title="acl.newuser" class="buttonPas addgroup" classAct="button addgroup" content=" " /> + <roundcube:button name="aclmenulink" id="aclmenulink" type="link" title="acl.actions" class="button groupactions" onclick="show_aclmenu(); return false" content=" " /> + <roundcube:if condition="!in_array('acl_advanced_mode', (array)config:dont_override)" /> + <div id="acladvswitch" class="pagenav"> + <span><label for="acl-switch"><roundcube:label name="acl.advanced" /></label> + <input type="checkbox" id="acl-switch" onclick="rcmail.command('acl-mode-switch')"<roundcube:exp expression="config:acl_advanced_mode == true ? ' checked=checked' : ''" /> /> + </span> + </div> + <roundcube:endif /> +</div> +</div> + +<div id="aclmenu" class="popupmenu"> + <ul> + <li><roundcube:button command="acl-edit" label="edit" classAct="active" /></li> + <li><roundcube:button command="acl-delete" label="delete" classAct="active" /></li> + </ul> +</div> + +<div id="aclform" class="popupmenu"> + <fieldset class="thinbordered"><legend><roundcube:label name="acl.identifier" /></legend> + <roundcube:object name="acluser" class="toolbarmenu" id="acluser" size="35" /> + </fieldset> + <fieldset class="thinbordered"><legend><roundcube:label name="acl.myrights" /></legend> + <roundcube:object name="aclrights" class="toolbarmenu" /> + </fieldset> + <div> + <roundcube:button command="acl-cancel" type="input" class="button" label="cancel" /> + <roundcube:button command="acl-save" type="input" class="button mainaction" label="save" /> + </div> +</div> + +<script type="text/javascript"> +function show_aclmenu() +{ + if (!rcmail_ui) { + rcube_init_mail_ui(); + rcmail_ui.popups.aclmenu = {id:'aclmenu', above:1, obj: $('#aclmenu')}; + } + + rcmail_ui.show_popup('aclmenu'); +} +</script> |