Major refresh of CSS stylesheets.

Monotone-Parent: 508bbe52515b0ad7119c755b4cc91d17e313c06b
Monotone-Revision: d09001490c2d88332ef3ec446bfd0aa488d0de8c

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-11-04T22:13:20
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-11-04 22:13:20 +00:00
parent a0eef52a7f
commit 468073b131
92 changed files with 1538 additions and 1311 deletions
+16
View File
@@ -1,3 +1,10 @@
2009-11-04 Francis Lachapelle <flachapelle@inverse.ca>
* Major refresh of CSS stylesheets.
* UI/WebServerResources/SOGoAutoCompletion.js
(performSearchCallback): fixed position of popup menu when used in
the contacts list editor.
2009-11-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/NSDictionary+Utilities.m
@@ -57,6 +64,15 @@
when clicking on Accept/Decline/Delegate into
the user's calendar if it's not in there already.
2009-10-27 Cyril Robert <crobert@inverse.ca>
* UI/Common/UIxPageFrame.m (userEmail): Added to display the user's email
address in the linkBanner.
* UI/Contacts/UIxListView.m
(itemHref, itemName, itemEmail): Added to allow clickable email addresses in
UIxListView.
(itemText): Removed, no longer needed.
2009-10-27 Ludovic Marcotte <lmarcotte@inverse.ca>
* SoObjects/SOGo/SOGoGCSFolder.m (create)
+1
View File
@@ -96,6 +96,7 @@ extern NSString *SOGoWeekStartFirstFullWeek;
/* properties */
- (NSArray *) allEmails;
- (BOOL) hasEmail: (NSString *) email;
- (NSString *) systemEmail;
- (NSString *) cn;
- (NSURL *) freeBusyURL;
+5
View File
@@ -399,6 +399,11 @@ static NSString *siteFavicon = nil;
&& [user isSuperUser]);
}
- (NSString *) userEmail
{
return [[context activeUser] systemEmail];
}
- (BOOL) canLogoff
{
BOOL canLogoff;
@@ -14,7 +14,7 @@
<div>
<h3><!-- module title --></h3>
<div><!-- module description --></div>
<p class="button"><a href="#" class="button" id="helpDialogClose"><var:string label:value="Close"/></a></p>
<a href="#" class="button" id="helpDialogClose"><span><var:string label:value="Close"/></span></a>
</div>
</div>
+28 -30
View File
@@ -9,11 +9,10 @@
title="name"
const:popup="YES"
>
<form var:href="saveURL" name="editform"
onsubmit="return validateContactEditor()">
<form var:href="saveURL" name="editform" id="mainForm">
<var:if condition="isNew"><div id="addressBookSelector">
<style type="text/css">DIV#editorTabs { top: 3.0em; };</style>
<var:if condition="isNew"><div id="addressBookSelector">
<style type="text/css">DIV#editorTabs { top: 4.5em; };</style>
<var:string label:value="Add to:" />
<var:popup const:id="addressBooksList"
list="addressBooksList" item="addressBookItem"
@@ -24,14 +23,18 @@
<div class="tabsContainer" id="editorTabs">
<ul>
<li target="baseInfos"><var:string label:value="Contact" /></li>
<li target="addressesInfos"><var:string label:value="Address" /></li>
<li target="otherInfos"><var:string label:value="Other" /></li>
<li target="baseInfos">
<span><var:string label:value="Contact" /></span>
</li>
<li target="addressesInfos">
<span><var:string label:value="Address" /></span></li>
<li target="otherInfos">
<span><var:string label:value="Other" /></span></li>
</ul>
<div id="baseInfos" class="tab">
<span class="caption"><var:string label:value="Name" /></span>
<table>
<span class="caption"><var:string label:value="Name" /></span>
<table class="frame">
<tr>
<td>
<label><var:string label:value="First:" />
@@ -66,8 +69,8 @@
</td>
</tr>
</table>
<span class="caption"><var:string label:value="Internet" /></span>
<table id="emailInfos">
<span class="caption"><var:string label:value="Internet" /></span>
<table class="frame" id="emailInfos">
<tr>
<td>
<label><var:string label:value="Email:" />
@@ -106,8 +109,8 @@
</td>
</tr>
</table>
<span class="caption"><var:string label:value="Phones" /></span>
<table>
<span class="caption"><var:string label:value="Phones" /></span>
<table class="frame">
<tr>
<td>
<label><var:string label:value="Work:" />
@@ -167,7 +170,7 @@
<div id="addressesInfos" class="tab">
<span class="caption"><var:string label:value="Home" /></span>
<table>
<table class="frame">
<tr>
<td colspan="2">
<label><var:string label:value="Address:" />
@@ -223,8 +226,8 @@
</td>
</tr>
</table>
<span class="caption"><var:string label:value="Work" /></span>
<table>
<span class="caption"><var:string label:value="Work" /></span>
<table class="frame">
<tr>
<td colspan="2">
<label>
@@ -234,8 +237,8 @@
var:value="snapshot.title" />
</label>
</td>
</tr>
<tr>
</tr>
<tr>
<td colspan="2">
<label>
<var:string label:value="Department:" />
@@ -311,7 +314,7 @@
</div>
<div id="otherInfos" class="tab">
<table>
<table class="framenocaption">
<tr>
<td class="firstColumn">
<label><var:string label:value="Birthday:" />
@@ -345,18 +348,13 @@
</div>
</div>
<div id="buttons">
<input
id="cancelButton"
type="button"
class="button"
label:value="Cancel"
name="cancel"/>
<var:if condition="canCreateOrModify"
><input
type="submit"
class="button"
label:value="Save"
name="submit" /></var:if>
><a class="button actionButton" name="submit" id="submitButton">
<span><var:string label:value="Save" /></span>
</a></var:if>
<a id="cancelButton" class="button" name="cancel">
<span><var:string label:value="Cancel"/></span>
</a>
</div>
</form>
</var:component>
@@ -22,6 +22,7 @@
</var:if><var:if condition="contactsListContentStyle">
DIV#contactsListContent
{ height: <var:string value="contactsListContentStyle" />; }
</var:if><var:if condition="isPopup">
</var:if>
</style>
@@ -34,8 +35,11 @@
onsubmit="return AIM.submit(this, {'onStart' : validateUploadForm,
'onComplete' : uploadCompleted})">
<p><input type="file" name="contactsFile" id="contactsFile" /></p>
<p class="buttons"><input class="button" type="submit" const:id="uploadSubmit" label:value="Upload"/>
<input class="button" type="button" const:id="uploadCancel" label:value="Cancel"/></p>
<p><a href="#" class="button actionButton" id="uploadSubmit"
onclick="if($('uploadForm').onsubmit()) $('uploadForm').submit()">
<span><var:string label:value="Upload" /></span></a>
<a href="#" class="button" const:id="uploadCancel">
<span><var:string label:value="Cancel" /></span></a></p>
</form>
</div>
</div>
@@ -44,8 +48,8 @@
<div>
<h3><var:string label:value="Import Cards"/></h3>
<p id="uploadResultsContent"><!-- empty --></p>
<p class="buttons"><input class="button" type="button" const:id="uploadOK"
label:value="Done"/></p>
<p><a href="#" class="button" const:id="uploadOK">
<span><var:string label:value="Done" /></span></a></p>
</div>
</div>
@@ -78,50 +82,55 @@
</ul>
</div>
<!-- var:if condition="isPopup" const:negate="YES" -->
<!-- <var:if condition="hideFolderTree" const:negate="YES" -->
<div class="contactFoldersList" id="contactFoldersList">
<div class="titlediv"
><var:string label:value="Address Books"
/></div>
<!-- var:if var:condition="isPopup" const:negate="YES" -->
<div class="toolbar" id="abToolbar">
<a href="#" class="toolbarButton"
><span class="toolbarButton"
><img rsrc:src="add-addressbook.png" label:title="New Addressbook..."
/></span></a
><a href="#" class="toolbarButton"
><span class="toolbarButton"
><img rsrc:src="add-user-addressbook.png" label:title="Subscribe to an Addressbook..."
/></span></a
><a href="#" class="toolbarButton"
><span class="toolbarButton"
><img rsrc:src="remove-addressbook.png" label:title="Remove the selected Addressbook"
/></span></a
></div><!-- var:if -->
<ul id="contactFolders">
<var:foreach list="contactFolders" item="currentFolder"
><li var:id="currentContactFolderId"
var:owner="currentContactFolderOwner"
var:class="currentContactFolderClass"
><var:string value="currentContactFolderName" /></li
></var:foreach
>
</ul>
<var:if condition="hasContactSelectionButtons">
<div class="contactSelection">
<var:component value="selectorComponent" />
</div>
</var:if>
<div class="contactFoldersList" id="contactFoldersList">
<div class="tabsContainer" id="smallToolbarContainer">
<ul>
<li target="abToolbar">
<span><var:string label:value="Address Books" /></span>
</li>
</ul>
<div id="abToolbar" class="tab">
<a href="#" class="smallToolbarButton">
<span><img rsrc:src="add-addressbook.png"
label:title="New Addressbook..."/>
</span>
</a>
<a href="#" class="smallToolbarButton">
<span>
<img rsrc:src="add-user-addressbook.png"
label:title="Subscribe to an Addressbook..." />
</span>
</a>
<a href="#" class="smallToolbarButton">
<span>
<img rsrc:src="remove-addressbook.png"
label:title="Remove the selected Addressbook"/>
</span>
</a>
</div>
</div>
<div class="dragHandle" id="dragHandle"><!-- space --></div>
<!-- var:if -->
<ul id="contactFolders">
<var:foreach list="contactFolders" item="currentFolder"
><li var:id="currentContactFolderId"
var:owner="currentContactFolderOwner"
var:class="currentContactFolderClass"
><var:string value="currentContactFolderName" /></li
></var:foreach
>
</ul>
<div id="rightPanel">
<var:component className="UIxContactsFilterPanel" qualifier="qualifier" />
<var:if condition="hasContactSelectionButtons">
<div class="contactSelection">
<var:component value="selectorComponent" />
</div>
</var:if>
</div>
<div class="dragHandle" id="dragHandle"><!-- space --></div>
<div id="rightPanel">
<var:component className="UIxContactsFilterPanel" qualifier="qualifier" />
<div id="contactsListContent"><!-- space --></div>
@@ -9,16 +9,10 @@
xmlns:rsrc="OGo:url"
id="contactSelectionButtons">
<span id="selectionLabel"><var:string label:value="Add as..."/></span><br/>
<input type="submit"
class="button"
label:value="Recipient"
name="to"/><br/>
<input type="submit"
class="button"
label:value="Carbon Copy"
name="cc"/><br/>
<input type="submit"
class="button"
label:value="Blind Carbon Copy"
name="bcc"/>
<p id="mailerSelectionContainer"><a href="#" class="button" name="to">
<span><var:string label:value="Recipient" /></span></a>
<br/><a href="#" class="button" name="cc">
<span><var:string label:value="Carbon Copy" /></span></a>
<br/><a href="#" class="button" name="bcc">
<span><var:string label:value="Blind Carbon Copy" /></span></a></p>
</span>
@@ -15,6 +15,7 @@
<var:component className="UIxContactsFilterPanel" qualifier="qualifier" />
<div id="folders"><!-- space --></div>
<div id="buttons">
<input type="submit" id="addButton" class="button" label:value="Add..." const:disabled="YES" />
<a id="addButton" class="button actionButton disabled" href="#">
<span><var:string label:value="Add..." /></span></a>
</div>
</var:component>
@@ -43,10 +43,11 @@
label:value="This person can erase cards from this addressbook."/></label>
</div>
<div class="buttons">
<input const:name="updateButton" id="updateButton"
class="button" type="submit" label:value="Update"/>
<input const:name="cancelButton" id="cancelButton"
class="button" type="button" label:value="Cancel"/>
<a href="#" const:name="updateButton" id="updateButton"
class="button actionButton">
<span><var:string label:value="Update" /></span></a>
<a href="#" const:name="cancelButton" id="cancelButton" class="button">
<span><var:string label:value="Cancel" /></span></a>
</div>
</form>
</var:component>
+25 -23
View File
@@ -17,11 +17,10 @@
<div class="popupMenu" id="contactsMenu">
<ul></ul>
</div>
<form var:href="saveURL" name="editform"
onsubmit="return validateListEditor();">
<form var:href="saveURL" name="editform" id="mainForm">
<div id="listEditor">
<h3><var:string label:value="List details" /></h3>
<table class="details" cellspacing="0"><tr><td width="30%"><var:string label:value="List name:"/></td>
<span class="caption"><var:string label:value="List details" /></span>
<table class="frame"><tr><td width="35%"><var:string label:value="List name:"/></td>
<td><input type="text" const:id="listName" const:name="listName"
var:value="listName" class="textField" /></td></tr>
<tr><td><var:string label:value="List nickname:"/></td>
@@ -31,8 +30,8 @@
<td><input type="text" const:id="description" const:name="description"
var:value="description" class="textField" /></td></tr>
</table>
<h3><var:string label:value="Members" /></h3>
<div class="frame">
<span class="caption"><var:string label:value="Members" /></span>
<table class="frame"><tr><td>
<div id="referenceListWrapper">
<table id="referenceList" cellspacing="0">
<thead>
@@ -55,27 +54,30 @@
</tbody>
</table>
</div>
</td></tr>
<tr><td>
<div class="bottomToolbar">
<a const:id="referenceAdd" class="bottomButton" href="#">
<span><img rsrc:src="add-icon.png" label:title="Add" />
</span></a>
<a const:id="referenceDelete" class="bottomButton" href="#">
<span><img rsrc:src="remove-icon.png" label:title="Delete" />
</span></a>
</div>
</td></tr>
</table>
</div>
<input type="hidden" name="referencesValue" id="referencesValue"
var:value="referencesValue" />
<label><input type="button" class="button"
id="referenceAdd" label:value="Add"/></label>
<label><input type="button" class="button"
id="referenceDelete" label:value="Delete"/></label>
</div>
</div>
<div id="buttons">
<input
id="cancelButton"
type="button"
class="button"
label:value="Cancel"
name="cancel"/>
<var:if condition="canCreateOrModify"
><input
type="submit"
class="button"
label:value="Save"
name="submit" /></var:if>
><a class="button actionButton" name="submit"
id="submitButton" href="#" >
<span><var:string label:value="Save"/></span>
</a></var:if>
<a const:id="cancelButton" class="button" name="cancel" href="#">
<span><var:string label:value="Cancel"/></span>
</a>
</div>
</form>
</var:component>
@@ -43,46 +43,48 @@
<!-- sent to attendees to propose or update a meeting -->
<var:if condition="isLoggedInUserAnAttendee">
<var:if condition="hasCalendarAccess">
<p class="uix_ical_toolbar" id="iCalendarToolbar">
<div class="uix_ical_toolbar" id="iCalendarToolbar">
<p>
<var:if condition="currentUserAttendee.partStatWithDefault"
const:value="ACCEPTED" const:negate="YES">
<input id="iCalendarAccept" class="button"
type="button" label:value="Accept"/>
const:value="ACCEPTED" const:negate="YES">
<a href="#" class="button actionButton" id="iCalendarAccept">
<span><var:string label:value="Accept" /></span></a>
</var:if>
<var:if condition="currentUserAttendee.partStatWithDefault"
const:value="DECLINED" const:negate="YES">
<input id="iCalendarDecline" class="button"
type="button" label:value="Decline"/>
const:value="DECLINED" const:negate="YES">
<a href="#" class="button actionButton" id="iCalendarDecline">
<span><var:string label:value="Decline" /></span></a>
</var:if>
<var:if condition="currentUserAttendee.partStatWithDefault"
const:value="DELEGATED" const:negate="YES">
<input id="editDelegate" class="button"
type="button" label:value="Delegate ..." />
const:value="DELEGATED" const:negate="YES">
<a href="#" class="button actionButton" id="editDelegate">
<span><var:string label:value="Delegate ..." /></span></a>
<span id="delegateEditor" style="display: none;">
<var:string label:value="Delegated to" />
<input name="delegatedTo" id="delegatedTo" type="text" />
<input class="button" type="button" id="iCalendarDelegate" name="delegateOK" value="OK" />
<span class="floatLeft"><var:string label:value="Delegated to" /></span>
<input name="delegatedTo" id="delegatedTo" type="text" />
<a href="#" class="button actionButton" id="iCalendarDelegate" name="delegateOK">
<span><var:string label:value="OK" /></span></a>
</span>
</var:if>
<var:if condition="currentUserAttendee.partStatWithDefault"
const:value="DELEGATED">
<span id="delegateEditor">
<var:string label:value="Delegated to" />
<span class="floatLeft"><var:string label:value="Delegated to" />
<a var:href="currentUserAttendee.delegatedTo" name="delegatedToLink" id="delegatedToLink"><var:string value="currentUserAttendee.delegatedTo.rfc822Email" /></a></span>
<input name="delegatedTo" id="delegatedTo" type="text" var:value="currentUserAttendee.delegatedTo.rfc822Email" var:uid="currentUserAttendee.delegatedTo.rfc822Email" style="display: none;" />
<a var:href="currentUserAttendee.delegatedTo" name="delegatedToLink" id="delegatedToLink"><var:string value="currentUserAttendee.delegatedTo.rfc822Email" /></a>
<input class="button" type="button" style="display: none;" id="iCalendarDelegate" name="delegateOK" value="OK" />
<a href="#" class="button actionButton" id="iCalendarDelegate" style="display: none;">
<span><var:string label:value="OK" /></span></a>
</span>
</var:if>
<!-- <input id="iCalendarTentative" class="button"
type="button" label:value="Tentative"/> -->
<var:if condition="isEventStoredInCalendar" const:negate="YES">
| <input id="iCalendarAddToCalendar" class="button"
type="button" label:value="Add to calendar"/>
</var:if>
</p>
<a href="#" class="button actionButton" id="iCalendarAddToCalendar">
<span><var:string label:value="Add to calendar" /></span></a>
</var:if>
</p>
</div>
</var:if>
<p>
<p class="clear">
<var:string label:value="Organizer" />
<a var:href="inEvent.organizer.email"
><var:string value="organizerDisplayName" /></a>
@@ -130,13 +132,13 @@
<!-- sent to attendees to notify of the attendee being removed or the
event being deleted -->
<var:if condition="isEventStoredInCalendar">
<p class="uix_ical_toolbar">
<input id="iCalendarDeleteFromCalendar" class="button"
type="button" label:value="Delete from calendar"/>
</p>
<div class="uix_ical_toolbar">
<a href="#" id="iCalendarDeleteFromCalendar" class="button">
<span><var:string label:value="Delete from calendar" /></span></a>
</div>
</var:if>
<p>
<p class="clear">
<!-- todo: if there are no attendees, the whole meeting was stopped -->
<var:string label:value="cancel_info_text" />
</p>
+2 -2
View File
@@ -51,8 +51,8 @@
</ul>
</div>
<div id="headerArea">
<span class="headerField"><var:string label:value="From" />:</span>
<var:popup const:name="from"
<span class="headerField" const:id="fromField"><var:string label:value="From" />:</span>
<var:popup const:name="from" const:id="fromSelect"
list="fromEMails"
item="item"
selection="from"
+1 -1
View File
@@ -30,7 +30,7 @@
</td>
</var:foreach>
</tr>
<tr class="tableview"
<tr id="messageCountHeader" class="tableview"
><td var:colspan="columnsDisplayCount" class="tbtv_navcell"
><var:if condition="hasPrevious">
<a href="#"
@@ -76,10 +76,11 @@
<br/>
</div>
<div class="buttons">
<input const:name="updateButton" id="updateButton"
class="button" type="submit" label:value="Update"/>
<input const:name="cancelButton" id="cancelButton"
class="button" type="button" label:value="Cancel"/>
<a href="#" const:name="updateButton" id="updateButton"
class="button actionButton">
<span><var:string label:value="Update" /></span></a>
<a href="#" const:name="cancelButton" id="cancelButton" class="button">
<span><var:string label:value="Cancel" /></span></a>
</div>
</form>
</var:component>
+4 -2
View File
@@ -17,7 +17,8 @@
<img const:alt="Inverse" rsrc:src="inverse.png"/>
<p class="links"><a href="http://www.scalableogo.org/" target="_new">www.scalableogo.org</a> /
<a href="http://www.inverse.ca/" target="_new">www.inverse.ca</a></p>
<p><a id="aboutClose" href="#" class="button">OK</a></p>
<p><a id="aboutClose" href="#" class="button">
<span><var:string label:value="OK" /></span></a></p>
</div>
</div>
<div id="linkBanner" class="linkbanner">
@@ -50,7 +51,8 @@
label:noSelectionString="choose"
/></label>
<label>
<input class="button" id="submit" name="submit" type="submit" label:value="Connect" />
<a href="#" class="button" id="submit" name="submit">
<span><var:string label:value="Connect" /></span></a>
</label>
</td>
</tr>
+33 -30
View File
@@ -15,24 +15,25 @@
<form id="mainForm" var:href="ownPath">
<div class="tabsContainer" id="preferencesTabs">
<ul>
<li target="generalView"><var:string
label:value="General"/></li>
<li target="generalView"><span>
<var:string label:value="General" /></span></li>
<var:if condition="userHasCalendarAccess">
<li target="calendarOptionsView"><var:string
label:value="Calendar Options"/></li>
<li target="calendarOptionsView"><span><var:string
label:value="Calendar Options"/></span></li>
</var:if>
<var:if condition="userHasMailAccess">
<li target="mailOptionsView"><var:string
label:value="Mail Options"/></li>
<li target="identitiesView"><var:string
label:value="Signature"/></li>
<var:if condition="isVacationEnabled"><li target="vacationView"><var:string
label:value="Vacation"/></li></var:if>
<var:if condition="isForwardEnabled"><li target="forwardView"><var:string
label:value="Forward"/></li></var:if>
<li target="mailOptionsView"><span><var:string
label:value="Mail Options"/></span></li>
<li target="identitiesView"><span><var:string
label:value="Signature"/></span></li>
<var:if condition="isVacationEnabled"><li target="vacationView"><span><var:string
label:value="Vacation"/></span></li></var:if>
<var:if condition="isForwardEnabled"><li target="forwardView"><span><var:string
label:value="Forward"/></span></li></var:if>
</var:if>
<var:if condition="shouldDisplayAdditionalPreferences">
<li target="additionalView"><var:string label:value="Additional Parameters"/></li>
<li target="additionalView"><span>
<var:string label:value="Additional Parameters"/></span></li>
</var:if>
<!-- <var:if condition="shouldDisplayPasswordChange"> -->
<!-- <li target="passwordView"><var:string label:value="Password"/></li> -->
@@ -95,7 +96,7 @@
const:id="firstWeek"
string="itemFirstWeekText" selection="userFirstWeek"
/></label><br/>
<label><var:string label:value="Categories"/></label><br/>
<span class="caption"><var:string label:value="Categories"/></span>
<div id="categoriesListWrapper"
><table id="categoriesList" cellspacing="0">
<thead>
@@ -118,14 +119,16 @@
</var:foreach>
</tbody>
</table></div>
<div class="bottomToolbar">
<a const:id="categoryAdd" class="bottomButton" href="#">
<span><img rsrc:src="add-icon.png" label:title="Add" />
</span></a>
<a const:id="categoryDelete" class="bottomButton" href="#">
<span><img rsrc:src="remove-icon.png" label:title="Delete" />
</span></a>
</div>
<input type="hidden" const:id="categoriesValue"
const:name="categoriesValue" var:value="categoriesValue"/>
<div id="windowButtons">
<label><input type="button" class="button"
id="categoryAdd" label:value="Add"/></label>
<label><input type="button" class="button"
id="categoryDelete" label:value="Delete"/></label>
</div>
<!-- <br/> -->
<!-- <label><input class="checkBox" -->
<!-- type="checkbox" var:selection="reminderEnabled" -->
@@ -180,11 +183,11 @@
var:value="signature" />
</div>
<var:if condition="isVacationEnabled">
<div id="vacationView" class="tab">
<div id="vacationView" class="tab">
<label><input type="checkbox"
const:name="enableVacation"
const:id="enableVacation"
var:checked="enableVacation" />
const:id="enableVacation"
var:checked="enableVacation" />
<var:string label:value="Enable vacation auto reply"/></label>
<div id="vacation">
<label><var:string label:value="Auto reply message :"/><br/>
@@ -195,14 +198,14 @@
<label><var:string label:value="Email addresses (separated by commas) :"/><br/>
<input type="hidden"
const:id="defaultEmailAddresses"
var:value="defaultEmailAddresses" />
const:id="defaultEmailAddresses"
var:value="defaultEmailAddresses" />
<textarea const:name="autoReplyEmailAddresses"
const:id="autoReplyEmailAddresses"
var:value="autoReplyEmailAddresses" /><br/>
<span><input type="button" class="button"
id="addDefaultEmailAddresses"
label:value="Add default email addresses" /></span>
const:id="autoReplyEmailAddresses"
var:value="autoReplyEmailAddresses" /><br/>
<span><a href="#" class="button" id="addDefaultEmailAddresses"><span>
<var:string label:value="Add default email addresses" /></span></a>
</span>
</label><br/>
<label><var:string label:value="Days between responses :"/>
+14 -14
View File
@@ -21,13 +21,12 @@
<div id="attendeesView">
<div id="freeBusyViewButtons">
<var:string label:value="Suggest time slot:"/>
<span class="buttons"><a id="nextSlot" href="#" class="button"
><span><var:string label:value="Next slot" /></span></a>
<a id="previousSlot" href="#" class="button"
><var:string label:value="Previous slot" /></a>
<a id="nextSlot" href="#" class="button"
><var:string label:value="Next slot" /></a><label
><input class="checkbox" type="checkbox" checked="1" id="onlyOfficeHours"
/><var:string label:value="Only office hours"
/></label>
><span><var:string label:value="Previous slot" /></span></a></span>
<input class="checkbox" type="checkbox"
checked="1" id="onlyOfficeHours" /><var:string label:value="Only office hours" />
</div>
<div id="freeBusyView">
<table id="freeBusy" cellspacing="0" cellpadding="0"
@@ -56,7 +55,8 @@
<tbody>
<tr class="futureAttendee"
><td class="attendees"><a href="#" class="button"
readonly="readonly"><var:string label:value="newAttendee" /></a></td
readonly="readonly"><span
><var:string label:value="newAttendee" /></span></a></td
></tr>
<tr class="attendeeModel"
><td class="attendees"><input type="text" class="textField" /></td
@@ -90,15 +90,15 @@
</ul>
</div>
<div id="freeBusyReplicas">
<div><var:string label:value="Start:"
/><var:component className="UIxTimeDateControl"
<div><span><var:string label:value="Start:"
/></span><var:component className="UIxTimeDateControl"
const:controlID="startTime"
date="aptStartDate"
const:dayStartHour="0"
const:dayEndHour="23"
/></div>
<div><var:string label:value="End:"
/><var:component className="UIxTimeDateControl"
<div><span><var:string label:value="End:"
/></span><var:component className="UIxTimeDateControl"
const:controlID="endTime"
date="aptEndDate"
const:dayStartHour="0"
@@ -107,10 +107,10 @@
</div>
<div id="windowButtons">
<hr />
<a id="okButton" href="#" class="button actionButton"
><span><var:string label:value="OK"/></span></a>
<a id="cancelButton" href="#" class="button"
><var:string label:value="Cancel"/></a>
<a id="okButton" href="#" class="button"
><var:string label:value="OK"/></a>
><span><var:string label:value="Cancel"/></span></a>
</div>
</div>
</div>
@@ -7,10 +7,9 @@
id="dateSelector">
<div class="header">
<a href="#" id="rightArrow" var:date="nextMonthAsString"
><img id="next" rsrc:src="arrow-rit-sharp.gif"
/></a>
><img id="next" rsrc:src="arrow-right.png"/></a>
<a href="#" id="leftArrow" var:date="prevMonthAsString"
><img id="previous" rsrc:src="arrow-lft-sharp.gif" />
><img id="previous" rsrc:src="arrow-left.png" />
</a><span id="monthLabel" var:month="headerMonthValue"
><var:string value="headerMonthString" /></span
><span id="yearLabel"><var:string value="headerYearString" /></span>
+2 -2
View File
@@ -20,7 +20,7 @@
class="leftNavigationArrow"
var:date="prevDayQueryParameters.day"
onclick="return onCalendarGotoDay(this);"
><img rsrc:src="arrow-lft-sharp.gif"/></a>
><img rsrc:src="arrow-left.png"/></a>
<span class="daysHeader">
<span class="day2"><a href="#"
var:date="dayBeforePrevDayQueryParameters.day"
@@ -48,7 +48,7 @@
class="rightNavigationArrow"
var:date="nextDayQueryParameters.day"
onclick="return onCalendarGotoDay(this);"
><img rsrc:src="arrow-rit-sharp.gif"/></a>
><img rsrc:src="arrow-right.png"/></a>
<div id="calendarContent">
<var:component
className="UIxCalDayTable"
+19 -15
View File
@@ -107,8 +107,11 @@
onsubmit="return AIM.submit(this, {'onStart' : validateUploadForm,
'onComplete' : uploadCompleted})">
<p><input type="file" name="calendarFile" id="calendarFile" /></p>
<p class="buttons"><input class="button" type="submit" const:id="uploadSubmit" label:value="Upload"/>
<input class="button" type="button" const:id="uploadCancel" label:value="Cancel"/></p>
<p><a href="#" class="button actionButton" id="uploadSubmit"
onclick="if($('uploadForm').onsubmit()) $('uploadForm').submit()">
<span><var:string label:value="Upload" /></span></a>
<a href="#" class="button" const:id="uploadCancel">
<span><var:string label:value="Cancel" /></span></a></p>
</form>
</div>
</div>
@@ -117,32 +120,33 @@
<div>
<h3><var:string label:value="Import Events"/></h3>
<p id="uploadResultsContent"><!-- empty --></p>
<p class="buttons"><input class="button" type="button" const:id="uploadOK"
label:value="Done"/></p>
<p><a href="#" class="button" const:id="uploadOK">
<span><var:string label:value="Done" /></span></a></p>
</div>
</div>
<div id="leftPanel">
<div class="tabsContainer" id="schedulerTabs">
<ul>
<li target="dateSelectorView"><var:string label:value="Date" /></li>
<li target="calendarSelectorView"><var:string label:value="Calendars" /></li>
<li target="dateSelectorView"
><span><var:string label:value="Date" /></span></li>
<li target="calendarSelectorView"
><span><var:string label:value="Calendars" /></span></li>
</ul>
<div id="dateSelectorView"
class="tab"
><var:component className="UIxCalDateSelector"
selectedDate="thisMonth"
/></div>
<div id="dateSelectorView" class="tab"
><var:component className="UIxCalDateSelector"
selectedDate="thisMonth"
/></div>
<div id="calendarSelectorView" class="tab"
><var:component className="UIxCalendarSelector"
var:calendarFolders="calendarFolders" /></div>
><var:component className="UIxCalendarSelector"
var:calendarFolders="calendarFolders" /></div>
</div>
<div id="tasksListView">
<label><input id="showHideCompletedTasks"
type="checkbox" class="checkBox"
/><var:string label:value="Show completed tasks"/></label>
type="checkbox" class="checkBox"
/><var:string label:value="Show completed tasks"/></label>
<ul id="tasksList"><!-- space --></ul>
</div>
</div>
+2 -2
View File
@@ -20,7 +20,7 @@
class="leftNavigationArrow"
var:date="prevMonthQueryParameters.month"
onclick="return onCalendarGotoDay(this);"
><img rsrc:src="arrow-lft-sharp.gif"/></a>
><img rsrc:src="arrow-left.png"/></a>
<span class="monthsHeader">
<span class="month2"><a href="#"
var:date="monthBeforePrevMonthQueryParameters.month"
@@ -48,7 +48,7 @@
class="rightNavigationArrow"
var:date="nextMonthQueryParameters.month"
onclick="return onCalendarGotoDay(this);"
><img rsrc:src="arrow-rit-sharp.gif"/></a>
><img rsrc:src="arrow-right.png"/></a>
<div id="calendarContent">
<div class="monthView">
@@ -9,7 +9,7 @@
class="leftNavigationArrow"
var:date="prevDayQueryParameters.day"
onclick="return onCalendarGotoDay(this);"
><img rsrc:src="arrow-lft-sharp.gif"/></a>
><img rsrc:src="arrow-left.png"/></a>
<span class="daysHeader">
<span class="day2"><a href="#"
var:date="dayBeforePrevDayQueryParameters.day"
@@ -37,7 +37,7 @@
class="rightNavigationArrow"
var:date="nextDayQueryParameters.day"
onclick="return onCalendarGotoDay(this);"
><img rsrc:src="arrow-rit-sharp.gif"/></a>
><img rsrc:src="arrow-right.png"/></a>
<style type="text/css">
DIV.day
@@ -44,10 +44,11 @@
label:value="This person can erase objects from my calendar."/></label>
</div>
<div class="buttons">
<input const:name="cancelButton" id="cancelButton"
class="button" type="button" label:value="Cancel"/>
<input const:name="updateButton" id="updateButton"
class="button" type="submit" label:value="Update"/>
<a href="#" const:name="updateButton" id="updateButton"
class="button actionButton">
<span><var:string label:value="Update" /></span></a>
<a href="#" const:name="cancelButton" id="cancelButton" class="button">
<span><var:string label:value="Cancel" /></span></a>
</div>
</form>
</var:component>
+2 -2
View File
@@ -19,7 +19,7 @@
class="leftNavigationArrow"
var:date="prevWeekQueryParameters.day"
onclick="return onCalendarGotoDay(this);"
><img rsrc:src="arrow-lft-sharp.gif"/></a>
><img rsrc:src="arrow-left.png"/></a>
<span class="weeksHeader">
<span class="week2"><a href="#"
var:date="weekBeforePrevWeekQueryParameters.day"
@@ -47,7 +47,7 @@
class="rightNavigationArrow"
var:date="nextWeekQueryParameters.day"
onclick="return onCalendarGotoDay(this);"
><img rsrc:src="arrow-rit-sharp.gif"/></a>
><img rsrc:src="arrow-right.png"/></a>
<div id="calendarContent">
<var:component
@@ -10,7 +10,7 @@
const:toolbar="none"
const:popup="YES"
title="title">
<form const:href="saveProperties" name="propertiesform">
<form const:href="saveProperties" name="propertiesform" id="propertiesform">
<input type="hidden" const:name="calendarID" const:id="calendarID"
var:value="calendarID"/>
<div id="propertiesView">
@@ -27,7 +27,7 @@
><div const:id="webCalendarUrl"><span class="label"
><var:string label:value="URL:"/></span
><span class="content" var:title="webCalendarURL"
><var:string var:value="webCalendarURL"/>
><a var:href="webCalendarURL" target="_new"><var:string var:value="webCalendarURL"/></a>
</span></div></var:if>
<div><span class="label"><var:string
label:value="Color:"
@@ -76,16 +76,11 @@
></div>
</fieldset>
<div id="buttons">
<input type="button"
const:class="button"
label:value="Cancel"
const:id="cancelButton"
name="cancelButton"/>
<input type="submit"
const:class="button"
label:value="OK"
const:id="okButton"
name="okButton"/>
<a href="#" class="button actionButton" id="okButton"
name="okButton">
<span><var:string label:value="OK" /></span></a>
<a href="#" class="button" id="cancelButton" name="cancelButton">
<span><var:string label:value="Cancel" /></span></a>
</div>
</div>
</form>
@@ -15,35 +15,38 @@ div.colorBox.calendarFolder<var:string value="currentCalendar.folder" />
</var:foreach>
</style>
<div id="calendarSelector">
<span id="calendarSelectorButtons">
<a href="#" class="toolbarButton"
><span class="toolbarButton"><img rsrc:src="add-calendar.png"
label:title="New Calendar..."
/></span></a>
<a href="#" class="toolbarButton"
><span class="toolbarButton"><img rsrc:src="add-web-calendar.png"
label:title="Subscribe to a web calendar..."
/></span></a>
<a href="#" class="toolbarButton"
><span class="toolbarButton"><img rsrc:src="add-user-calendar.png"
label:title="Subscribe to a Calendar..."
/></span></a>
<a href="#" class="toolbarButton"
><span class="toolbarButton"><img rsrc:src="remove-calendar.png"
label:title="Remove the selected Calendar"
/></span></a>
</span>
<ul id="calendarList">
<var:foreach list="calendars" item="currentCalendar"
><li class="denied" var:id="currentCalendar.id"
var:owner="currentCalendar.owner" >
<input type="checkbox" class="checkBox"
const:disabled="disabled"
var:checked="currentCalendar.active" />
<div var:class="currentCalendarClass">OO</div
><var:string value="currentCalendar.displayName"
/></li>
</var:foreach>
</ul>
<div id="calendarSelectorButtons">
<a href="#" class="smallToolbarButton"
><span><img rsrc:src="add-calendar.png"
label:title="New Calendar..."
/></span></a>
<a href="#" class="smallToolbarButton"
><span><img rsrc:src="add-web-calendar.png"
label:title="Subscribe to a web calendar..."
/></span></a>
<a href="#" class="smallToolbarButton"
><span><img rsrc:src="add-user-calendar.png"
label:title="Subscribe to a Calendar..."
/></span></a>
<a href="#" class="smallToolbarButton"
><span><img rsrc:src="remove-calendar.png"
label:title="Remove the selected Calendar"
/></span></a>
</div>
<div id="calendarListWrapper">
<ul id="calendarList">
<var:foreach list="calendars" item="currentCalendar"
><li class="denied" var:id="currentCalendar.id"
var:owner="currentCalendar.owner" >
<input type="checkbox" class="checkBox"
const:disabled="disabled"
var:checked="currentCalendar.active" />
<div var:class="currentCalendarClass">OO</div
><var:string value="currentCalendar.displayName"
/></li>
</var:foreach>
</ul>
</div>
</div>
</container>
+3 -3
View File
@@ -14,12 +14,12 @@
var:value="formattedDateString"
size="12"
/><a href="#"
class="button"
class="calendarButton"
var:inputId="dateID"
onclick="return popupCalendar(this);"
><img rsrc:src="choose-date.png"
><span><img rsrc:src="choose-date.png"
var:title="label"
var:alt="label"
/></a
/></span></a
>
</span>
@@ -22,11 +22,14 @@
</div>
<div id="windowButtons">
<div id="leftButtons">
<input type="button" id="thisButton" const:class="button" label:value="button_thisOccurrenceOnly"/>
<a class="button actionButton" id="thisButton" href="#">
<span><var:string label:value="button_thisOccurrenceOnly"/></span></a>
</div>
<div id="rightButtons">
<input type="submit" id="cancelButton" const:class="button" label:value="Cancel"/>
<input type="button" id="allButton" const:class="button" label:value="button_allOccurrences"/>
<a class="button actionButton" id="allButton" href="#">
<span><var:string label:value="button_allOccurrences"/></span></a>
<a class="button" id="cancelButton" href="#">
<span><var:string label:value="Cancel"/></span></a>
</div>
</div>
</var:component>
@@ -24,7 +24,7 @@
<form name="recurrence_form" id="recurrence_form" href="editRecurrence">
<div id="recurrence_pattern" style="display: none;">
<span class="caption"><var:string label:value="Recurrence pattern"/></span>
<table class="section">
<table class="frame">
<tr>
<th>
<var:string label:value="Repeat"/>
@@ -207,7 +207,7 @@
<div id="range_of_recurrence" style="display: none;">
<span class="caption"><var:string label:value="Range of recurrence"/></span>
<table class="section">
<table class="frame">
<tr>
<td>
<input name="rangeRadioButtonName" value="0" id="rangeRadioButton" type="radio"
@@ -247,10 +247,10 @@
</div>
<div id="windowButtons">
<a id="okButton" href="#" class="button actionButton"
><span><var:string label:value="OK"/></span></a>
<a id="cancelButton" href="#" class="button"
><var:string label:value="Cancel"/></a>
<a id="okButton" href="#" class="button"
><var:string label:value="OK"/></a>
><span><var:string label:value="Cancel"/></span></a>
</div>
</form>
@@ -14,7 +14,7 @@
<form name="reminder_form" id="reminder_form" href="editReminder">
<div id="reminder_pattern">
<span class="caption"><var:string label:value="Reminder Details"/></span>
<table class="section">
<table class="frame">
<tr><td>
<input type="text" id="quantityField"
class="textField"
@@ -34,10 +34,10 @@
</div>
<div id="windowButtons">
<a id="okButton" href="#" class="button actionButton"
><span><var:string label:value="OK"/></span></a>
<a id="cancelButton" href="#" class="button"
><var:string label:value="Cancel"/></a>
<a id="okButton" href="#" class="button"
><var:string label:value="OK"/></a>
><span><var:string label:value="Cancel"/></span></a>
</div>
</form>
+2 -2
View File
@@ -53,8 +53,8 @@
class="textField"
var:value="statusPercent"
var:disabled="statusPercentDisabled"
/><var:string label:value="% complete"
/></span></span>
/><span><var:string label:value="% complete"
/></span></span></span>
</var:if>
<var:if condition="eventIsReadOnly">
<var:if condition="hasStartDate">
+7 -11
View File
@@ -21,22 +21,18 @@
var:value="userUIDS"/>
<var:if condition="hasOwner">
<label><var:string label:value="Owner:"/>
<span class="value"><strong><var:string value="ownerName"/></strong></span></label><br/>
<span class="value"><strong><var:string value="ownerName"/></strong></span></label>
</var:if>
</div>
<div class="userSelector" id="userRoles">
<var:if condition="canModifyAcls">
<input id="defaultRolesBtn" type="button"
class="button" label:value="Default Roles"/>
<div id="userSelectorButtons">
<a href="#"
class="button"><img rsrc:src="add-contact.gif"
label:title="Add..."
/></a>
<a href="#"
class="button"><img rsrc:src="remove-contact.gif"
label:title="Remove"
/></a>
<a href="#" id="defaultRolesBtn" class="button"><span>
<var:string label:value="Default Roles" /></span></a>
<a href="#" id="aclAddUser" class="smallToolbarButton"><span>
<img rsrc:src="add-contact.gif" label:title="Add..." /></span></a>
<a href="#" id="aclDeleteUser" class="smallToolbarButton"><span>
<img rsrc:src="remove-contact.gif" label:title="Remove" /></span></a>
</div>
</var:if>
<ul id="userList" multiselect="yes">
+3 -2
View File
@@ -48,8 +48,9 @@
<div id="linkBanner" class="linkbanner">
<var:if condition="canLogoff"
><a id="logoff" var:href="logoffPath"
><var:string label:value="Disconnect" /></a
></var:if>
><var:string label:value="Disconnect" /> </a
><span id="userEmailDisplay">
<var:string var:value="userEmail" /> | </span></var:if>
<var:if condition="userHasCalendarAccess">
<var:if condition="isCalendar">
<span class="active"><var:string label:value="Calendar"
+5 -9
View File
@@ -10,12 +10,12 @@
<var:foreach list="toolbarConfig" item="toolbarGroup"
><var:foreach list="toolbarGroup" item="buttonInfo"
><var:if condition="isButtonEnabled"
><button class="toolbarButton"
><a class="toolbarButton"
var:href="buttonInfo.link"
var:target="buttonInfo.target"
var:onclick="buttonInfo.onclick"
var:title="buttonTooltip"
><img class="buttonImage"
><span><img class="buttonImage"
var:src="buttonImage"
var:alt="buttonTooltip"
/><var:if condition="hasMenu"
@@ -23,13 +23,9 @@
rsrc:src="arrow-dwn-sharp.gif"
var:alt="buttonTooltip"
/></var:if
><br
/><span class="buttonLabel"
><var:string
value="buttonLabel"
/></span
></button
></var:if
><br/><var:string value="buttonLabel"
/></span>
</a></var:if
><var:if condition="isButtonEnabled"
const:negate="YES"
><span class="disabledToolbarButton"
+11 -14
View File
@@ -36,7 +36,7 @@ DIV#verticalDragHandle
.titlediv
{
vertical-align: bottom;
padding-top: 2em;
padding-top: 14px;
padding-left: 6px;
}
@@ -60,7 +60,6 @@ DIV#administrationModules UL
clear: both;
cursor: default;
color: #000;
background: #fff;
position: absolute; /* required for Safari & IE */
top: 0px;
bottom: 0px;
@@ -71,15 +70,15 @@ DIV#administrationModules UL
padding: 0px;
overflow: auto;
overflow-x: hidden;
border-top: 2px solid #222;
border-left: 2px solid #222;
border-right: 0px;
border-bottom: 1px solid #fff;
-moz-border-top-colors: #9c9a94 #000;
-moz-border-left-colors: #9c9a94 #000;
border-top: 1px solid #909090;
border-left: 1px solid #909090;
border-bottom: 1px solid #FFFFFF;
border-right: 1px solid #FFFFFF;
-moz-user-select: none;
-khtml-user-select: none;
}
DIV#administrationModules
{ background: #CCDDEC; }
DIV#administrationModules UL LI
{
@@ -130,10 +129,8 @@ DIV#administrationContent
background-color: #fff;
padding: .5em;
overflow: auto;
border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
border-top: 2px solid #222;
border-left: 2px solid #222;
-moz-border-top-colors: #9c9a94 #000 transparent;
-moz-border-left-colors: #9c9a94 #000 transparent;
border-top: 1px solid #909090;
border-left: 1px solid #909090;
border-bottom: 1px solid #FFFFFF;
border-right: 1px solid #FFFFFF;
}
+22 -20
View File
@@ -33,11 +33,12 @@ DIV#rightPanel
DIV#contactsListContent
{ cursor: default;
position: absolute;
background-color: #fff;
top: 2.5em;
background-color: #FFFFFF;
top: 27px;
left: 0px;
right: 0px;
height: 15.5em;
border-left: 1px solid #9B9B9B;
overflow: auto;
overflow-x: hidden; }
@@ -103,7 +104,7 @@ TABLE.titletable TD.titlecell SELECT
DIV#contactFoldersList
{ position: absolute;
top: 6em;
top: 65px;
left: 0px;
width: 15em;
bottom: 0px;
@@ -132,9 +133,9 @@ UL#contactFolders
clear: both;
cursor: default;
color: #000;
background: #fff;
background: #CCDDEC;
position: absolute; /* required for Safari & IE */
top: 62px; /* leave space for the mini addressbook */
top: 73px; /* leave space for the mini addressbook */
bottom: 0px;
left: 0;
right: 0;
@@ -143,17 +144,15 @@ UL#contactFolders
padding: 0px;
overflow: auto;
overflow-x: hidden;
border-top: 2px solid #222;
border-left: 2px solid #222;
border-right: 0px;
border-bottom: 1px solid #fff;
-moz-border-top-colors: #9c9a94 #000;
-moz-border-left-colors: #9c9a94 #000;
border-top: 1px solid #909090;
border-left: 1px solid #909090;
border-bottom: 1px solid #FFFFFF;
border-right: 1px solid #FFFFFF;
-moz-user-select: none;
-khtml-user-select: none;
}
DIV#contactFoldersList LI
UL#contactFolders LI
{
background-repeat: no-repeat;
background-position: 4px 2px;
@@ -269,15 +268,12 @@ DIV.contactColumn H4
margin: .2em 0px;
margin-left: -1em;
font-weight: bold;
background: #9ABCD8;
color: #fff;
background: #4b6983;
width: 100%;
padding: .1em .2em;
}
INPUT#searchValue:focus
{ color: #000; }
/* drag handles */
DIV#dragHandle
{ cursor: e-resize;
@@ -311,10 +307,11 @@ BODY.popup DIV#dragHandle
{ top: 6em; }
BODY.popup DIV#contactsListContent
{ height: 8em; }
{ height: 8em;
top: 34px; }
BODY.popup DIV#contactFoldersList
{ top: 4em; }
{ top: 50px; }
BODY.popup DIV#rightDragHandle
{ top: 10em; }
@@ -331,13 +328,13 @@ DIV.contactSelection
padding: 1em;
left: 0px;
right: 0px;
height: 90px;
text-align: right;
background: #d4d0c8;
background: #E6E7E6;
border-top: 1px solid #fff;
border-left: 0px;
border-right: 0px;
border-bottom: 0px;
-moz-border-top-colors: #efebe7;
}
DIV.contactSelection > DIV.calendar
@@ -368,6 +365,11 @@ DIV.copy
background-position: 1px -2px !important;
}
DIV#smallToolbarContainer
{ bottom: auto !important;
top: 2em !important;
right: 0px; }
@media print
{
+32 -25
View File
@@ -141,9 +141,9 @@ function contactsListCallback(http) {
var sortImage = createElement("img", "messageSortImage", "sortImage");
sortHeader.insertBefore(sortImage, sortHeader.firstChild);
if (sorting["ascending"])
sortImage.src = ResourcesURL + "/title_sortdown_12x12.png";
sortImage.src = ResourcesURL + "/arrow-down.png";
else
sortImage.src = ResourcesURL + "/title_sortup_12x12.png";
sortImage.src = ResourcesURL + "/arrow-up.png";
}
}
@@ -585,7 +585,10 @@ function onConfirmContactSelection(event) {
}
}
preventDefault(event);
this.blur(); // required by IE
Event.stop(event);
return false;
}
function addListToOpener (tag, aBookId, aBookName, listId) {
@@ -689,7 +692,6 @@ function onAddressBookImport(event) {
var url = ApplicationBaseURL + folderId + "/import";
$("uploadForm").action = url;
$("uploadCancel").onclick = hideContactsImport;
$("contactsFile").value = "";
var cellPosition = node.cumulativeOffset();
@@ -699,17 +701,16 @@ function onAddressBookImport(event) {
var div = $("uploadDialog");
var res = $("uploadResults");
div.style.top = top + "px";
res.style.top = top + "px";
div.style.left = left + "px";
res.style.left = left + "px";
div.style.display = "block";
res.setStyle({ top: top + "px", left: left + "px" });
div.setStyle({ top: top + "px", left: left + "px" });
div.show();
}
function hideContactsImport () {
$("uploadDialog").style.display = "none";
function hideContactsImport(event) {
$("uploadDialog").hide();
}
function hideImportResults () {
$("uploadResults").style.display = "none";
$("uploadResults").hide();
}
function validateUploadForm () {
rc = false;
@@ -721,18 +722,17 @@ function uploadCompleted(response) {
data = response.evalJSON(true);
var div = $("uploadResults");
$("uploadOK").onclick = hideImportResults;
if (data.imported <= 0)
$("uploadResultsContent").update(getLabel("An error occured while importing contacts."));
else if (data.imported == 0)
$("uploadResultsContent").update(getLabel("No card was imported."));
else {
$("uploadResultsContent").update(getLabel("A total of %{0} cards were imported in the addressbook.").formatted(data.imported));
refreshCurrentFolder ();
refreshCurrentFolder();
}
hideContactsImport ();
$("uploadResults").style.display = "block";
hideContactsImport();
$("uploadResults").show();
}
function onAddressBookRemove(event) {
@@ -1092,9 +1092,10 @@ function getMenus() {
function configureSelectionButtons() {
var container = $("contactSelectionButtons");
if (container) {
var buttons = container.select("input");
for (var i = 0; i < buttons.length; i++)
var buttons = container.select("A.button");
for (var i = 0; i < buttons.length; i++) {
$(buttons[i]).observe("click", onConfirmContactSelection);
}
}
}
@@ -1153,7 +1154,7 @@ function fixSearchFieldPosition () {
var panel = $("filterPanel");
if (panel) {
panel.style.position = "relative";
panel.style.top = "3px";
panel.style.top = "7px";
}
}
@@ -1162,10 +1163,16 @@ function initContacts(event) {
configureSelectionButtons();
fixSearchFieldPosition ();
}
else if (Prototype.Browser.Gecko)
Event.observe(document, "keypress", onDocumentKeydown); // for FF2
else
Event.observe(document, "keydown", onDocumentKeydown);
else {
// Addressbook import form
$("uploadCancel").observe("click", hideContactsImport);
$("uploadOK").observe("click", hideImportResults);
if (Prototype.Browser.Gecko)
Event.observe(document, "keypress", onDocumentKeydown); // for FF2
else
Event.observe(document, "keydown", onDocumentKeydown);
}
configureAbToolbar();
configureAddressBooks();
updateAddressBooksMenus();
@@ -1178,10 +1185,10 @@ function initContacts(event) {
configureSortableTableHeaders(table);
TableKit.Resizable.init(table, {'trueResize' : true, 'keepWidth' : true});
}
onWindowResize.defer();
Event.observe(window, "resize", onWindowResize);
// Default sort options
sorting["attribute"] = "c_cn";
sorting["ascending"] = true;
+45 -18
View File
@@ -47,11 +47,12 @@ DIV#rightPanel
DIV#mailboxContent
{ cursor: default;
position: absolute;
background-color: #fff;
background-color: #FFFFFF;
top: 2.5em;
left: 0px;
right: 0px;
height: 15.5em;
border-left: 1px solid #9B9B9B;
overflow: auto;
overflow-x: hidden; }
@@ -76,15 +77,13 @@ DIV#messageContent P IMG
margin-right: 1em; }
DIV#folderTreeContent
{ border-top: 2px solid #222;
border-left: 2px solid #222;
border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
-moz-border-top-colors: #9c9a94 #000;
-moz-border-left-colors: #9c9a94 #000;
{ border-top: 1px solid #909090;
border-left: 1px solid #909090;
border-bottom: 1px solid #FFFFFF;
border-right: 1px solid #FFFFFF;
position: absolute;
color: #000;
background: #fff;
background: #CCDDEC;
color: #535D6D;
width: auto;
top: 2em;
bottom: 0px;
@@ -352,7 +351,7 @@ TABLE.mailer_fieldtable
overflow-y: auto;
overflow-x: hidden;
border-bottom: 1px solid #808080;
background: #d4d0c8;
background: #DDDDDD;
width: 100%; }
DIV.mailer_mailcontent
@@ -607,7 +606,7 @@ TD#sizeHeader
TABLE#messageList TR._selected TD
{
background-color: #4b6983;
background-color: #9ABCD8;
color: #fff;
}
@@ -790,6 +789,18 @@ DIV.copy
background-position: 1px -2px !important;
}
DIV#signatureFlagMessage DIV
{ text-align: left !important; }
DIV#signatureFlagMessage H1,
DIV#signatureFlagMessage P
{ font-size: 10px;
margin: 0;
padding: 0; }
TR#messageCountHeader TD
{ border-top: none; }
/* UIxMailPartICalViewer */
#iCalAttendees
{ padding: 0; }
@@ -829,11 +840,27 @@ DIV.copy
padding: 2px 2px 2px 24px;
width: 220px; }
DIV#signatureFlagMessage DIV
{ text-align: left !important; }
DIV#iCalendarToolbar A.button
{ float: left;
vertical-align: middle;}
DIV#signatureFlagMessage H1,
DIV#signatureFlagMessage P
{ font-size: 10px;
margin: 0;
padding: 0; }
DIV#iCalendarToolbar
{ padding: 0; }
SPAN#delegateEditor
{ line-height: 23px;
vertical-align: middle; }
INPUT#delegatedTo
{ float: left; }
SPAN.floatLeft
{ float: left;
padding: 0 5px; }
A#iCalendarDeleteFromCalendar
{ float: left; }
A#iCalendarAddToCalendar
{ border-left: 2px solid #E6E7E6;
margin-left: 5px;}
+27 -6
View File
@@ -716,9 +716,9 @@ function messageListCallback(http) {
var sortImage = createElement("img", "messageSortImage", "sortImage");
sortHeader.insertBefore(sortImage, sortHeader.firstChild);
if (sorting["ascending"])
sortImage.src = ResourcesURL + "/title_sortdown_12x12.png";
sortImage.src = ResourcesURL + "/arrow-down.png";
else
sortImage.src = ResourcesURL + "/title_sortup_12x12.png";
sortImage.src = ResourcesURL + "/arrow-up.png";
}
}
}
@@ -1070,6 +1070,7 @@ function configureiCalLinksInMessage() {
var button = $(key);
if (button) {
button.action = buttons[key];
button.stopObserving("click");
button.observe("click",
onICalendarButtonClick.bindAsEventListener(button));
}
@@ -1077,6 +1078,7 @@ function configureiCalLinksInMessage() {
var button = $("iCalendarDelegate");
if (button) {
button.stopObserving("click");
button.observe("click", onICalendarDelegate);
var delegatedTo = $("delegatedTo");
delegatedTo.addInterface(SOGoAutoCompletionInterface);
@@ -1085,13 +1087,15 @@ function configureiCalLinksInMessage() {
delegatedTo.excludeLists = true;
var editDelegate = $("editDelegate");
if (editDelegate)
if (editDelegate) {
// The user delegates the invitation
editDelegate.stopObserving("click");
editDelegate.observe("click", function(event) {
$("delegateEditor").show();
$("delegatedTo").focus();
this.hide();
});
}
var delegatedToLink = $("delegatedToLink");
if (delegatedToLink) {
@@ -1120,6 +1124,8 @@ function onICalendarDelegate(event) {
+ Mailer.currentMessages[Mailer.currentMailbox];
delegateInvitation(link, ICalendarButtonCallback, currentMsg);
}
this.blur(); // required by IE
Event.stop(event);
}
function onICalendarButtonClick(event) {
@@ -1133,6 +1139,9 @@ function onICalendarButtonClick(event) {
}
else
log("no link");
this.blur(); // Required by IE
Event.stop(event);
}
function ICalendarButtonCallback(http) {
@@ -1143,8 +1152,8 @@ function ICalendarButtonCallback(http) {
window.location.reload();
}
else {
var oldMsg = http.callbackData;
if (isHttpStatus204(http.status)) {
var oldMsg = http.callbackData;
var msg = Mailer.currentMailbox + "/" + Mailer.currentMessages[Mailer.currentMailbox];
deleteCachedMessage(oldMsg);
if (oldMsg == msg) {
@@ -1152,7 +1161,11 @@ function ICalendarButtonCallback(http) {
}
for (var i = 0; i < Mailer.popups.length; i++) {
if (Mailer.popups[i].messageUID == oldMsg) {
Mailer.popups[i].location.reload();
// Don't reload, just close;
// Reloading the popup would disconnect the popup from the parent
//Mailer.popups[i].location.reload();
Mailer.popups[i].close();
Mailer.popups.splice(i,1);
break;
}
}
@@ -1160,7 +1173,15 @@ function ICalendarButtonCallback(http) {
else if (http.status == 403) {
var data = http.responseText;
var msg = data.replace(/^(.*\n)*.*<p>((.*\n)*.*)<\/p>(.*\n)*.*$/, "$2");
window.alert(getLabel(msg));
for (var i = 0; i < Mailer.popups.length; i++) {
if (Mailer.popups[i].messageUID == oldMsg) {
// Show the alert in the proper popup window
Mailer.popups[i].alert(getLabel(msg));
break;
}
}
if (i == Mailer.popups.length)
window.alert(getLabel(msg));
}
else
window.alert("received code: " + http.status + "\nerror: " + http.responseText);
+3 -2
View File
@@ -193,9 +193,10 @@ var SOGoAutoCompletionInterface = {
// Show popup menu
var offsetScroll = Element.cumulativeScrollOffset(input);
var offset = Element.positionedOffset(input);
if (offset.top == 0)
if (Element.up(input).tagName == 'TD')
// Special case for UIxListEditor
offset = Element.cumulativeOffset(input);
var top = offset[1] - offsetScroll[1] + node.offsetHeight + 3;
var top = offset.top - offsetScroll.top + node.offsetHeight + 3;
var height = 'auto';
var heightDiff = window.height() - offset[1];
var nodeHeight = node.getHeight();
+8 -16
View File
@@ -1,5 +1,5 @@
BODY
{ background-color: #dad3cc;
{ background-color: #E6E7E6;
text-align: center; }
IMG#preparedAnimation
@@ -27,8 +27,9 @@ DIV#aboutBox SPAN.buildDate
{ color: #666; }
A#aboutClose
{ padding-left: 10px;
padding-right: 10px; }
{ position: relative;
margin-right: 10px;
top: -10px; }
A,
A:link,
@@ -98,20 +99,11 @@ IMG#splash
padding: 0px 0px 0px 0px; }
DIV#loginScreen INPUT.textField
{ border: 1px solid #333;
width: 187px; }
{ width: 187px; }
DIV#loginScreen INPUT.textField,
DIV#loginScreen SELECT
{ border: 1px solid #333;
-moz-border-top-colors: #333;
-moz-border-left-colors: #333;
-moz-border-right-colors: #333;
-moz-border-bottom-colors: #333;
}
DIV#loginScreen INPUT#submit
{ margin-top: 10px; }
DIV#loginScreen A#submit,
DIV#loginScreen A#submit SPAN
{ color: #535D6D; }
IMG#progressIndicator
{ width: 16px;
+112 -103
View File
@@ -1,128 +1,137 @@
/* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
function initLogin() {
var date = new Date();
date.setTime(date.getTime() - 86400000);
document.cookie = ("0xHIGHFLYxSOGo=discarded"
+ "; expires=" + date.toGMTString()
+ "; path=/");
var date = new Date();
date.setTime(date.getTime() - 86400000);
document.cookie = ("0xHIGHFLYxSOGo=discarded"
+ "; expires=" + date.toGMTString()
+ "; path=/");
var about = $("about");
if (about) {
about.observe("click", function(event) { $("aboutBox").show(); });
var about = $("about");
if (about) {
about.observe("click", function(event) { $("aboutBox").show(); });
var aboutClose = $("aboutClose");
aboutClose.observe("click", function(event) { $("aboutBox").hide(); });
}
var aboutClose = $("aboutClose");
aboutClose.observe("click", function(event) { $("aboutBox").hide(); });
}
var submit = $("submit");
submit.observe("click", onLoginClick);
var submit = $("submit");
submit.observe("click", onLoginClick);
var userName = $("userName");
userName.focus();
var userName = $("userName");
userName.focus();
userName.observe("keydown", onFieldKeyDown);
var image = $("preparedAnimation");
image.parentNode.removeChild(image);
var passw = $("password");
passw.observe("keydown", onFieldKeyDown);
var submitBtn = $("submit");
submitBtn.disabled = false;
var image = $("preparedAnimation");
image.parentNode.removeChild(image);
var submitBtn = $("submit");
submitBtn.disabled = false;
}
function onFieldKeyDown (event) {
if (event.keyCode == Event.KEY_RETURN)
return onLoginClick (event);
}
function onLoginClick(event) {
var userNameField = $("userName");
var userName = userNameField.value;
var password = $("password").value;
var language = $("language");
if (userName.length > 0) {
$("loginErrorMessage").hide();
$("noCookiesErrorMessage").hide();
this.disabled = true;
startAnimation($("animation"));
var userNameField = $("userName");
var userName = userNameField.value;
var password = $("password").value;
var language = $("language");
if (typeof(loginSuffix) != "undefined"
&& loginSuffix.length > 0
&& !userName.endsWith(loginSuffix))
userName += loginSuffix;
var url = $("connectForm").getAttribute("action");
var parameters = "userName=" + encodeURIComponent(userName) +
"&password=" + encodeURIComponent(password);
if (language)
parameters += (language.value == "WONoSelectionString")?"":("&language=" + language.value);
if (userName.length > 0) {
$("loginErrorMessage").hide();
$("noCookiesErrorMessage").hide();
this.disabled = true;
startAnimation($("animation"));
if (typeof(loginSuffix) != "undefined"
&& loginSuffix.length > 0
&& !userName.endsWith(loginSuffix))
userName += loginSuffix;
var url = $("connectForm").getAttribute("action");
var parameters = "userName=" + encodeURIComponent(userName) +
"&password=" + encodeURIComponent(password);
if (language)
parameters += (language.value == "WONoSelectionString")?"":("&language=" + language.value);
/// Discarded as it seems to create a cookie for nothing. To discard
// a cookie in JS, have a look here: http://www.quirksmode.org/js/cookies.html
// document.cookie = "";
triggerAjaxRequest(url, onLoginCallback, null, (parameters),
{ "Content-type": "application/x-www-form-urlencoded",
"Content-length": parameters.length,
"Connection": "close" });
}
else
userNameField.focus();
//document.cookie = "";
triggerAjaxRequest(url, onLoginCallback, null, (parameters),
{ "Content-type": "application/x-www-form-urlencoded",
"Content-length": parameters.length,
"Connection": "close" });
}
else
userNameField.focus();
preventDefault(event);
preventDefault(event);
}
function onLoginCallback(http) {
if (http.readyState == 4) {
var noCookiesErrorMessage = $("noCookiesErrorMessage");
var loginErrorMessage = $("loginErrorMessage");
var submitBtn = $("submit");
if (http.readyState == 4) {
var noCookiesErrorMessage = $("noCookiesErrorMessage");
var loginErrorMessage = $("loginErrorMessage");
var submitBtn = $("submit");
if (isHttpStatus204(http.status)) {
// Make sure browser's cookies are enabled
var cookieExists = 0;
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') c = c.substring(1, c.length);
if (c.indexOf("0xHIGHFLYxSOGo=") == 0) {
cookieExists = 1;
break;
}
}
if (cookieExists === 0) {
loginErrorMessage.hide();
noCookiesErrorMessage.show();
submitBtn.disabled = false;
return false;
}
if (isHttpStatus204(http.status)) {
// Make sure browser's cookies are enabled
var cookieExists = 0;
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') c = c.substring(1, c.length);
if (c.indexOf("0xHIGHFLYxSOGo=") == 0) {
cookieExists = 1;
break;
}
}
if (cookieExists === 0) {
loginErrorMessage.hide();
noCookiesErrorMessage.show();
submitBtn.disabled = false;
return false;
}
// Redirect to proper page
var userName = $("userName").value;
if (typeof(loginSuffix) != "undefined"
&& loginSuffix.length > 0
&& !userName.endsWith(loginSuffix))
userName += loginSuffix;
var address = "" + window.location.href;
var baseAddress = ApplicationBaseURL + encodeURIComponent(userName);
var altBaseAddress;
if (baseAddress[0] == "/") {
var parts = address.split("/");
var hostpart = parts[2];
var protocol = parts[0];
baseAddress = protocol + "//" + hostpart + baseAddress;
}
var altBaseAddress;
var parts = baseAddress.split("/");
parts.splice(3, 0);
altBaseAddress = parts.join("/");
// Redirect to proper page
var userName = $("userName").value;
if (typeof(loginSuffix) != "undefined"
&& loginSuffix.length > 0
&& !userName.endsWith(loginSuffix))
userName += loginSuffix;
var address = "" + window.location.href;
var baseAddress = ApplicationBaseURL + encodeURIComponent(userName);
var altBaseAddress;
if (baseAddress[0] == "/") {
var parts = address.split("/");
var hostpart = parts[2];
var protocol = parts[0];
baseAddress = protocol + "//" + hostpart + baseAddress;
}
var altBaseAddress;
var parts = baseAddress.split("/");
parts.splice(3, 0);
altBaseAddress = parts.join("/");
var newAddress;
if ((address.startsWith(baseAddress)
|| address.startsWith(altBaseAddress))
&& !address.endsWith("/logoff"))
newAddress = address;
else
newAddress = baseAddress;
window.location.href = newAddress;
}
else {
loginErrorMessage.show();
noCookiesErrorMessage.hide();
submitBtn.disabled = false;
}
}
var newAddress;
if ((address.startsWith(baseAddress)
|| address.startsWith(altBaseAddress))
&& !address.endsWith("/logoff"))
newAddress = address;
else
newAddress = baseAddress;
window.location.href = newAddress;
}
else {
loginErrorMessage.show();
noCookiesErrorMessage.hide();
submitBtn.disabled = false;
}
}
}
document.observe("dom:loaded", initLogin);
+48 -42
View File
@@ -8,7 +8,7 @@ DIV#leftPanel
DIV#schedulerTabs
{ position: absolute;
top: 0.5em;
top: 22px;
left: .2em;
right: .2em;
height: 14em; }
@@ -56,14 +56,11 @@ UL#tasksList, UL#calendarList
{ cursor: default;
margin: 0px;
padding: 0px;
border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
border-top: 2px solid #222;
border-left: 2px solid #222;
background-color: #fff;
-khtml-user-select: none;
-moz-border-top-colors: #9c9a94 #000 transparent;
-moz-border-left-colors: #9c9a94 #000 transparent;
border-top: 1px solid #909090;
border-left: 1px solid #909090;
border-bottom: 1px solid #FFFFFF;
border-right: 1px solid #FFFFFF;
background-color: #CCDDEC;
list-style-type: none;
list-style-image: none;
overflow: auto;
@@ -71,7 +68,7 @@ UL#tasksList, UL#calendarList
UL#calendarList
{ clear: left;
height: 10.5em; }
height: 10em; }
UL#calendarList LI
{ cursor: pointer;
@@ -123,7 +120,7 @@ UL#tasksList LI[class~="_selected"].duetoday
UL#tasksList LI[class~="_selected"].duelater,
UL#tasksList LI[class~="_selected"].completed
{ color: #fff !important;
background-color: #999 !important; }
background-color: #9ABCD8 !important; }
DIV#rightPanel
{ position: absolute;
@@ -140,12 +137,13 @@ DIV#rightPanel
DIV#eventsListView
{ cursor: default;
position: absolute;
background-color: #fff;
background-color: #FFFFFF;
top: 2.5em;
left: 0px;
right: 0px;
height: 15.5em;
overflow: hidden;
border-left: 1px solid #9B9B9B;
overflow-y: auto; }
DIV#calendarView
@@ -185,11 +183,12 @@ DIV#dateSelectorView
#dateSelector
{ margin: 0px auto;
height: 13.5em;
background-color: #fff;
border-top: 1px solid #fff;
border-left: 1px solid #fff;
border-right: 1px solid #aaa;
border-bottom: 1px solid #aaa; }
border-top: 1px solid #FFFFFF !important;
border-left: 1px solid #FFFFFF !important;
border-bottom: 1px solid #909090 !important;
border-right: 1px solid #909090 !important; }
#dateSelector > .header
{ background-color: #efefef;
@@ -202,10 +201,12 @@ DIV#dateSelectorView
border: 0px; }
#dateSelector > .header #leftArrow
{ float: left; }
{ float: left;
margin-top: 3px; }
#dateSelector > .header #rightArrow
{ float: right;
margin-top: 3px;
margin-right: 2px; }
#dateSelector > .header SPAN
@@ -252,7 +253,7 @@ TABLE#dateSelectorTable TD TABLE TD.dayOfToday
#dateSelectorTable TABLE TD.activeDay:hover,
#dateSelectorTable TABLE TD.inactiveDay:hover
{ border: 1px solid #deebf7; }
{ border: 1px solid #CCDDEC; }
#dateSelectorTable TABLE TD.activeDay:active,
#dateSelectorTable TABLE TD.inactiveDay:active
@@ -267,11 +268,8 @@ TABLE#dateSelectorTable TD TABLE TD.dayOfToday
{ color: #dedfde; }
#dateSelector TD.dayOfToday
{ background-color: #deebf7;
border: 1px solid #deebf7; }
#dateSelector TD.dayOfToday._selected
{ background-color: #4b6983; }
{ background-color: #CCDDEC;
border: 1px solid #CCDDEC; }
#dateSelectorTable TABLE TD._selected SPAN
{ color: #fff; }
@@ -308,7 +306,7 @@ DIV#eventDialog p#description
._unfocused#dateSelector TD._selected,
UL._unfocused > LI._selected,
TABLE._unfocused#eventsList TR._selected TD
{ background-color: #d4d0c8 !important;
{ background-color: #B3CCE2 !important;
color: #fff !important; }
SPAN.dayCellLabel
@@ -320,7 +318,7 @@ SPAN.weeksHeader,
SPAN.monthsHeader
{ display: block;
white-space: nowrap;
background-color: #d4d0c8;
background-color: #DFDFDF;
overflow: hidden;
width: 100%;
margin: 0px;
@@ -389,10 +387,10 @@ SPAN.day0
{ font-size: x-large; }
SPAN.day0, SPAN.week0, SPAN.month0
{ border-top: 1px solid #828482 !important;
border-left: 1px solid #828482 !important;
border-bottom: 1px solid #fff !important;
border-right: 1px solid #fff !important;
{ border-top: 1px solid #909090 !important;
border-left: 1px solid #909090 !important;
border-bottom: 1px solid #FFFFFF !important;
border-right: 1px solid #FFFFFF !important;
background-color: #ddd; }
A.leftNavigationArrow
@@ -452,7 +450,7 @@ DIV#calendarHeader DIV.dayLabels
DIV#calendarHeader DIV.dayLabels DIV.day
{ text-align: center;
color: #666;
background-color: #f0f0f0; }
background-color: #E7E7E7; }
DIV#calendarHeader SPAN.dayOfWeek
{ font-size: medium; }
@@ -533,30 +531,30 @@ DIV.monthView > DIV.headerDay
{ text-align: center;
cursor: default;
padding-top: .5em;
border-left: 2px solid #ccc !important;
border-top: 2px solid #ccc !important;
border-left: 1px solid #909090 !important;
border-top: 1px solid #909090 !important;
top: 0px;
color: #666;
height: 1.5em;
font-weight: bold;
background-color: #f0f0f0; }
background-color: #E7E7E7; }
DIV.dayOfToday
{ background-color: #deebf7; }
{ background-color: #CCDDEC; }
DIV.dayOfToday DIV.outOfDay
{ background-color: #d6dfe9; }
DIV.outOfDay, DIV.weekEndDay,
DIV.weekEndDay DIV.outOfDay
{ background-color: #f4f4f4; }
{ background-color: #E6E7E6; }
DIV.dayOfAnotherMonth
{ background-color: #e7efef; }
DIV.monthView DIV.dayHeader
{ background-color: #f0f0f0;
margin-right: 2px;
{ margin-right: 0px;
padding-right: 2px;
text-align: right;
cursor: pointer;
color: #666;
@@ -571,8 +569,8 @@ DIV.monthView DIV.days
DIV.monthView DIV.day
{ position: absolute;
border-left: 2px solid #ccc;
border-top: 2px solid #ccc;
border-left: 1px solid #909090;
border-top: 1px solid #909090;
min-height: 4em;
overflow: auto;
overflow-x: hidden; }
@@ -684,8 +682,7 @@ DIV.daysViewFor1Days DIV.day
DIV.monthView DIV.headerDay,
DIV.monthView DIV.day,
DIV.daysViewFor7Days DIV.day
{ width: 14.2857%;
width: 14.1%; }
{ width: 14.2%; }
DIV.monthView DIV.day0,
DIV.daysViewFor7Days DIV.day0
@@ -869,7 +866,7 @@ DIV.event > DIV.eventInside
top: 2px;
bottom: 2px;
left: 1px;
right: 2px; }
right: 1px; }
DIV.event._selected > DIV.eventInside
{ -moz-opacity: 0.7;
@@ -1526,3 +1523,12 @@ DIV#nowLineDisplay
background: red;
z-index: 49;
}
DIV#freeBusyReplicas INPUT.textField
{ width: 7em; }
DIV#freeBusyReplicas a.calendarButton {
right: 0px; }
DIV#freeBusyReplicas DIV
{ display: inline-block; height: 2em; }
TD.attendees A.button
{ float: left; left: 19px; margin-top: 5px; }
+36 -40
View File
@@ -648,9 +648,9 @@ function eventsListCallback(http) {
var sortImage = createElement("img", "messageSortImage", "sortImage");
sortHeader.insertBefore(sortImage, sortHeader.firstChild);
if (sorting["ascending"])
sortImage.src = ResourcesURL + "/title_sortdown_12x12.png";
sortImage.src = ResourcesURL + "/arrow-down.png";
else
sortImage.src = ResourcesURL + "/title_sortup_12x12.png";
sortImage.src = ResourcesURL + "/arrow-up.png";
}
}
}
@@ -1711,26 +1711,26 @@ function updateCalendarsList(method) {
}
}
function validateBrowseURL(input) {
var button = $("browseURLBtn");
//function validateBrowseURL(input) {
// var button = $("browseURLBtn");
//
// if (input.value.length) {
// if (!button.enabled)
// enableAnchor(button);
// } else if (!button.disabled)
// disableAnchor(button);
//}
if (input.value.length) {
if (!button.enabled)
enableAnchor(button);
} else if (!button.disabled)
disableAnchor(button);
}
function browseURL(anchor, event) {
if (event.button == 0) {
var input = $("url");
var url = input.value;
if (url.length)
window.open(url, '_blank');
}
return false;
}
//function browseURL(anchor, event) {
// if (event.button == 0) {
// var input = $("url");
// var url = input.value;
// if (url.length)
// window.open(url, '_blank');
// }
//
// return false;
//}
function onCalendarsMenuPrepareVisibility() {
var folders = $("calendarList");
@@ -1797,7 +1797,6 @@ function marksTasksAsCompleted () {
}
function _updateTaskCompletion (task, value) {
var checkBox = task.down ("INPUT");
url = (ApplicationBaseURL + task.calendar
+ "/" + task.cname + "/changeStatus?status=" + value);
@@ -1878,10 +1877,8 @@ function onCalendarModify(event) {
&& UserSettings['Calendar']['WebCalendars']) {
var webCalendars = UserSettings['Calendar']['WebCalendars'];
var realID = calendarID.substr (1, calendarID.length - 1);
if (webCalendars[realID]) {
width = 500;
height = 360;
}
if (webCalendars[realID])
height = 290;
}
if (calendarID == "/personal")
height = 250;
@@ -1963,7 +1960,6 @@ function onCalendarImport(event) {
var url = ApplicationBaseURL + folderId + "/import";
$("uploadForm").action = url;
$("uploadCancel").onclick = hideCalendarImport;
$("calendarFile").value = "";
var cellPosition = node.cumulativeOffset();
@@ -1973,19 +1969,17 @@ function onCalendarImport(event) {
var div = $("uploadDialog");
var res = $("uploadResults");
div.style.top = top + "px";
res.style.top = top + "px";
div.style.left = left + "px";
res.style.left = left + "px";
div.style.display = "block";
res.setStyle({ top: top + "px", left: left + "px" });
div.setStyle({ top: top + "px", left: left + "px" });
div.show();
}
function hideCalendarImport () {
$("uploadDialog").style.display = "none";
function hideCalendarImport(event) {
$("uploadDialog").hide();
}
function hideImportResults () {
$("uploadResults").style.display = "none";
function hideImportResults(event) {
$("uploadResults").hide();
}
function validateUploadForm () {
function validateUploadForm() {
rc = false;
if ($("calendarFile").value.length)
rc = true;
@@ -1995,7 +1989,6 @@ function uploadCompleted(response) {
data = response.evalJSON(true);
var div = $("uploadResults");
$("uploadOK").onclick = hideImportResults;
if (data.imported < 0)
$("uploadResultsContent").update(getLabel("An error occured while importing calendar."));
else if (data.imported == 0)
@@ -2005,8 +1998,8 @@ function uploadCompleted(response) {
refreshEventsAndDisplay();
}
hideCalendarImport ();
$("uploadResults").style.display = "block";
hideCalendarImport();
$("uploadResults").show();
}
function setEventsOnCalendar(checkBox, li) {
@@ -2294,6 +2287,9 @@ function initCalendars() {
configureLists();
$("calendarList").attachMenu("calendarsMenu");
$(document.body).observe("click", onBodyClickHandler);
// Calendar import form
$("uploadCancel").observe("click", hideCalendarImport);
$("uploadOK").observe("click", hideImportResults);
}
onWindowResize.defer();
+10 -13
View File
@@ -26,23 +26,23 @@ DIV#userSelectorHeader
DIV#userSelector SPAN
{ display: block; }
INPUT#defaultRolesBtn
A#defaultRolesBtn
{ float: right;
margin-right: 1em; }
margin-right: 1em;
margin-top: 5px;}
DIV#userRoles
{ height: 100%; }
#userSelectorButtons
{ margin-left: 1em;
padding-top: 2px;
padding-bottom: 2px; }
UL#userList
{ position: absolute;
left: 0px;
right: 0px;
top: 30px;
top: 40px;
bottom: 33px;
padding: 0px;
margin: 0px;
@@ -50,18 +50,15 @@ UL#userList
overflow: auto;
border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
border-top: 2px solid #222;
border-left: 2px solid #222;
background-color: #fff;
-moz-border-top-colors: #9c9a94 #000 transparent;
-moz-border-left-colors: #9c9a94 #000 transparent;
border-top: 1px solid #909090;
border-left: 1px solid #909090;
background-color: #CCDDEC;
list-style-type: none;
list-style-image: none; }
UL#userList LI
{ cursor: pointer;
margin-left: 3px; }
padding-left: 3px; }
UL#userList > LI._selected
{ background: #4b6983 !important;
color: #fff !important; }
DIV#userSelectorButtons A.smallToolbarButton
{ float: left; }
+99 -97
View File
@@ -1,159 +1,161 @@
/* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* test */
var contactSelectorAction = 'acls-contacts';
var defaultUserID = '';
var AclEditor = {
userRightsHeight: null,
userRightsWidth: null
userRightsHeight: null,
userRightsWidth: null
};
function addUser(userName, userID) {
var result = false;
if (!$(userID)) {
var ul = $("userList");
ul.appendChild(nodeForUser(userName, userID));
var url = window.location.href;
var elements = url.split("/");
elements[elements.length-1] = ("addUserInAcls?uid="
+ userID);
triggerAjaxRequest(elements.join("/"), addUserCallback);
result = true;
}
return result;
var result = false;
if (!$(userID)) {
var ul = $("userList");
ul.appendChild(nodeForUser(userName, userID));
var url = window.location.href;
var elements = url.split("/");
elements[elements.length-1] = ("addUserInAcls?uid="
+ userID);
triggerAjaxRequest(elements.join("/"), addUserCallback);
result = true;
}
return result;
}
function addUserCallback(http) {
// Ignore response
// Ignore response
}
function setEventsOnUserNode(node) {
var n = $(node);
n.observe("mousedown", listRowMouseDownHandler);
n.observe("selectstart", listRowMouseDownHandler);
n.observe("dblclick", onOpenUserRights);
n.observe("click", onRowClick);
var n = $(node);
n.observe("mousedown", listRowMouseDownHandler);
n.observe("selectstart", listRowMouseDownHandler);
n.observe("dblclick", onOpenUserRights);
n.observe("click", onRowClick);
}
function nodeForUser(userName, userId) {
var node = document.createElement("li");
node.setAttribute("id", userId);
node.setAttribute("class", "");
setEventsOnUserNode(node);
var node = document.createElement("li");
node.setAttribute("id", userId);
node.setAttribute("class", "");
setEventsOnUserNode(node);
var image = document.createElement("img");
image.setAttribute("src", ResourcesURL + "/abcard.gif");
var image = document.createElement("img");
image.setAttribute("src", ResourcesURL + "/abcard.gif");
node.appendChild(image);
node.appendChild(document.createTextNode(" " + userName));
node.appendChild(image);
node.appendChild(document.createTextNode(" " + userName));
return node;
return node;
}
function saveAcls() {
var uidList = new Array();
var users = $("userList").childNodesWithTag("li");
for (var i = 0; i < users.length; i++)
uidList.push(users[i].getAttribute("id"));
$("userUIDS").value = uidList.join(",");
$("aclForm").submit();
var uidList = new Array();
var users = $("userList").childNodesWithTag("li");
for (var i = 0; i < users.length; i++)
uidList.push(users[i].getAttribute("id"));
$("userUIDS").value = uidList.join(",");
$("aclForm").submit();
return false;
return false;
}
function onUserAdd(event) {
openUserFolderSelector(null, "user");
openUserFolderSelector(null, "user");
preventDefault(event);
preventDefault(event);
}
function removeUserCallback(http) {
var node = http.callbackData;
var node = http.callbackData;
if (http.readyState == 4
&& isHttpStatus204(http.status))
node.parentNode.removeChild(node);
else
log("error deleting user: " + node.getAttribute("id"));
if (http.readyState == 4
&& isHttpStatus204(http.status))
node.parentNode.removeChild(node);
else
log("error deleting user: " + node.getAttribute("id"));
}
function onUserRemove(event) {
var userList = $("userList");
var nodes = userList.getSelectedRows();
var userList = $("userList");
var nodes = userList.getSelectedRows();
var url = window.location.href;
var elements = url.split("/");
elements[elements.length-1] = "removeUserFromAcls?uid=";
var baseURL = elements.join("/");
var url = window.location.href;
var elements = url.split("/");
elements[elements.length-1] = "removeUserFromAcls?uid=";
var baseURL = elements.join("/");
for (var i = 0; i < nodes.length; i++) {
var userId = nodes[i].getAttribute("id");
triggerAjaxRequest(baseURL + userId, removeUserCallback, nodes[i]);
}
preventDefault(event);
for (var i = 0; i < nodes.length; i++) {
var userId = nodes[i].getAttribute("id");
triggerAjaxRequest(baseURL + userId, removeUserCallback, nodes[i]);
}
preventDefault(event);
}
function subscribeToFolder(refreshCallback, refreshCallbackData) {
var result = true;
if (UserLogin != refreshCallbackData["folder"]) {
result = addUser(refreshCallbackData["folderName"],
refreshCallbackData["folder"]);
}
else
refreshCallbackData["window"].alert(getLabel("You cannot subscribe to a folder that you own!"));
return result;
var result = true;
if (UserLogin != refreshCallbackData["folder"]) {
result = addUser(refreshCallbackData["folderName"],
refreshCallbackData["folder"]);
}
else
refreshCallbackData["window"].alert(getLabel("You cannot subscribe to a folder that you own!"));
return result;
}
function openRightsForUserID(userID) {
var url = window.location.href;
var elements = url.split("/");
elements[elements.length-1] = "userRights?uid=" + userID;
var url = window.location.href;
var elements = url.split("/");
elements[elements.length-1] = "userRights?uid=" + userID;
window.open(elements.join("/"), "",
"width=" + AclEditor.userRightsWidth
+ ",height=" + AclEditor.userRightsHeight
+ ",resizable=0,scrollbars=0,toolbar=0,"
+ "location=0,directories=0,status=0,menubar=0,copyhistory=0");
window.open(elements.join("/"), "",
"width=" + AclEditor.userRightsWidth
+ ",height=" + AclEditor.userRightsHeight
+ ",resizable=0,scrollbars=0,toolbar=0,"
+ "location=0,directories=0,status=0,menubar=0,copyhistory=0");
}
function openRightsForUser(button) {
var nodes = $("userList").getSelectedRows();
if (nodes.length > 0)
openRightsForUserID(nodes[0].getAttribute("id"));
var nodes = $("userList").getSelectedRows();
if (nodes.length > 0)
openRightsForUserID(nodes[0].getAttribute("id"));
return false;
return false;
}
function openRightsForDefaultUser(event) {
openRightsForUserID(defaultUserID);
preventDefault(event);
this.blur(); // required by IE
openRightsForUserID(defaultUserID);
Event.stop(event);
}
function onOpenUserRights(event) {
openRightsForUser();
preventDefault(event);
openRightsForUser();
preventDefault(event);
}
function onAclLoadHandler() {
defaultUserID = $("defaultUserID").value;
var defaultRolesBtn = $("defaultRolesBtn");
if (defaultRolesBtn)
defaultRolesBtn.observe("click", openRightsForDefaultUser);
var ul = $("userList");
var lis = ul.childNodesWithTag("li");
for (var i = 0; i < lis.length; i++)
setEventsOnUserNode(lis[i]);
defaultUserID = $("defaultUserID").value;
var defaultRolesBtn = $("defaultRolesBtn");
if (defaultRolesBtn) {
defaultRolesBtn.observe("click", openRightsForDefaultUser);
}
var ul = $("userList");
var lis = ul.childNodesWithTag("li");
for (var i = 0; i < lis.length; i++)
setEventsOnUserNode(lis[i]);
var buttonArea = $("userSelectorButtons");
if (buttonArea) {
var buttons = buttonArea.childNodesWithTag("a");
buttons[0].observe("click", onUserAdd);
buttons[1].observe("click", onUserRemove);
}
var buttonArea = $("userSelectorButtons");
if (buttonArea) {
var buttons = buttonArea.childNodesWithTag("a");
$("aclAddUser").stopObserving ("click");
$("aclDeleteUser").stopObserving ("click");
$("aclAddUser").observe("mousedown", onUserAdd);
$("aclDeleteUser").observe("mousedown", onUserRemove);
}
AclEditor['userRightsHeight'] = window.opener.getUsersRightsWindowHeight();
AclEditor['userRightsWidth'] = window.opener.getUsersRightsWindowWidth();
AclEditor['userRightsHeight'] = window.opener.getUsersRightsWindowHeight();
AclEditor['userRightsWidth'] = window.opener.getUsersRightsWindowWidth();
}
document.observe("dom:loaded", onAclLoadHandler);
@@ -71,7 +71,7 @@ DIV#participants UL.contactList
SPAN.checkBoxList SPAN.content LABEL
{ display: inline; }
n0SPAN.content
SPAN.content
{ position: absolute;
line-height: 2em;
top: -.25em;
+29 -21
View File
@@ -21,12 +21,10 @@ DIV#freeBusyView
left: 0px;
right: 0px;
overflow: hidden;
border-top: 2px solid #222;
border-left: 2px solid #222;
border-top: 1px solid #909090;
border-left: 1px solid #909090;
border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
-moz-border-top-colors: #9c9a94 #000;
-moz-border-left-colors: #9c9a94 #000; }
border-bottom: 1px solid #fff; }
TABLE
{ border-collapse: separated;
@@ -127,7 +125,7 @@ TABLE#freeBusyData TR.futureData TD
line-height: 3em; }
TABLE#freeBusyAttendees TR.futureAttendee TD A
{ margin-left: 24px; }
{ margin-left: 20px; }
SPAN.freeBusyZoneElement
{ display: block;
@@ -210,10 +208,22 @@ DIV#freeBusyViewButtons
{ position: absolute;
margin: 0px;
border: 0px;
padding: 3px;
height: 2em;
padding: 0px 3px 3px 3px;
line-height: 2em;
top: 0px;
left: 16em; }
right: 0;
padding-right: 16em; /* leave space for the next/previous buttons */
text-align: right;
left: auto; }
DIV#freeBusyViewButtons SPAN.buttons
{ position: absolute;
top: 0px;
left: auto;
right: 0px; }
DIV#freeBusyViewButtons INPUT
{ clear: none; }
DIV#freeBusyZoomButtons
{ position: absolute;
@@ -224,20 +234,9 @@ DIV#freeBusyZoomButtons
top: 0px;
right: 0px; }
DIV#freeBusyButtons
{ position: absolute;
top: 7em;
left: 0px;
text-align: left;
width: 20em;
height: 2em; }
DIV#freeBusyButtons A.button
{ width: 5em; }
DIV#freeBusyReplicas
{ position: absolute;
top: 6em;
top: 5em;
right: 0px;
width: 30em;
height: 4em; }
@@ -256,3 +255,12 @@ DIV#windowButtons
.officeHour
{ color: #666 !important;
font-weight: bold !important; }
SPAN.content INPUT,
SPAN.content SELECT,
SPAN.content SPAN,
SPAN.timeDateControl INPUT,
SPAN.timeDateControl SELECT,
SPAN.timeDateControl SPAN,
DIV#freeBusyReplicas SPAN
{ vertical-align: top; }
+6 -4
View File
@@ -551,12 +551,14 @@ function updateSlotDisplayCallback(http) {
cb();
}
function onPreviousSlotClick (event) {
findSlot (-1);
function onPreviousSlotClick(event) {
findSlot(-1);
this.blur(); // required by IE
}
function onNextSlotClick (event) {
findSlot (1);
function onNextSlotClick(event) {
findSlot(1);
this.blur(); // required by IE
}
function onEditorOkClick(event) {
@@ -21,10 +21,11 @@ DIV.calendarUserRights SPAN
line-height: 2em;
margin-right: 1em;
text-align: right;
width: 200px; }
width: 220px; }
DIV.calendarUserRights HR
{ border: 0; }
DIV.buttons
{ text-align: right;
margin: 1em;
@@ -1,11 +1,19 @@
/* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
function onCancelClick(event) {
window.close();
function onUpdateACL(event) {
$('userRightsForm').submit();
Event.stop(event);
return false;
}
function onCancelACL(event) {
window.close();
}
function initACLButtons() {
$("cancelButton").observe("click", onCancelClick);
$("updateButton").observe("click", onUpdateACL);
$("cancelButton").observe("click", onCancelACL);
}
document.observe("dom:loaded", initACLButtons);
+13 -10
View File
@@ -6,7 +6,11 @@ DIV
{ clear: both; }
FIELDSET
{ margin-bottom: 5px; }
{ margin-bottom: 5px;
border: 1px solid #FFFFFF;
border-top: 1px solid #909090;
border-left: 1px solid #909090; }
SPAN.label
{ cursor: default;
@@ -22,15 +26,14 @@ SPAN.content
line-height: 1.5em;
vertical-align: middle; }
SPAN.content INPUT.textField
{ width: 50%; }
BUTTON#colorButton
{ display: none;
margin: 1px 0 0 1px;
border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
border-top: 2px solid #222;
border-left: 2px solid #222;
-moz-border-top-colors: #9c9a94 #000 transparent;
-moz-border-left-colors: #9c9a94 #000 transparent;
border: 1px solid #FFFFFF;
border-top: 1px solid #909090;
border-left: 1px solid #909090;
width: 3em;
height: 18px; }
@@ -42,6 +45,6 @@ DIV#buttons
INPUT#calendarSyncTag
{ width: 7em; }
#webCalendarUrl span.content
{ white-space:nowrap;
#webCalendarUrl SPAN.content
{ white-space: nowrap;
overflow: hidden; }
+14 -12
View File
@@ -1,20 +1,20 @@
/* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
function onLoadCalendarProperties() {
var colorButton = $("colorButton");
var calendarColor = $("calendarColor");
colorButton.setStyle({ "backgroundColor": calendarColor.value, display: "inline" });
colorButton.observe("click", onColorClick);
var cancelButton = $("cancelButton");
cancelButton.observe("click", onCancelClick);
var okButton = $("okButton");
okButton.observe("click", onOKClick);
var colorButton = $("colorButton");
var calendarColor = $("calendarColor");
colorButton.setStyle({ "backgroundColor": calendarColor.value, display: "inline" });
colorButton.observe("click", onColorClick);
var cancelButton = $("cancelButton");
cancelButton.observe("click", onCancelClick);
var okButton = $("okButton");
okButton.observe("click", onOKClick);
}
function onCancelClick(event) {
window.close();
window.close();
}
function onOKClick(event) {
@@ -52,10 +52,12 @@ function onOKClick(event) {
&& !originalTag.value.blank())
save = confirm(getLabel("tagWasRemoved"));
if (save)
if (save) {
window.opener.updateCalendarProperties(calendarID.value,
calendarName.value,
calendarColor.value);
$("propertiesform").submit();
}
else
Event.stop(event);
}
@@ -13,6 +13,9 @@ SPAN.datePicker INPUT.textField
SPAN.timeDateControl A.button
{ border: 0; }
SPAN.timeDateControl A:hover
{ text-decoration: none; }
SPAN.content
{ position: absolute;
line-height: 2em;
@@ -111,3 +114,11 @@ IMG#progressIndicator
position: absolute;
right: 1em;
margin: 0 5px; }
SPAN.content INPUT,
SPAN.content SELECT,
SPAN.content SPAN,
SPAN.timeDateControl INPUT,
SPAN.timeDateControl SELECT,
SPAN.timeDateControl SPAN
{ vertical-align: top; }
+2 -2
View File
@@ -22,8 +22,8 @@ function onPopupAttendeesWindow(event) {
function onSelectPrivacy(event) {
if (event.button == 0 || (isSafari() && event.button == 1)) {
var node = getTarget(event);
if (node.tagName != 'BUTTON')
node = $(node).up("button");
if (node.tagName != 'A')
node = $(node).up("A");
popupToolbarMenu(node, "privacy-menu");
Event.stop(event);
// preventDefault(event);
+2 -40
View File
@@ -4,46 +4,12 @@ DIV#addressBookSelector
DIV#addressBookSelector SELECT
{ width: 32em; }
DIV#editorTabs
{ position: absolute;
top: .5em;
left: .5em;
right: .5em;
bottom: 2.5em;
margin-bottom: 1em; }
DIV#editorTabs DIV.tab
{ padding: .5em;
overflow: hidden; }
SELECT
{ width: 8em; }
DIV.tab TABLE
{ border: 1px solid #aaa;
margin-top: -.5em;
margin-left: auto;
margin-right: auto;
margin-bottom: 1em;
padding: 1em;
-moz-border-radius: 6px;
display: table;
text-align: right;
width: 100%; }
SPAN.caption
{ display: inline-block;
position: relative;
text-align: center;
cursor: default;
background-color: #d4d0c8;
width: auto;
padding: .25em;
margin-left: 7px;
border: 0px; }
DIV#buttons
{ visibility: visible;
{ color: #535D6D;
visibility: visible;
position: absolute;
right: 1em;
bottom: 1em; }
@@ -75,10 +41,6 @@ TABLE#emailInfos TD.preferred
overflow: visible;
text-align: center; }
DIV.tab TD INPUT.textField
{ width: 60%;
margin-left: .5em; }
DIV.tab TD.firstColumn INPUT.textField,
DIV.tab TD.secondColumn INPUT.textField
{ width: 35%; }
+10 -2
View File
@@ -134,8 +134,15 @@ function onFnNewValue(event) {
}
function onEditorCancelClick(event) {
preventDefault(event);
window.close();
this.blur();
preventDefault(event);
window.close();
}
function onEditorSubmitClick(event) {
if (validateContactEditor())
$('mainForm').submit();
this.blur();
}
function initEditorForm() {
@@ -145,6 +152,7 @@ function initEditorForm() {
$("givenName").onkeyup = onFnNewValue;
$("cancelButton").observe("click", onEditorCancelClick);
$("submitButton").observe("click", onEditorSubmitClick);
}
document.observe("dom:loaded", initEditorForm);
@@ -1,8 +1,7 @@
DIV#filterPanel
{ position: absolute; n0border: 1px dotted blue;
{ position: absolute;
text-align: center;
width: auto;
n0line-height: 3em;
top: 0;
left: 0;
padding: 3px 1em 0; }
@@ -25,16 +24,14 @@ DIV#folders
right: 1em;
top: 3em;
bottom: 3em;
background-color: #fff;
background-color: #CCDDEC;
padding: .5em;
padding-top: 0px;
overflow: auto;
border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
border-top: 2px solid #222;
border-left: 2px solid #222;
-moz-border-top-colors: #9c9a94 #000 transparent;
-moz-border-left-colors: #9c9a94 #000 transparent; }
border-top: 1px solid #909090;
border-left: 1px solid #909090;
border-bottom: 1px solid #FFFFFF;
border-right: 1px solid #FFFFFF; }
DIV#folders DIV
{ width: auto; }
+51 -45
View File
@@ -108,22 +108,25 @@ function onUserNodeToggle(event) {
}
function onTreeItemClick(event) {
preventDefault(event);
var topNode = $("d");
if (topNode.selectedEntry)
topNode.selectedEntry.deselect();
this.selectElement();
topNode.selectedEntry = this;
if (window.opener.userFolderType == "user")
$("addButton").disabled = false;
else {
var dataname = this.parentNode.getAttribute("dataname");
if (!dataname)
dataname = "";
$("addButton").disabled = (dataname.indexOf(":") == -1);
};
preventDefault(event);
var topNode = $("d");
if (topNode.selectedEntry)
topNode.selectedEntry.deselect();
this.selectElement();
topNode.selectedEntry = this;
if (window.opener.userFolderType == "user")
$("addButton").removeClassName("disabled");
else {
var dataname = this.parentNode.getAttribute("dataname");
if (!dataname)
dataname = "";
if (dataname.indexOf(":") == -1)
$("addButton").addClassName("disabled");
else
$("addButton").removeClassName("disabled");
};
}
function foldersSearchCallback(http) {
@@ -191,35 +194,38 @@ function addFolderNotFoundNode (tree, nodeId) {
}
function onConfirmFolderSelection(event) {
var topNode = $("d");
if (topNode && topNode.selectedEntry) {
var node = topNode.selectedEntry.parentNode;
var folder = node.getAttribute("dataname");
var folderName;
if (window.opener.userFolderType == "user") {
var span = $(topNode.selectedEntry).down("SPAN.nodeName");
var email = (span.innerHTML
.replace("&lt;", "<", "g")
.replace("&gt;", ">", "g"));
folderName = email;
if (!this.hasClassName("disabled")) {
var topNode = $("d");
if (topNode && topNode.selectedEntry) {
var node = topNode.selectedEntry.parentNode;
var folder = node.getAttribute("dataname");
var folderName;
if (window.opener.userFolderType == "user") {
var span = $(topNode.selectedEntry).down("SPAN.nodeName");
var email = (span.innerHTML
.replace("&lt;", "<", "g")
.replace("&gt;", ">", "g"));
folderName = email;
}
else {
var resource = $(topNode.selectedEntry).down("SPAN.nodeName");
var user = $(node.parentNode.previousSibling).down("SPAN.nodeName");
var email = (user.innerHTML
.replace("&lt;", "<", "g")
.replace("&gt;", ">", "g"));
folderName = resource.innerHTML + ' (' + email + ')';
}
folderName = folderName.replace(/>,.*(\))?$/, ">)$1", "g");
var data = { folderName: folderName, folder: folder, window: window };
if (parent$(accessToSubscribedFolder(folder)))
window.alert(getLabel("You have already subscribed to that folder!"));
else
window.opener.subscribeToFolder(window.opener.userFolderCallback, data);
this.blur(); // required by IE
}
}
else {
var resource = $(topNode.selectedEntry).down("SPAN.nodeName");
var user = $(node.parentNode.previousSibling).down("SPAN.nodeName");
var email = (user.innerHTML
.replace("&lt;", "<", "g")
.replace("&gt;", ">", "g"));
folderName = resource.innerHTML + ' (' + email + ')';
}
folderName = folderName.replace(/>,.*(\))?$/, ">)$1", "g");
var data = { folderName: folderName, folder: folder, window: window };
if (parent$(accessToSubscribedFolder(folder)))
window.alert(getLabel("You have already subscribed to that folder!"));
else
window.opener.subscribeToFolder(window.opener.userFolderCallback, data);
}
}
function onFolderSearchKeyDown(event) {
@@ -237,7 +243,7 @@ function onFolderSearchKeyDown(event) {
delete d;
}
div.clean = true;
$("addButton").disabled = true;
$("addButton").addClassName("disabled");
}
if (this.timer)
@@ -1,12 +1,19 @@
/* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
function onCancelClick(event) {
window.close();
function onUpdateACL(event) {
$('userRightsForm').submit();
Event.stop(event);
return false;
}
function onCancelACL(event) {
window.close();
}
function initACLButtons() {
var button = $("cancelButton");
button.observe("click", onCancelClick);
$("updateButton").observe("click", onUpdateACL);
$("cancelButton").observe("click", onCancelACL);
}
document.observe("dom:loaded", initACLButtons);
+36 -30
View File
@@ -9,47 +9,56 @@ TABLE.details TD
TABLE#referenceList
{ width: 100%; }
DIV.frame
{ border-top: 1px solid #909090;
border-left: 1px solid #909090;
border-bottom: 1px solid #FFFFFF;
border-right: 1px solid #FFFFFF;
margin: 5px 15px;
padding: 5px; }
TABLE#referenceList THEAD TD
{ padding-right: 2px; }
DIV.frame INPUT.button
{ margin-top: 5px; }
TR.tableview TD
{ text-align: right; }
TABLE#referenceList TBODY TD TR
{ background: #CCDDEC;
text-align: left;}
TD.referenceListCell
{ background: white;
text-align: left; }
{ padding-left: 2em;
background: #CCDDEC;
text-align: left;}
TABLE#referenceList TD INPUT
{ width: 98%; }
{ width: 97%; }
DIV#referenceListWrapper
{ background: white;
{ background: #CCDDEC;
overflow: auto;
position: relative;
right: 0;
top: 0;
left: 0;
height: 33em;
height: 300px;
border-left: 1px solid #9B9B9B;
margin: 2px; }
DIV#referenceListWrapper TR,
TR.referenceListRow
{ background: #FFFFFF;
{ background: #CCDDEC;
line-height: 2em; }
TR._selected
{ background: #333333; }
TD.referenceListCell
{ -moz-user-select: none; }
TD.referenceListCell SPAN,
TD.referenceListCell INPUT
{ margin-left: 3px; }
DIV#windowButtons
{ position: fixed;
top: auto;
bottom: 5em;
left: 0px;
right: 25px;
height: 3.5em;
line-height: 2em;
vertical-align: middle;
text-align: right; }
DIV#buttons
{ position: fixed;
top: auto;
@@ -58,17 +67,14 @@ DIV#buttons
right: 25px;
height: 3.5em;
line-height: 2em;
color: #535D6D;
vertical-align: middle;
text-align: right; }
H3 {
clear: both;
margin-bottom: 2px !important;
margin-left: 5px !important;
}
td {color: #535D6D;}
INPUT.textField {
width: 250px;
position: relative;
right: 0px;
}
DIV#listEditor
{ padding: 5px; }
TD.editing
{ text-align: left; }
+11 -3
View File
@@ -78,12 +78,13 @@ function onReferenceAdd (e) {
textField.addressBook = activeAddressBook;
textField.excludeLists = true;
textField.observe("autocompletion:changed", endEditable);
textField.addClassName("textField");
td.appendChild(textField);
td.appendChild(span);
row.appendChild (td);
tablebody.appendChild(row);
tablebody.deselectAll();
$(tablebody).deselectAll();
row.selectElement();
makeEditable(td);
@@ -97,6 +98,7 @@ function onReferenceDelete(e) {
for (var i = 0; i < count; i++) {
rows[i].remove();
}
return false;
}
function serializeReferences(e) {
@@ -129,8 +131,13 @@ function resetTableActions() {
}
function onEditorCancelClick(event) {
preventDefault(event);
window.close();
preventDefault(event);
window.close();
}
function onEditorSubmitClick(event) {
if (validateListEditor())
$("mainForm").submit();
}
function initListEditor() {
@@ -140,6 +147,7 @@ function initListEditor() {
$("referenceAdd").observe("click", onReferenceAdd);
$("referenceDelete").observe("click", onReferenceDelete);
$("cancelButton").observe("click", onEditorCancelClick);
$("submitButton").observe("click", onEditorSubmitClick);
}
document.observe("dom:loaded", initListEditor);
+9 -6
View File
@@ -23,8 +23,8 @@ DIV.addressList
TABLE#addressList
{ border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
border-top: 1px solid #444;
border-left: 1px solid #444;
border-top: 1px solid #909090;
border-left: 1px solid #909090;
border-spacing: 0px;
margin: 0px;
padding: 0px;
@@ -52,7 +52,8 @@ TABLE#addressList TD.headerInput
padding-right: 4px; }
TABLE#addressList TD.headerInput INPUT
{ border: 0px;
{ background: #fff !important;
border: 0px;
margin: 0px;
padding: 0px;
width: 100%; }
@@ -68,8 +69,9 @@ DIV#subjectRow SPAN.headerField
{ float: left; }
DIV#subjectRow INPUT
{ background-image: none;
padding: 0px 2px 0px 4px; }
{ background: #fff;
margin-left: 2px;
padding: 0px 2px 0px 2px; }
div#compose_internetmarker
{ padding: 8px;
@@ -163,4 +165,5 @@ UL#attachments LI IMG
{ width: 99%; }
TEXTAREA#text
{ display: none; }
{ display: none;
background: #fff; }
+8 -3
View File
@@ -499,8 +499,8 @@ function onSelectAllAttachments() {
function onSelectPriority(event) {
if (event.button == 0 || (isSafari() && event.button == 1)) {
var node = getTarget(event);
if (node.tagName != 'BUTTON')
node = $(node).up("button");
if (node.tagName != 'A')
node = $(node).up("A");
popupToolbarMenu(node, "priority-menu");
Event.stop(event);
}
@@ -532,7 +532,12 @@ function onWindowResize(event) {
subjectinput.setStyle({ width: (window.width()
- $(subjectfield).getWidth()
- attachmentswidth
- 16) + 'px' });
- 12) + 'px' });
// Resize from field
$("fromSelect").setStyle({ width: (window.width()
- $("fromField").getWidth()
- attachmentswidth
- 10) + 'px' });
// Resize address fields
var addresslist = $('addressList');
@@ -18,7 +18,6 @@ function onICalendarButtonClick(event) {
var link = $("iCalendarAttachment").value;
if (link) {
var urlstr = link + "/" + this.action;
var currentMsg;
if (window.opener && window.opener.open && !window.opener.closed && window.messageUID) {
var c = window.opener;
window.opener.triggerAjaxRequest(urlstr,
@@ -1,11 +1,19 @@
/* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
function onCancelClick(event) {
window.close();
function onUpdateACL(event) {
$('userRightsForm').submit();
Event.stop(event);
return false;
}
function onCancelACL(event) {
window.close();
}
function initACLButtons() {
$("cancelButton").observe("click", onCancelClick);
$("updateButton").observe("click", onUpdateACL);
$("cancelButton").observe("click", onCancelACL);
}
document.observe("dom:loaded", initACLButtons);
@@ -11,3 +11,6 @@ DIV#leftButtons
DIV#rightButtons
{ text-align: right; }
A#thisButton
{ float: left !important; }
+26 -15
View File
@@ -1,6 +1,6 @@
DIV#preferencesTabs
{ position: absolute;
top: 5em;
top: 6.5em;
left: .5em;
right: .5em;
bottom: .5em; }
@@ -25,8 +25,14 @@ DIV#vacationView
overflow: hidden; }
TEXTAREA#signature
{ height: 100%;
width: 100%; }
{ position: absolute;
top: 5px;
bottom: 5px;
right: 5px;
left: 5px;
display: block;
height: 345px;
width: 415px;}
TABLE#categoriesList
{ width: 100%; }
@@ -35,10 +41,13 @@ DIV#categoriesListWrapper
{ overflow: auto;
position: absolute;
bottom: 30px;
right: 0;
top: 8em;
left: 0;
padding: 2px; }
right: 2em;
top: 88px;
left: 2em;
padding: 0px;
margin-top: 2px;
border-left: 1px solid #9B9B9B;
background: #CCDDEC; }
DIV.colorBox
{ border: 1px solid #333333;
@@ -49,21 +58,16 @@ DIV.colorBox
width: 1em; }
TR.categoryListRow
{ background: #FFFFFF; }
TR._selected
{ background: #333333; }
{ background: #CCDDEC; }
TD.categoryListCell
{ -moz-user-select: none; }
DIV#windowButtons
{ position: fixed;
top: auto;
bottom: 0px;
bottom: 20px;
left: 0px;
right: 25px;
height: 3.5em;
line-height: 2em;
vertical-align: middle;
text-align: right; }
@@ -80,4 +84,11 @@ DIV#windowButtons
#vacation SPAN
{ float: right; }
#vacation BR
{ clear: both; }
{ clear: both; }
DIV.bottomToolbar
{ position: absolute;
bottom: 9px;
left: 2em;
right: 2em;
margin: 0px; }
+4 -23
View File
@@ -20,18 +20,6 @@ DIV#windowButtons
DIV#pageContent
{ padding: 1em; }
TABLE.section
{ border: 1px solid #aaa;
margin-top: -.5em;
margin-left: auto;
margin-right: auto;
margin-bottom: 1em;
padding: 1em;
-moz-border-radius: 6px;
table-layout: auto;
text-align: right;
width: 100%; }
TABLE TH
{ font-weight: normal;
text-align: right;
@@ -43,17 +31,6 @@ TABLE TD
TABLE TD.label
{ width: 11em; }
SPAN.caption
{ display: inline-block;
position: relative;
text-align: center;
cursor: default;
background-color: #d4d0c8;
width: auto;
padding: .25em;
margin-left: 7px;
border: 0px; }
INPUT.textField
{ margin: 0px 0.7em;
width: 2em; }
@@ -106,3 +83,7 @@ DIV#month SPAN.week DIV P
SPAN.week DIV:hover
{ border: 1px solid #4b6983; }
a.calendarButton
{ right:240px; }
@@ -11,18 +11,6 @@ DIV#windowButtons
DIV#pageContent
{ padding: 1em; }
TABLE.section
{ border: 1px solid #aaa;
margin-top: -.5em;
margin-left: auto;
margin-right: auto;
margin-bottom: 1em;
padding: 1em;
-moz-border-radius: 6px;
table-layout: auto;
text-align: right;
width: 100%; }
TABLE TH
{ font-weight: normal;
text-align: right;
@@ -34,17 +22,6 @@ TABLE TD
TABLE TD.label
{ width: 11em; }
SPAN.caption
{ display: inline-block;
position: relative;
text-align: center;
cursor: default;
background-color: #d4d0c8;
width: auto;
padding: .25em;
margin-left: 7px;
border: 0px; }
INPUT.textField
{ margin: 0 0.7em 0 0;
width: 2em; }
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1019 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

+366 -289
View File
@@ -9,10 +9,10 @@ BODY
left: 0px;
right: 0px;
bottom: 0px;
color: #000000;
color: #535D6D;
font-family: Lucida Grande, Bitstream VeraSans, Tahoma;
font-size: 8pt;
background-color: #d4d0c8;
background-color: #E6E7E6;
border: 0px;
margin: 0px;
padding: 0px;
@@ -39,12 +39,17 @@ DIV#toolbar IMG#progressIndicator
DIV#pageContent
{ clear: both; }
.clear
{ clear: both;
padding-top: 1em; }
A
{ text-decoration: none;
-moz-outline: 0px; }
LABEL
{ white-space: nowrap;
{ color: #535D6D;
white-space: nowrap;
margin-left: .5em; }
TABLE
@@ -70,7 +75,7 @@ a:hover
.defaultfont
{ text-decoration: none;
color: #000000; }
color: #535D6D; }
.window_label
{ color: #06348b;
@@ -78,7 +83,7 @@ a:hover
.homepagefont
{ text-decoration: none;
color: #000000; }
color: #535D6D; }
/* header */
@@ -94,7 +99,7 @@ div#header img.headerlogo
height: 30px; }
div#header div#headerhistory
{ color: #000000;
{ color: #535D6D;
margin: 0px;
padding-top: 18px;
height: 12px; }
@@ -152,12 +157,15 @@ DIV.linkbanner SPAN
DIV.linkbanner A:hover
{ color: #dd5; }
DIV.linkbanner A#logoff
DIV.linkbanner A#logoff, DIV.linkbanner SPAN#userEmailDisplay
{ float: right;
margin: 0px;
padding: 0px;
padding-right: .5em; }
DIV.linkbanner SPAN#userEmailDisplay
{ color: #DDDDDD; }
.linkbannerlinks
{ vertical-align: bottom;
text-align: left; }
@@ -172,13 +180,7 @@ DIV.contactSelector UL.contactList IMG
{ margin: 0px .5em; }
SELECT
{ border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
border-top: 2px solid #222;
border-left: 2px solid #222;
vertical-align: middle;
-moz-border-top-colors: #9c9a94 #000 transparent;
-moz-border-left-colors: #9c9a94 #000 transparent;
{ vertical-align: middle;
margin: 2px;
padding-right: 1px; }
@@ -192,108 +194,6 @@ DIV.contactSelector DIV.contactList
background-color: #eee;
text-align: left; }
TEXTAREA
{ vertical-align: top; }
DIV, TEXTAREA, INPUT, SELECT
{ font-family: inherit;
font-size: 8pt;
font-size: inherit; }
TEXTAREA, INPUT.textField
{ margin: 1px;
border-bottom: 1px solid #fff;
border-right: 1px solid #fff;
border-top: 2px solid #222;
border-left: 2px solid #222;
-moz-border-top-colors: #9c9a94 #000 transparent;
-moz-border-left-colors: #9c9a94 #000 transparent; }
TEXTAREA
{ padding: 0px;
padding-left: 2px; }
INPUT.textField
{ padding: 2px;
vertical-align: middle; }
DIV#toolbar
{ left: 0px;
border-top: 1px solid #fff;
border-bottom: 1px solid #848284;
margin: 0px;
padding: 0px;
white-space: nowrap;
overflow: auto; }
BODY.popup DIV#toolbar
{ border-top: 0px; }
SPAN.toolbarSeparator
{ display: block;
float: left;
height: 3.8em;
vertical-align: middle;
border-right : 1px solid #fff;
border-left : 1px solid #9c9a94;
margin: 0px .25em;
margin-top: 0.125em;
width: 0px;
padding: 0px; }
BUTTON.toolbarButton,
SPAN.toolbarButton,
SPAN.disabledToolbarButton
{ color: #000;
font-family: Lucida Grande, Bitstream VeraSans, Tahoma;
font-size: 8pt;
text-decoration: none;
cursor: default;
display: inline;
float: left;
text-align: center;
-moz-box-align: center;
-moz-box-pack: center;
border-left: 1px solid transparent;
border-top: 1px solid transparent;
border-right: 1px solid transparent;
border-bottom: 1px solid transparent;
padding: 1px 2px;
background-color: transparent;
color: -moz-DialogText;
overflow: visible;
margin: 0px; }
SPAN.disabledToolbarButton
{ -moz-opacity: 0.4;
opacity: 0.4;
padding-top: 2px; }
BUTTON.toolbarButton:hover,
SPAN.toolbarButton:hover
{ color: -moz-buttonhovertext;
border-top: 1px solid #fff;
border-left: 1px solid #fff;
border-bottom: 1px solid #828482;
border-right: 1px solid #828482; }
BUTTON.toolbarButton:active,
SPAN.toolbarButton:active
{ color: -moz-buttonhovertext;
border-top: 1px solid #828482;
border-left: 1px solid #828482;
border-bottom: 1px solid #fff;
border-right: 1px solid #fff; }
.toolbarButton IMG.buttonImage
{ border: 0px;
width: 24px;
height: 24px;
margin: auto; }
.toolbarButton .buttonLabel
{ margin: auto; }
/* contextual menus & popups */
.menu,
@@ -302,14 +202,14 @@ SPAN.toolbarButton:active
position: absolute;
z-index: 1000;
top: -1000px;
background-color: #d6cfc6;
color: #000;
background-color: #E6E7E6;
color: #535D6D;
margin: 0px;
padding: 0px;
border-top: 1px solid #d6cfc6;
border-left: 1px solid #d6cfc6;
border-right: 1px solid #424142;
border-bottom: 1px solid #424142;
border-top: 1px solid #FFFFFF;
border-left: 1px solid #FFFFFF;
border-bottom: 1px solid #909090;
border-right: 1px solid #909090;
overflow: auto;
overflow-x: hidden; }
@@ -323,11 +223,7 @@ SPAN.toolbarButton:active
list-style-image: none;
margin: 0px;
padding: 0px;
padding-top: 1px;
border-top: 1px solid #fff;
border-left: 1px solid #fff;
border-right: 1px solid #9e9a92;
/*border-bottom: 1px solid #9e9a92;*/ }
padding-top: 1px; }
.menu LI,
.popupMenu LI
@@ -371,7 +267,7 @@ UL.choiceMenu LI._chosen:hover
.menu LI:hover,
.menu LI.selected,
.menu LI.submenu-selected
{ background-color: #4b6983;
{ background-color: #9ABCD8;
color: #fff; }
.menu LI.separator,
@@ -388,13 +284,13 @@ UL.choiceMenu LI._chosen:hover
background-repeat: no-repeat; }
.menu LI.submenu
{ background-image: url('submenu.gif'); }
{ background-image: url('arrow-right.png'); }
.menu LI[class~="disabled"].submenu
{ background-image: url('submenu-disabled.gif') !important; }
.menu LI.submenu:hover, .menu LI.submenu-selected
{ background-image: url('submenu-active.gif') !important; }
{ background-image: url('arrow-right.png') !important; }
DIV#logConsole
{ position: absolute;
@@ -421,6 +317,7 @@ DIV#logConsole
/* DIV#logConsole > DIV.highlighted
{ background-color: #ddf; }
*/
/* content lists */
td.tbtv_actcell
{ border-width: 1px;
@@ -438,21 +335,14 @@ TD.headerCell,
TD.tbtv_headercell,
TD.tbtv_navcell
{ vertical-align: middle;
background-color: #d4d0c8;
border-top: 1px solid #fff;
border-left: 1px solid #fff;
border-right: 2px solid #222;
border-bottom: 2px solid #222;
-moz-border-bottom-colors: #000 #9c9a94 transparent;
-moz-border-right-colors: #000 #9c9a94 transparent; }
background: transparent url('thead_bg.png') repeat-x top right;
border: 1px solid #9B9B9B;
border-left: none;
background-color: #E7E7E7;
height: 20px; }
TD.sortableTableHeader:active
{ background-color: #dcdad5;
padding-top: 2px;
border-top: 1px solid #9c9a94;
border-left: 1px solid #9c9a94;
border-right: 2px solid #9c9a94;
border-bottom: 1px solid #9c9a94; }
{ background-position: bottom left; }
TD.headerCell SPAN,
TD.tbtv_headercell SPAN
@@ -515,7 +405,7 @@ td.tbtv_subject_headercell
DIV.dragHandle
{ position: absolute;
z-index: 1;
background-color: #d4d0c8; }
background-color: #E6E7E6; }
DIV.dragHandle:active
{ background-color: #99a; }
@@ -525,17 +415,9 @@ DIV#filterPanel
{ height: 2em;
vertical-align: middle;
width: 100%;
padding-top: 3px;
}
INPUT#searchValue
{ margin-right: 1em;
width: 20em;
padding-left: 24px;
background-image: url('/SOGo.woa/WebServerResources/Search-bar.png');
background-repeat: no-repeat;
background-position: 2px 2px;
color: #aaa; }
DIV#javascriptSafetyNet
{ position: absolute;
background-color: transparent;
@@ -563,8 +445,8 @@ DIV.javascriptMessagePseudoTopWindow
border-bottom: 2px solid #888;
padding: 1em;
margin: 0px auto;
color: #000;
background-color: #d4d0c8;
color: #535D6D;
background-color: #E6E7E6;
-moz-border-bottom-colors: #000 #9c9a94 transparent;
-moz-opacity: 1.0;
opacity: 1.0; }
@@ -591,47 +473,6 @@ DIV.noJavascriptErrorMessage A
{ float: right;
margin: 0px auto; }
INPUT.button:active,
A.button:active
{ color: -moz-buttonhovertext;
background-color: #c4c2bd;
-moz-border-bottom-colors: #efebe7 #fff;
-moz-border-right-colors: #efebe7 #fff;
-moz-border-top-colors: #9c9a94 #000;
-moz-border-left-colors: #9c9a94 #000; }
INPUT.button,
INPUT.button:disabled,
A.button,
A[class~="_disabled"].button:active
{ cursor: default;
padding: 1px 0.5em;
background-color: #d4d0c8;
border-top: 2px solid #fff;
border-left: 2px solid #fff;
border-bottom: 2px solid #888;
border-right: 2px solid #888;
-moz-border-top-colors: #efebe7 #fff;
-moz-border-left-colors: #efebe7 #fff;
-moz-border-bottom-colors: #000 #9c9a94 transparent;
-moz-border-right-colors: #000 #9c9a94 transparent;
text-decoration: none;
color: inherit; }
INPUT.button:disabled
{ color: #999; }
A.button
{ padding: 4px; }
A.button IMG
{ vertical-align: middle; }
A[class~="_disabled"].button,
A[class~="_disabled"].button:active
{ color: #999;
background: inherit; }
LI.denied
{ background-color: #fefefe;
font-style: italic;
@@ -643,7 +484,7 @@ LI._selected,
TR._selected > TD,
TD._selected
{
background-color: #4b6983;
background: #9ABCD8;
color: #fff;
}
@@ -662,90 +503,18 @@ DIV.dTreeNode A SPAN.nodeName
DIV.dTreeNode A._selected SPAN.nodeName
{
background-color: #4b6983;
background-color: #9ABCD8;
color: #fff;
}
DIV.dTreeNode SPAN._dragOver
{
background-color: #4b6983;
background-color: #9ABCD8;
color: #fff;
}
/* tabs */
DIV.tabsContainer
{ position: relative;
color: #000;
background-color: #d4d0c8;
margin-top: 1.5em;
border-top: 2px solid #fff;
border-left: 2px solid #fff;
border-right: 2px solid #888;
border-bottom: 2px solid #888;
-moz-border-top-colors: #efebe7 #fff;
-moz-border-left-colors: #efebe7 #fff;
-moz-border-right-colors: #000 #9c9a94 transparent;
-moz-border-bottom-colors: #000 #9c9a94 transparent; }
DIV.tabsContainer > UL
{ cursor: default;
list-style-type: none;
list-style-image: none;
margin: 0px;
margin-top: -17px;
padding: 0px; }
DIV.tabsContainer > UL LI
{ z-index: 3;
float: left;
padding: 0px .5em;
padding-top: 0px;
-moz-border-radius-topleft: 3px;
-moz-border-radius-topright: 3px;
border-top: 2px solid #fff;
border-bottom: 0px solid #fff;
border-right: 2px solid #888;
padding-bottom: 1px;
-moz-border-top-colors: #efebe7 #fff;
-moz-border-right-colors: #000 #9c9a94 transparent;
-moz-border-bottom-colors: #efebe7 #fff;
color: #000; }
DIV.tabsContainer > UL LI.first,
DIV.tabsContainer > UL LI.active
{ border-left: 2px solid #fff;
margin-left: -2px;
-moz-border-left-colors: #efebe7 #fff; }
DIV.tabsContainer > UL LI.active
{ z-index: 5;
background-color: #d4d0c8;
border-bottom: 1px none #fff;
padding-top: 2px;
padding-bottom: 3px;
margin-top: -3px; }
DIV.tabsContainer > DIV.tab
{ position: absolute;
overflow: auto;
top: .5em;
left: .5em;
right: .5em;
bottom: .5em;
display: none; }
DIV.tabsContainer DIV.active
{ display: block; }
DIV.tabsContainer > DIV[class~="active"].tab
{ display: block !important; }
INPUT.checkBox
{ vertical-align: middle;
-moz-border-top-colors: #000 #fff;
-moz-border-left-colors: #000 #fff;
-moz-border-bottom-colors: #000 #fff;
-moz-border-right-colors: #000 #fff; }
{ vertical-align: middle; }
/* tablekit resizable columns */
@@ -778,22 +547,10 @@ DIV.resize-handle
}
.genericHoverClass
{ background-color: #0033cc !important;
color: #fff !important; }
DIV#uploadDialog, DIV#uploadResults
{ border-width: 1px;
width: 260px; }
DIV#uploadDialog DIV, DIV#uploadResults DIV
{ width: 260px; }
DIV.dialog H3
{ margin-top: 0; }
DIV.dialog P.buttons
{ margin-bottom: 0;
text-align: right;}
{
background-color: #9ABCD8 !important;
color: #fff !important;
}
DIV.dialog
{ position: absolute;
@@ -804,7 +561,8 @@ DIV.dialog
DIV.dialog DIV
{ border: 1px solid #444;
background-color: #fff;
padding: 5px; }
padding: 5px;
padding-bottom: 26px; }
DIV.dialog.left
{ background-image: url("dialog-left.png");
@@ -825,3 +583,322 @@ DIV.dialog.right DIV
{ border-right: 0;
margin-right: 19px;
text-align: right; }
DIV#uploadDialog,
DIV#uploadResults
{ border-width: 1px;
width: 260px; }
DIV#uploadDialog DIV,
DIV#uploadResults DIV
{ width: 260px; }
DIV#uploadDialog H3,
DIV#uploadResults H3
{ margin-top: 0;
font-size: 1.2em; }
/* INPUT styles */
TEXTAREA
{ vertical-align: top; }
DIV, TEXTAREA, INPUT, SELECT
{ font-family: inherit;
font-size: 8pt;
font-size: inherit; }
INPUT[type="text"], INPUT[type="password"], INPUT[type="file"],
SELECT,
TEXTAREA
{ border-top: 1px solid #909090;
border-left: 1px solid #909090;
border-bottom: 1px solid #EFF0EF;
border-right: 1px solid #EFF0EF;
background-color: #CCDDEC;
color: #535D6D; }
INPUT[disabled], INPUT[readonly],
SELECT[disabled], SELECT[readonly],
TEXTAREA[disabled], TEXTAREA[readonly]
{ background: #E6E7E6;
color: #9ABCD8; }
INPUT[type="text"], INPUT[type="password"], INPUT[type="file"],
SELECT
{ background: url("input_bg.gif"); }
TEXTAREA
{ padding: 0px;
padding-left: 2px; }
INPUT.textField
{ margin: 2px; padding: 2px;
vertical-align: middle;
width: 250px; }
INPUT#searchValue
{ margin-right: 1em;
width: 20em;
padding-left: 24px;
background-image: url('Search-bar.png');
background-repeat: no-repeat;
background-position: 2px 2px;
background-color: #CCDDEC;
color: #909090; }
/* Buttons
* Avoid using DIVS as buttons, they're only helpful when they have multiple
* listeners for "onclick"
*/
A.button {
padding: 0px 0.5em;
background: transparent url('btn_a_bg.png') no-repeat scroll top right;
display: block;
float: right;
height: 23px;
padding-right: 3px; /* sliding doors padding */
text-decoration: none;
color: inherit;
cursor: pointer;
}
A.button SPAN {
background: transparent url('btn_span_bg.png') no-repeat;
display: block;
line-height: 13px;
padding: 5px 2px 5px 5px;
cursor: pointer;
}
A.button.actionButton SPAN
{ font-weight: bold; }
A.button:active SPAN
{ background-position: bottom left;
padding: 6px 2px 4px 5px; }
A.disabled.button,
A.disabled.button:active,
A.disabled.button SPAN
{ color: #999; }
A.disabled.button:active SPAN
{ background-position: top left;
padding: 5px 2px 5px 5px; }
/* Frames */
TABLE.frame,
TABLE.framenocaption
{ border-top: 1px solid #909090;
border-left: 1px solid #909090;
border-bottom: 1px solid #FFFFFF;
border-right: 1px solid #FFFFFF;
margin-top: -.5em;
margin-left: auto;
margin-right: auto;
margin-bottom: 1em;
padding: 1em;
display: table;
text-align: right;
width: 100%; }
TABLE.nopadding
{ padding: 4px; }
TABLE.framenocaption
{ margin-top: 14px; }
TABLE.frame TD
{ padding: 0; }
SPAN.caption
{ display: inline-block;
position: relative;
text-align: center;
cursor: default;
background-color: #E6E7E6;
color: #535D6D;
width: auto;
padding: .25em;
margin-left: 7px;
border: 0px; }
/* Tabs */
DIV.tabsContainer
{ position: relative;
color: #535D6D;
background-color: #E6E7E6;
margin-top: 0.5em;
border: 1px solid #9B9B9B;
position: absolute;
top: 2.5em;
left: .5em;
right: .5em;
bottom: 2.5em;
margin-bottom: 1em;
padding: 0 5px; }
DIV.tabsContainer > UL
{ cursor: default;
list-style-type: none;
list-style-image: none;
margin: 0px;
margin-top: -24px;
padding: 0px; }
DIV.tabsContainer > UL LI {
padding: 0px;
margin-right: -1px;
background: transparent url('tab_a_inactive_bg.png') no-repeat scroll top right;
display: block;
float: left;
height: 24px;
padding-right: 2px; /* sliding doors padding */
text-decoration: none;
color: inherit;
}
DIV.tabsContainer > UL LI SPAN {
background: transparent url('tab_span_inactive_bg.png') no-repeat;
display: block;
line-height: 14px;
padding: 5px 6px 5px 5px;
}
DIV.tabsContainer > UL LI.active {
background: transparent url('tab_a_active_bg.png') no-repeat scroll top right !important;
}
DIV.tabsContainer > UL LI.active SPAN {
background: transparent url('tab_span_active_bg.png') no-repeat !important;
}
DIV.tabsContainer > UL LI.first
{ margin-left: -1px;
padding-left: -1px; }
DIV.tabsContainer DIV.active
{ display: block; }
DIV.tabsContainer > DIV[class~="active"].tab
{ display: block !important; }
DIV.tab
{ padding: 2px;
display: none;
margin-top: 24px;
overflow: hidden; }
/* Toolbar */
DIV#toolbar
{ left: 0px;
border-top: 1px solid #fff;
border-bottom: 1px solid #848284;
margin: 0px;
padding: 0px;
white-space: nowrap;
overflow: auto; }
BODY.popup DIV#toolbar
{ border-top: 0px; }
SPAN.toolbarSeparator
{ display: block;
float: left;
height: 3.8em;
vertical-align: middle;
border-right : 1px solid #fff;
border-left : 1px solid #9c9a94;
margin: 0px .25em;
margin-top: 0.125em;
width: 0px;
padding: 0px; }
A.toolbarButton,
A.toolbarButton:hover,
A.smallToolbarButton,
A.smallToolbarButton:hover {
display: inline;
float: left;
height: 49px;
padding-right: 3px; /* sliding doors padding */
text-decoration: none;
color: inherit;
cursor: pointer;
}
A.smallToolbarButton,
A.smallToolbarButton:hover {
height: 35px;
}
A.toolbarButton:hover {
background: transparent url('toolbarbtn_a_bg.png') no-repeat scroll top right;
}
A.smallToolbarButton:hover {
background: transparent url('smalltoolbarbtn_a_bg.png') no-repeat scroll top right;
}
A.toolbarButton SPAN,
A.toolbarButton:hover SPAN {
text-align: center;
display: block;
line-height: 13px;
padding: 5px 2px 5px 5px;
cursor: pointer;
}
A.smallToolbarButton SPAN,
A.smallToolbarButton:hover SPAN {
text-align: center;
display: block;
line-height: 8px;
padding: 5px 2px 5px 5px !important;
cursor: pointer;
}
A.toolbarButton:hover SPAN {
background: transparent url('toolbarbtn_span_bg.png') no-repeat;
}
A.smallToolbarButton:hover SPAN {
background: transparent url('smalltoolbarbtn_span_bg.png') no-repeat;
}
A.toolbarButton:active SPAN {
background-position: bottom left;
}
A.smallToolbarButton:active SPAN {
background-position: bottom left;
}
A[class~="_disabled"].toolbarButton,
A[class~="_disabled"].toolbarButton:active
{ color: #999; }
P#mailerSelectionContainer
{ line-height: 25px;
margin-top: 2px; }
DIV.bottomToolbar {
vertical-align: middle;
background-image: url("thead_bg.png");
border: 1px solid #9B9B9B;
background-color: #E6E7E6;
height: 20px;
margin-top: -4px;
text-align: left;
margin-left: 2px;
margin-right: 2px; }
DIV.bottomToolbar A.bottomButton SPAN, DIV.bottomToolbar A.bottomButton {
margin: 0;
padding: 0;
width: 23px;
text-align: center;
text-decoration: none;
color: inherit;
cursor: pointer;
border-bottom: 1px solid #9B9B9B;
border-right: 1px solid #9B9B9B;
float: left;
height: 20px;
}
DIV.bottomToolbar A.bottomButton SPAN
{ background: transparent url('thead_bg.png') repeat-x top right; }
DIV.bottomToolbar A.bottomButton SPAN:active
{ background-position: bottom left; }
+40 -40
View File
@@ -169,7 +169,7 @@ function openContactWindow(url, wId) {
wId = sanitizeWindowName(wId);
var w = window.open(url, wId,
"width=450,height=600,resizable=0,location=0");
"width=450,height=530,resizable=0,location=0");
w.focus();
return w;
@@ -914,13 +914,13 @@ function onSearchFocus(event) {
this.selectElement();
}
this.setStyle({ color: "#000" });
this.setStyle({ color: "#535D6D" });
}
function onSearchBlur(event) {
if (!this.value || this.value.blank()) {
this.setAttribute("modified", "");
this.setStyle({ color: "#aaa" });
this.setStyle({ color: "#909090" });
this.value = this.ghostPhrase;
search["value"] = "";
if (this.lastSearch != "") {
@@ -929,10 +929,10 @@ function onSearchBlur(event) {
}
} else if (this.value == this.ghostPhrase) {
this.setAttribute("modified", "");
this.setStyle({ color: "#aaa" });
this.setStyle({ color: "#909090" });
} else {
this.setAttribute("modified", "yes");
this.setStyle({ color: "#000" });
this.setStyle({ color: "#535D6D" });
}
}
@@ -983,7 +983,7 @@ function initCriteria() {
if (searchValue.value == '') {
searchValue.value = firstOption.innerHTML;
searchValue.setAttribute("modified", "");
searchValue.setStyle({ color: "#aaa" });
searchValue.setStyle({ color: "#909090" });
}
// Set the checkmark to the first option
if (searchOptions.chosenNode)
@@ -1373,41 +1373,41 @@ function onTabClick(event) {
//container.activeTab.show();
}
function enableAnchor(anchor) {
var classStr = '' + anchor.getAttribute("class");
var position = classStr.indexOf("_disabled", 0);
if (position > -1) {
var disabledHref = anchor.getAttribute("disabled-href");
if (disabledHref)
anchor.setAttribute("href", disabledHref);
var disabledOnclick = anchor.getAttribute("disabled-onclick");
if (disabledOnclick)
anchor.setAttribute("onclick", disabledOnclick);
anchor.removeClassName("_disabled");
anchor.setAttribute("disabled-href", null);
anchor.setAttribute("disabled-onclick", null);
anchor.disabled = 0;
anchor.enabled = 1;
}
}
//function enableAnchor(anchor) {
// var classStr = '' + anchor.getAttribute("class");
// var position = classStr.indexOf("_disabled", 0);
// if (position > -1) {
// var disabledHref = anchor.getAttribute("disabled-href");
// if (disabledHref)
// anchor.setAttribute("href", disabledHref);
// var disabledOnclick = anchor.getAttribute("disabled-onclick");
// if (disabledOnclick)
// anchor.setAttribute("onclick", disabledOnclick);
// anchor.removeClassName("_disabled");
// anchor.setAttribute("disabled-href", null);
// anchor.setAttribute("disabled-onclick", null);
// anchor.disabled = 0;
// anchor.enabled = 1;
// }
//}
function disableAnchor(anchor) {
var classStr = '' + anchor.getAttribute("class");
var position = classStr.indexOf("_disabled", 0);
if (position < 0) {
var href = anchor.getAttribute("href");
if (href)
anchor.setAttribute("disabled-href", href);
var onclick = anchor.getAttribute("onclick");
if (onclick)
anchor.setAttribute("disabled-onclick", onclick);
anchor.addClassName("_disabled");
anchor.setAttribute("href", "#");
anchor.setAttribute("onclick", "return false;");
anchor.disabled = 1;
anchor.enabled = 0;
}
}
//function disableAnchor(anchor) {
// var classStr = '' + anchor.getAttribute("class");
// var position = classStr.indexOf("_disabled", 0);
// if (position < 0) {
// var href = anchor.getAttribute("href");
// if (href)
// anchor.setAttribute("disabled-href", href);
// var onclick = anchor.getAttribute("onclick");
// if (onclick)
// anchor.setAttribute("disabled-onclick", onclick);
// anchor.addClassName("_disabled");
// anchor.setAttribute("href", "#");
// anchor.setAttribute("onclick", "return false;");
// anchor.disabled = 1;
// anchor.enabled = 0;
// }
//}
function d2h(d) {
var hD = "0123456789abcdef";
+61 -17
View File
@@ -27,21 +27,11 @@ TD.tbtv_navcell
DIV#windowButtons
{ height: 3em; }
A.button,
INPUT.button
{ border: 1px solid #fff;
border-right: 1px solid #666;
border-bottom: 1px solid #666; }
A.button
{ color: #000;
padding: 1px 4px; }
A.button IMG
{ margin: 1px; }
/* UIxAclEditor */
DIV#userRoles
{ }
@@ -63,8 +53,8 @@ TD.mailer_fieldname
/* ContactsUI */
DIV#contactFoldersList SPAN.toolbarButton
{ padding: 2px; }
/*DIV#contactFoldersList SPAN.toolbarButton
{ padding: 2px; } */
/* SchedulerUI */
@@ -321,6 +311,9 @@ DIV#propertiesView LEGEND
/* UIxMailPartICalViewer */
.clear
{ padding-top: 0; }
#messageContent FIELDSET
{ padding: 0.5em 1.0em; }
@@ -332,10 +325,61 @@ DIV#propertiesView LEGEND
DIV#headerArea
{ padding-bottom: 0px; }
/* UIxPreferences */
TEXTAREA#signature
{ height: 33em;
overflow: auto; }
TABLE#categoriesList
{ width: auto; }
DIV#categoriesListWrapper
{ top: 92px; }
DIV#windowButtons
{ bottom: 11px; }
TABLE.frame,
TABLE.framenocaption
{ margin-top: -4px; }
TABLE.frame TBODY
{ padding: 20px; }
UL#calendarList
{ height: 100px; }
A.toolbarButton SPAN,
A.toolbarButton:hover SPAN {
height: 50px;
padding: 5px 2px 6px 5px;
}
A.smallToolbarButton, A.smallToolbarButton:hover,
A.smallToolbarButton SPAN, A.smallToolbarButton:hover SPAN
{ height: 33px; }
A.toolbarButton:active SPAN {
background-position: auto; /*broken*/
}
A.toolbarButton, A.toolbarButton SPAN, A.button, A.button SPAN
{ color: #535D6D; }
DIV#toolbar
{ overflow: hidden; }
INPUT#statusPercent
{ width: 2em !important; }
DIV.bottomToolbar
{ position: relative; display: block; }
DIV#referencesListWrapper
{ margin-bottom: 0px; }
DIV#listEditor TABLE TBODY TR TD:first-child
{ margin-bottom: 0px;
padding-bottom: 0px; }
A#aboutClose
{ top: 25px;}
DIV#uploadDialog P,
DIV#uploadResults P
{ margin: 5px;
padding: 0; }
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1011 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 977 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 961 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 B

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 951 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB