Monotone-Parent: 8b5761d2acde444a5c7b9214e3506a044c23919b
Monotone-Revision: c44cce7c2e022aab27ce96484383b17671de3791 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-11-20T17:11:26 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
fe606b36ac
commit
bc9b594178
|
@ -21,15 +21,14 @@ DIV#userSelector SPAN
|
||||||
{ display: block; }
|
{ display: block; }
|
||||||
|
|
||||||
INPUT#defaultRolesBtn
|
INPUT#defaultRolesBtn
|
||||||
{ no_position: absolute;
|
{ margin-left: 1em;
|
||||||
margin-left: 1em;
|
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
left: 1em; }
|
left: 1em; }
|
||||||
|
|
||||||
DIV#userRoles
|
DIV#userRoles
|
||||||
{ position: absolute;
|
{ position: absolute;
|
||||||
left: 1em;
|
left: 1em;
|
||||||
top: 8em;
|
top: 7.6em;
|
||||||
right: 1em;
|
right: 1em;
|
||||||
bottom: 0px; }
|
bottom: 0px; }
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
|
|
||||||
var contactSelectorAction = 'acls-contacts';
|
var contactSelectorAction = 'acls-contacts';
|
||||||
var defaultUserID = '';
|
var defaultUserID = '';
|
||||||
var userRightsHeight;
|
var AclEditor = {
|
||||||
var userRightsWidth;
|
userRightsHeight: null,
|
||||||
|
userRightsWidth: null
|
||||||
|
};
|
||||||
|
|
||||||
function addUser(userName, userID) {
|
function addUser(userName, userID) {
|
||||||
if (!$(userID)) {
|
if (!$(userID)) {
|
||||||
|
@ -100,8 +102,8 @@ function openRightsForUserID(userID) {
|
||||||
elements[elements.length-1] = "userRights?uid=" + userID;
|
elements[elements.length-1] = "userRights?uid=" + userID;
|
||||||
|
|
||||||
window.open(elements.join("/"), "",
|
window.open(elements.join("/"), "",
|
||||||
"width=" + userRightsWidth
|
"width=" + AclEditor['userRightsWidth']
|
||||||
+ ",height=" + userRightsHeight
|
+ ",height=" + AclEditor['userRightsHeight']
|
||||||
+ ",resizable=0,scrollbars=0,toolbar=0,"
|
+ ",resizable=0,scrollbars=0,toolbar=0,"
|
||||||
+ "location=0,directories=0,status=0,menubar=0,copyhistory=0");
|
+ "location=0,directories=0,status=0,menubar=0,copyhistory=0");
|
||||||
}
|
}
|
||||||
|
@ -141,8 +143,8 @@ function onAclLoadHandler() {
|
||||||
Event.observe(buttons[1], "click", onUserRemove);
|
Event.observe(buttons[1], "click", onUserRemove);
|
||||||
}
|
}
|
||||||
|
|
||||||
userRightsHeight = window.opener.getUsersRightsWindowHeight();
|
AclEditor['userRightsHeight'] = window.opener.getUsersRightsWindowHeight();
|
||||||
userRightsWidth = window.opener.getUsersRightsWindowWidth();
|
AclEditor['userRightsWidth'] = window.opener.getUsersRightsWindowWidth();
|
||||||
}
|
}
|
||||||
|
|
||||||
FastInit.addOnLoad(onAclLoadHandler);
|
FastInit.addOnLoad(onAclLoadHandler);
|
||||||
|
|
|
@ -591,6 +591,9 @@ A[class~="_disabled"].button:active
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: inherit; }
|
color: inherit; }
|
||||||
|
|
||||||
|
A.button
|
||||||
|
{ padding: 4px; }
|
||||||
|
|
||||||
A.button IMG
|
A.button IMG
|
||||||
{ vertical-align: middle; }
|
{ vertical-align: middle; }
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,25 @@ TD.tbtv_navcell
|
||||||
border-right: 1px solid #666;
|
border-right: 1px solid #666;
|
||||||
border-bottom: 1px solid #666; }
|
border-bottom: 1px solid #666; }
|
||||||
|
|
||||||
|
A.button,
|
||||||
|
INPUT.button
|
||||||
|
{ border: 1px solid #fff;
|
||||||
|
border-right: 1px solid #666;
|
||||||
|
border-bottom: 1px solid #666;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px; }
|
||||||
|
|
||||||
|
A.button IMG
|
||||||
|
{ margin: 1px; }
|
||||||
|
|
||||||
|
/* UIxAclEditor */
|
||||||
|
|
||||||
|
DIV#userRoles
|
||||||
|
{ }
|
||||||
|
|
||||||
|
UL#userList
|
||||||
|
{ top: 3em; }
|
||||||
|
|
||||||
/* MailerUI */
|
/* MailerUI */
|
||||||
IMG.dragMessage
|
IMG.dragMessage
|
||||||
{ filter: alpha(opacity=70); }
|
{ filter: alpha(opacity=70); }
|
||||||
|
|
Loading…
Reference in a new issue