Thomas Bruederli
2014-02-04 d3583f0c0e30b775bc541f21e9764af624c7f367
Fix some glitches in ACL table display
5 files modified
19 ■■■■■ changed files
plugins/acl/acl.js 4 ●●● patch | view | raw | blame | history
plugins/acl/localization/en_US.inc 2 ●●● patch | view | raw | blame | history
plugins/acl/skins/larry/acl.css 9 ●●●● patch | view | raw | blame | history
plugins/acl/skins/larry/templates/table.html 2 ●●● patch | view | raw | blame | history
skins/larry/styles.css 2 ●●● patch | view | raw | blame | history
plugins/acl/acl.js
@@ -132,7 +132,9 @@
// ACL table initialization
rcube_webmail.prototype.acl_list_init = function()
{
    $('#acl-switch')[this.env.acl_advanced ? 'addClass' : 'removeClass']('selected');
    var method = this.env.acl_advanced ? 'addClass' : 'removeClass';
    $('#acl-switch')[method]('selected');
    $(this.gui_objects.acltable)[method]('advanced');
    this.acl_list = new rcube_list_widget(this.gui_objects.acltable,
        {multiselect:true, draggable:false, keyboard:true, toggleselect:true});
plugins/acl/localization/en_US.inc
@@ -19,7 +19,7 @@
$labels['sharing'] = 'Sharing';
$labels['myrights'] = 'Access Rights';
$labels['username'] = 'User:';
$labels['advanced'] = 'advanced mode';
$labels['advanced'] = 'Advanced mode';
$labels['newuser'] = 'Add entry';
$labels['actions'] = 'Access right actions...';
$labels['anyone'] = 'All users (anyone)';
plugins/acl/skins/larry/acl.css
@@ -38,19 +38,25 @@
  border-left: #BBD3DA dotted 1px;
  font-size: 11px;
  font-weight: bold;
  width: auto;
}
#acltable tbody td
{
  border-bottom: #DDDDDD 1px solid;
  text-align: center;
  padding: 2px;
  height: 16px;
  cursor: default;
}
#acltable thead td.user
{
  border-left: none;
  width: 30%;
}
#acltable.advanced thead td.user {
    width: 25%;
}
#acltable tbody td.user
@@ -60,7 +66,6 @@
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  border-left: none;
  width: 50px;
}
#acltable tbody td.partial
plugins/acl/skins/larry/templates/table.html
@@ -12,7 +12,7 @@
        <li><roundcube:button command="acl-edit" label="edit" class="icon" classAct="icon active" innerclass="icon edit" /></li>
        <li><roundcube:button command="acl-delete" label="delete" class="icon" classAct="icon active" innerclass="icon delete" /></li>
        <roundcube:if condition="!in_array('acl_advanced_mode', (array)config:dont_override)" />
            <li><roundcube:button name="acl-switch" id="acl-switch" label="acl.advanced" onclick="rcmail.command('acl-mode-switch')" class="active" /></li>
            <li><roundcube:button name="acl-switch" id="acl-switch" label="acl.advanced" onclick="rcmail.command('acl-mode-switch');return false" class="active" /></li>
        <roundcube:endif />
    </ul>
</div>
skins/larry/styles.css
@@ -1424,7 +1424,7 @@
.records-table tr.unfocused td {
    color: #fff !important;
    background: #4db0d2 !important;
    background-color: #4db0d2 !important;
}
.records-table tr.unfocused td a,