From: helge Date: Sat, 2 Oct 2004 22:56:43 +0000 (+0000) Subject: more UI work X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6df4c213d339608d3bec557bfef09c3d8f92b206;p=scalable-opengroupware.org more UI work git-svn-id: http://svn.opengroupware.org/SOGo/trunk@343 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/SOGo/UI/Mailer/ChangeLog b/SOGo/UI/Mailer/ChangeLog index ac900420..9c25d33e 100644 --- a/SOGo/UI/Mailer/ChangeLog +++ b/SOGo/UI/Mailer/ChangeLog @@ -1,3 +1,7 @@ +2004-10-03 Helge Hess + + * UIxMailMainFrame.wox: made toolbar floating (v0.9.10) + 2004-10-02 Helge Hess * more work on UI (v0.9.9) diff --git a/SOGo/UI/Mailer/GNUmakefile b/SOGo/UI/Mailer/GNUmakefile index 8b621200..792eb63c 100644 --- a/SOGo/UI/Mailer/GNUmakefile +++ b/SOGo/UI/Mailer/GNUmakefile @@ -41,12 +41,14 @@ MailerUI_RESOURCE_FILES += \ MailerUI_RESOURCE_FILES += \ uix.css \ mailer.css \ + mailer.js \ MailerUI_RESOURCE_FILES += \ screenshots/*.png \ Images/tbtv_*.gif \ Images/icon_*.gif \ Images/tbtb_*.png \ + Images/lori_32x32.png \ MailerUI_LOCALIZED_RESOURCE_FILES += \ default.strings diff --git a/SOGo/UI/Mailer/Images/lori_32x32.png b/SOGo/UI/Mailer/Images/lori_32x32.png new file mode 100644 index 00000000..3889a73d Binary files /dev/null and b/SOGo/UI/Mailer/Images/lori_32x32.png differ diff --git a/SOGo/UI/Mailer/UIxMailListView.m b/SOGo/UI/Mailer/UIxMailListView.m index 3b256fea..f048f55a 100644 --- a/SOGo/UI/Mailer/UIxMailListView.m +++ b/SOGo/UI/Mailer/UIxMailListView.m @@ -51,7 +51,6 @@ [self->sortedUIDs release]; self->sortedUIDs = nil; [self->messages release]; self->messages = nil; [self->message release]; self->message = nil; - [self logWithFormat:@"SLEEP"]; [super sleep]; } @@ -205,6 +204,32 @@ [self messageUidString]]; } +/* JavaScript */ + +- (NSString *)msgRowID { + return [@"row_" stringByAppendingString:[self messageUidString]]; +} +- (NSString *)msgDivID { + return [@"div_" stringByAppendingString:[self messageUidString]]; +} + +- (NSString *)clickedMsgJS { + return [NSString stringWithFormat:@"clickedUid(this, '%@')", + [self messageUidString]]; +} +- (NSString *)dblClickedMsgJS { + return [NSString stringWithFormat:@"doubleClickedUid(this, '%@')", + [self messageUidString]]; +} +- (NSString *)highlightRowJS { + return [NSString stringWithFormat:@"highlightUid(this, '%@')", + [self messageUidString]]; +} +- (NSString *)lowlightRowJS { + return [NSString stringWithFormat:@"lowlightUid(this, '%@')", + [self messageUidString]]; +} + /* actions */ - (id)defaultAction { diff --git a/SOGo/UI/Mailer/UIxMailListView.wox b/SOGo/UI/Mailer/UIxMailListView.wox index bed43b2b..5c8c2c02 100644 --- a/SOGo/UI/Mailer/UIxMailListView.wox +++ b/SOGo/UI/Mailer/UIxMailListView.wox @@ -72,19 +72,27 @@ - + -
+
+ +
- + diff --git a/SOGo/UI/Mailer/UIxMailMainFrame.wox b/SOGo/UI/Mailer/UIxMailMainFrame.wox index 100339b9..df7670cf 100644 --- a/SOGo/UI/Mailer/UIxMailMainFrame.wox +++ b/SOGo/UI/Mailer/UIxMailMainFrame.wox @@ -9,22 +9,25 @@ <var:string value="title"/> + + +