Commit 07be9776 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Waste less vertical space in view access list

parent 43e55941
......@@ -1450,6 +1450,15 @@ fieldset.collapsed .mceEditor td {
#viewacl_lhs #results {
border-bottom: 1px solid #95a8b7;
}
#viewacl_lhs #results .button {
margin-top: 0;
height: 20px;
border: 0;
background: url(../images/icon-add.gif) no-repeat left 7px;
padding-left: 10px;
color: #7f9d16;
font-weight: bold;
}
#potentialpresetitems button {
border: 0;
background: url(../images/icon-add.gif) no-repeat left 7px;
......
......@@ -214,7 +214,7 @@ searchTable.rowfunction = function(rowdata, rownumber, globaldata) {
var identityNodes = [], profileIcon = null, roleSelector = null;
if (rowdata.type == 'user') {
profileIcon = IMG({'src': config.wwwroot + 'thumb.php?type=profileicon&maxwidth=40&maxheight=40&id=' + rowdata.id});
profileIcon = IMG({'src': config.wwwroot + 'thumb.php?type=profileicon&maxwidth=20&maxheight=20&id=' + rowdata.id});
identityNodes.push(A({'href': config.wwwroot + 'user/view.php?id=' + rowdata.id, 'target': '_blank'}, rowdata.name));
}
else if (rowdata.type == 'group') {
......@@ -238,7 +238,7 @@ searchTable.rowfunction = function(rowdata, rownumber, globaldata) {
return TR({'class': 'r' + (rownumber % 2)},
buttonTD,
TD({'style': 'vertical-align: middle;'}, identityNodes),
TD({'class': 'center', 'style': 'width:40px'}, profileIcon)
TD({'class': 'center', 'style': 'vertical-align: middle;width:20px;'}, profileIcon)
);
}
searchTable.updateOnLoad();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment