From 468073b1315804f5157655362149f284647a7f76 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Wed, 4 Nov 2009 22:13:20 +0000 Subject: [PATCH] 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 --- ChangeLog | 16 + SoObjects/SOGo/SOGoUser.h | 1 + UI/Common/UIxPageFrame.m | 5 + .../AdministrationUI/UIxAdministration.wox | 2 +- UI/Templates/ContactsUI/UIxContactEditor.wox | 58 +- .../ContactsUI/UIxContactFoldersView.wox | 99 +-- .../ContactsUI/UIxContactsMailerSelection.wox | 18 +- .../ContactsUI/UIxContactsUserFolders.wox | 3 +- .../UIxContactsUserRightsEditor.wox | 9 +- UI/Templates/ContactsUI/UIxListEditor.wox | 48 +- .../MailPartViewers/UIxMailPartICalViewer.wox | 58 +- UI/Templates/MailerUI/UIxMailEditor.wox | 4 +- UI/Templates/MailerUI/UIxMailListView.wox | 2 +- .../MailerUI/UIxMailUserRightsEditor.wox | 9 +- UI/Templates/MainUI/SOGoRootPage.wox | 6 +- UI/Templates/PreferencesUI/UIxPreferences.wox | 63 +- .../SchedulerUI/UIxAttendeesEditor.wox | 28 +- .../SchedulerUI/UIxCalDateSelector.wox | 5 +- UI/Templates/SchedulerUI/UIxCalDayView.wox | 4 +- UI/Templates/SchedulerUI/UIxCalMainView.wox | 34 +- UI/Templates/SchedulerUI/UIxCalMonthView.wox | 4 +- .../SchedulerUI/UIxCalMulticolumnDayView.wox | 4 +- .../SchedulerUI/UIxCalUserRightsEditor.wox | 9 +- UI/Templates/SchedulerUI/UIxCalWeekView.wox | 4 +- .../SchedulerUI/UIxCalendarProperties.wox | 19 +- .../SchedulerUI/UIxCalendarSelector.wox | 63 +- UI/Templates/SchedulerUI/UIxDatePicker.wox | 6 +- .../SchedulerUI/UIxOccurenceDialog.wox | 9 +- .../SchedulerUI/UIxRecurrenceEditor.wox | 10 +- .../SchedulerUI/UIxReminderEditor.wox | 8 +- UI/Templates/SchedulerUI/UIxTaskEditor.wox | 4 +- UI/Templates/UIxAclEditor.wox | 18 +- UI/Templates/UIxPageFrame.wox | 5 +- UI/Templates/UIxToolbar.wox | 14 +- UI/WebServerResources/AdministrationUI.css | 25 +- UI/WebServerResources/ContactsUI.css | 42 +- UI/WebServerResources/ContactsUI.js | 57 +- UI/WebServerResources/MailerUI.css | 63 +- UI/WebServerResources/MailerUI.js | 33 +- UI/WebServerResources/SOGoAutoCompletion.js | 5 +- UI/WebServerResources/SOGoRootPage.css | 24 +- UI/WebServerResources/SOGoRootPage.js | 215 +++--- UI/WebServerResources/SchedulerUI.css | 90 +-- UI/WebServerResources/SchedulerUI.js | 76 +- UI/WebServerResources/UIxAclEditor.css | 23 +- UI/WebServerResources/UIxAclEditor.js | 196 +++--- .../UIxAppointmentEditor.css | 2 +- UI/WebServerResources/UIxAttendeesEditor.css | 50 +- UI/WebServerResources/UIxAttendeesEditor.js | 10 +- .../UIxCalUserRightsEditor.css | 3 +- .../UIxCalUserRightsEditor.js | 14 +- .../UIxCalendarProperties.css | 23 +- .../UIxCalendarProperties.js | 26 +- UI/WebServerResources/UIxComponentEditor.css | 11 + UI/WebServerResources/UIxComponentEditor.js | 4 +- UI/WebServerResources/UIxContactEditor.css | 42 +- UI/WebServerResources/UIxContactEditor.js | 12 +- .../UIxContactsUserFolders.css | 15 +- .../UIxContactsUserFolders.js | 96 +-- .../UIxContactsUserRightsEditor.js | 15 +- UI/WebServerResources/UIxListEditor.css | 66 +- UI/WebServerResources/UIxListEditor.js | 14 +- UI/WebServerResources/UIxMailEditor.css | 15 +- UI/WebServerResources/UIxMailEditor.js | 11 +- UI/WebServerResources/UIxMailPopupView.js | 1 - .../UIxMailUserRightsEditor.js | 14 +- UI/WebServerResources/UIxOccurenceDialog.css | 3 + UI/WebServerResources/UIxPreferences.css | 41 +- UI/WebServerResources/UIxRecurrenceEditor.css | 27 +- UI/WebServerResources/UIxReminderEditor.css | 23 - UI/WebServerResources/add-icon.png | Bin 0 -> 1133 bytes UI/WebServerResources/arrow-down.png | Bin 0 -> 283 bytes UI/WebServerResources/arrow-left.png | Bin 0 -> 261 bytes UI/WebServerResources/arrow-right.png | Bin 0 -> 279 bytes UI/WebServerResources/arrow-up.png | Bin 0 -> 203 bytes UI/WebServerResources/btn_a_bg.png | Bin 0 -> 1019 bytes UI/WebServerResources/btn_span_bg.png | Bin 0 -> 3939 bytes UI/WebServerResources/generic.css | 655 ++++++++++-------- UI/WebServerResources/generic.js | 80 +-- UI/WebServerResources/iefixes.css | 78 ++- UI/WebServerResources/input_bg.gif | Bin 0 -> 2492 bytes UI/WebServerResources/remove-icon.png | Bin 0 -> 1011 bytes .../smalltoolbarbtn_a_bg.png | Bin 0 -> 1047 bytes .../smalltoolbarbtn_span_bg.png | Bin 0 -> 4912 bytes UI/WebServerResources/tab_a_active_bg.png | Bin 0 -> 977 bytes UI/WebServerResources/tab_a_inactive_bg.png | Bin 0 -> 961 bytes UI/WebServerResources/tab_span_active_bg.png | Bin 0 -> 1408 bytes .../tab_span_inactive_bg.png | Bin 0 -> 1222 bytes UI/WebServerResources/tbtv_junction_17x17.gif | Bin 82 -> 4483 bytes UI/WebServerResources/thead_bg.png | Bin 0 -> 951 bytes UI/WebServerResources/toolbarbtn_a_bg.png | Bin 0 -> 1030 bytes UI/WebServerResources/toolbarbtn_span_bg.png | Bin 0 -> 4405 bytes 92 files changed, 1538 insertions(+), 1311 deletions(-) create mode 100644 UI/WebServerResources/add-icon.png create mode 100644 UI/WebServerResources/arrow-down.png create mode 100644 UI/WebServerResources/arrow-left.png create mode 100644 UI/WebServerResources/arrow-right.png create mode 100644 UI/WebServerResources/arrow-up.png create mode 100644 UI/WebServerResources/btn_a_bg.png create mode 100644 UI/WebServerResources/btn_span_bg.png create mode 100644 UI/WebServerResources/input_bg.gif create mode 100644 UI/WebServerResources/remove-icon.png create mode 100644 UI/WebServerResources/smalltoolbarbtn_a_bg.png create mode 100644 UI/WebServerResources/smalltoolbarbtn_span_bg.png create mode 100644 UI/WebServerResources/tab_a_active_bg.png create mode 100644 UI/WebServerResources/tab_a_inactive_bg.png create mode 100644 UI/WebServerResources/tab_span_active_bg.png create mode 100644 UI/WebServerResources/tab_span_inactive_bg.png create mode 100644 UI/WebServerResources/thead_bg.png create mode 100644 UI/WebServerResources/toolbarbtn_a_bg.png create mode 100644 UI/WebServerResources/toolbarbtn_span_bg.png diff --git a/ChangeLog b/ChangeLog index 46aac0a9f..c0e49e7c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-11-04 Francis Lachapelle + + * 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 * 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 + + * 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 * SoObjects/SOGo/SOGoGCSFolder.m (create) diff --git a/SoObjects/SOGo/SOGoUser.h b/SoObjects/SOGo/SOGoUser.h index 80da3c315..a1f1adf28 100644 --- a/SoObjects/SOGo/SOGoUser.h +++ b/SoObjects/SOGo/SOGoUser.h @@ -96,6 +96,7 @@ extern NSString *SOGoWeekStartFirstFullWeek; /* properties */ - (NSArray *) allEmails; - (BOOL) hasEmail: (NSString *) email; +- (NSString *) systemEmail; - (NSString *) cn; - (NSURL *) freeBusyURL; diff --git a/UI/Common/UIxPageFrame.m b/UI/Common/UIxPageFrame.m index 346612382..ca65b128f 100644 --- a/UI/Common/UIxPageFrame.m +++ b/UI/Common/UIxPageFrame.m @@ -399,6 +399,11 @@ static NSString *siteFavicon = nil; && [user isSuperUser]); } +- (NSString *) userEmail +{ + return [[context activeUser] systemEmail]; +} + - (BOOL) canLogoff { BOOL canLogoff; diff --git a/UI/Templates/AdministrationUI/UIxAdministration.wox b/UI/Templates/AdministrationUI/UIxAdministration.wox index 6e08dba8f..887efd5b6 100644 --- a/UI/Templates/AdministrationUI/UIxAdministration.wox +++ b/UI/Templates/AdministrationUI/UIxAdministration.wox @@ -14,7 +14,7 @@

-

+
diff --git a/UI/Templates/ContactsUI/UIxContactEditor.wox b/UI/Templates/ContactsUI/UIxContactEditor.wox index 5aae443a6..67531112a 100644 --- a/UI/Templates/ContactsUI/UIxContactEditor.wox +++ b/UI/Templates/ContactsUI/UIxContactEditor.wox @@ -9,11 +9,10 @@ title="name" const:popup="YES" > -
+ -
- +
+
    -
  • -
  • -
  • +
  • + +
  • +
  • +
  • +
  • +
- - + +
- - + +
- - + +