Monotone-Parent: 80684900fe7fb47108b9eefc3be3b81bb475dda6

Monotone-Revision: ce590111b616c22caae685602b30ef78046809e7

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-06-19T17:59:59
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau 2007-06-19 17:59:59 +00:00
parent 5c15adfa00
commit 7d2e2ec66f
4 changed files with 59 additions and 5 deletions

View file

@ -500,15 +500,18 @@ TABLE#messageList TD.messageFlagColumn
TABLE#messageList TD.tbtv_subject_headercell,
TABLE#messageList td.mailer_unreadmailsubject,
TABLE#messageList td.mailer_readmailsubject
{ width: 40%; }
{ width: 40%;
min-width: 40%; }
TABLE#messageList TD.tbtv_from_headercell,
TABLE#messageList TD.messageAddressColumn
{ width: 35%; }
{ width: 35%;
overflow: hidden; }
TABLE#messageList TD.tbtv_date_headercell,
TABLE#messageList TD.messageDateColumn
{ width: 25%; }
{ width: 25%;
overflow: hidden; }
TABLE#messageList TR._selected TD
{

View file

@ -0,0 +1,34 @@
DIV#preferencesTabs
{ position: absolute;
top: 5em;
left: .5em;
right: .5em;
bottom: .5em; }
DIV#dateTimeFormat,
DIV#passwordView
{ text-align: right; }
DIV#outOfOfficeView
{ padding-top: 2em;
padding-left: 2em;
padding-right: 5em; }
DIV#outOfOfficeView LABEL
{ text-align: left;
margin-left: 0px;
white-space: normal; }
DIV#outOfOfficeView TEXTAREA
{ width: 30em;
margin: 0px;
height: 4em; }
DIV#dateTimeView
{ padding-top: 3em;
padding-left: 1em;
padding-right: 2em; }
DIV#passwordView
{ padding-top: 3em;
padding-right: 10em; }

View file

@ -0,0 +1,5 @@
function savePreferences(sender) {
$("mainForm").submit();
return false;
}

View file

@ -1211,6 +1211,16 @@ function onLinkBannerClick() {
checkAjaxRequestsState();
}
function onPreferencesClick(event) {
var urlstr = UserFolderURL + "preferences";
var w = window.open(urlstr, "User Preferences",
"width=430,height=250,resizable=0,scrollbars=0");
w.opener = window;
w.focus();
event.preventDefault();
}
function configureLinkBanner() {
var linkBanner = $("linkBanner");
if (linkBanner) {
@ -1219,8 +1229,10 @@ function configureLinkBanner() {
Event.observe(anchors[i], "mousedown", listRowMouseDownHandler);
Event.observe(anchors[i], "click", onLinkBannerClick);
}
if (anchors.length > 3)
Event.observe(anchors[3], "click", toggleLogConsole);
Event.observe(anchors[3], "mousedown", listRowMouseDownHandler);
Event.observe(anchors[3], "click", onPreferencesClick);
if (anchors.length > 4)
Event.observe(anchors[4], "click", toggleLogConsole);
}
}