From 6df4c213d339608d3bec557bfef09c3d8f92b206 Mon Sep 17 00:00:00 2001 From: helge Date: Sat, 2 Oct 2004 22:56:43 +0000 Subject: [PATCH] more UI work git-svn-id: http://svn.opengroupware.org/SOGo/trunk@343 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SOGo/UI/Mailer/ChangeLog | 4 +++ SOGo/UI/Mailer/GNUmakefile | 2 ++ SOGo/UI/Mailer/Images/lori_32x32.png | Bin 0 -> 2132 bytes SOGo/UI/Mailer/UIxMailListView.m | 27 ++++++++++++++++- SOGo/UI/Mailer/UIxMailListView.wox | 14 +++++++-- SOGo/UI/Mailer/UIxMailMainFrame.wox | 26 +++++++++++----- SOGo/UI/Mailer/Version | 2 +- SOGo/UI/Mailer/mailer.css | 16 ++++++---- SOGo/UI/Mailer/mailer.js | 43 +++++++++++++++++++++++++++ SOGo/UI/Mailer/product.plist | 5 +++- 10 files changed, 121 insertions(+), 18 deletions(-) create mode 100644 SOGo/UI/Mailer/Images/lori_32x32.png create mode 100644 SOGo/UI/Mailer/mailer.js 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 0000000000000000000000000000000000000000..3889a73d88a40ff1f8991a831c9970439898ccb8 GIT binary patch literal 2132 zcmV-a2&?yrP)@~By>esbW?9;ba!ELWdKoiX=7_tX>Da7 zHZCSVPhaqQy^F=081nI$^ZZW2XskIMF-Rh0u~_}%#;`C000NGNklSmTE92zR8*0 z^PO|P_xYahd7t+K{>#DrCnxjye3AME3%X$#PWFzoV)aG%c4d1D0%gHEw5~wnwmQHu>ep4 zfo0i%Ac`)l)#~Lr-p8;^gy)6D<#PEBMOB;34;hBhL{Xez8N5y4j%CuBql%J?wY9fD z)89YvC7;*(*;s7wZ#N8J-j^AMb9+3itrqJyv$@=-=$_a%K%mTL;CVjnu-jju|Bt4# z*lP1Yv((RkvuG)=Vq4Q*wbG^A{5WI{oN6hy|0O zihfK+%;!W1k5nqRAo(T0ZI(=)R_GU;@?U9XcMYqQyG zgGs3wC0ebfmawu#!sDL_47P515mioHL zHUjXS>uy0uXXg{Kq2WEjK;Q_<`WIwbO6L@1BY}}k0A}(s{rvo44}Q_zhSs)b$d($g zWj9#C4NsjPx33T3+uH-k&t`D^WC{!~(AJc}3xa1Zn>|2tm9Gh4+4AKNo;rQz>BeYu z|3Lrw2dW(o4^eoSgk&ccDzvLAC4a<$haYV~VayLzaX@E1C<#s!U;}4Zz}j43G~ljJ zThM?s4*xw1i!33h<*R5v_S2Rq9{>;x)-)$lsiQ>G@6Vk(`xSF+K{Wd8`1nK{DZ28a zq8hk&rG%e;KL91>fiC$V*!*DV;;aG4{xDcs##8%V!J?1@R?doLw`p)`D*p6F5^j#{ zMUwtXf*!sc0BipE{Qjr?KJTfap`o4Ty(G&H65t(VGL@G|SCC1E-8-tmCRpf2301%Bv z*UTnnSErK6t(vM<=poexsO%i%h82S;8w`RT4s}rxO2PmY1`LL+)E&!^j-?2CduP$x zH;Q_fIfaNl2YUcFgWK+#L(k5yqH5h5Z0PC={YQauG_Hdw(MFdGC~H~z;$39oy$IBVaPaxxROYCvGO**Z z9vo`l3})?8V964oy&d7~0g@#D42OXa$#=QYx^=j%=Es&a< zu{99b60E7|tN_r<`eCZ`nacr`N~J`#-5w+BB?ViOR#`kgnJVJUX}b5ZDCH+fl?mwD z42)bH#nC>j|3o!S3TPjsx zwp6=H;Rczgn!`pjCakn){Ij}Zg*-NfH!h5`C#NP4a#tt66jTXmD*cC8 zQsMOU)DM;|xyAnGJFztpn+>b(t%f$4hF(m;pcOKuEVSGVEjEMj@&bB}#j*Q^Njxf& zZe$W`o>rfj1t_rz03#!K=fVZycqX%N-fl>FnWlv;uhF4mtzIld$Uw3UO)W=a1LxMh z_`N!8xZeq5D34^iK$T!t12rPnKq)BVkB?2`)-f`zf`(_E0f z$tJ!vH|JsJ13=qgl!}GD^oMo1+^fkEv$27`jlMwm&!5{nibr-0L!nZ1FRX$yU@=SA zbQ%&V2Swu1AhOsLw&8G`R{hpnz=;#U$&GNJvtpJzw`sNZt@@ZEbDRw8G+4 zD)}J8X(38gEY7wWX7x<=9 zaLm!EO;IW=kQ8ws6n^cW$;3+^dLXge?e1tp*o5!iVLrL`^8v z+Su6GMdmawVmG4!1>{N zK}p=dTi!VFlaSjOHBWJr{1jasOP6lBq2&Kge7Swep(n#m<19JG5G5y8_T9APW~^vx z-1)PR(|C^KjCQ?BUv>>{1EN{0000< KMNUMnLSTXsn*2xr literal 0 HcmV?d00001 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"/> + + +