From 365369792ec159f222d0d15428d3e940e4511185 Mon Sep 17 00:00:00 2001 From: znek Date: Mon, 7 Jun 2004 10:52:47 +0000 Subject: [PATCH] added common git-svn-id: http://svn.opengroupware.org/SOGo/trunk@15 d1b88da0-ebda-0310-925b-ed51d893ca5b --- ZideStore/UI-X/Common/CommonUIProduct.m | 34 +++++++++ ZideStore/UI-X/Common/GNUmakefile | 44 +++++++++++ ZideStore/UI-X/Common/OGoAppFrame.m | 11 +++ ZideStore/UI-X/Common/OGoAppFrame.wox | 44 +++++++++++ ZideStore/UI-X/Common/OGoAppHeader.m | 11 +++ ZideStore/UI-X/Common/OGoAppHeader.wox | 32 ++++++++ ZideStore/UI-X/Common/OGoAppNavigation.m | 11 +++ ZideStore/UI-X/Common/OGoAppNavigation.wox | 85 +++++++++++++++++++++ ZideStore/UI-X/Common/OGoPageFrame.m | 30 ++++++++ ZideStore/UI-X/Common/OGoPageFrame.wox | 32 ++++++++ ZideStore/UI-X/Common/Version | 5 ++ ZideStore/UI-X/Common/bundle-info.plist | 23 ++++++ ZideStore/UI-X/Common/calendar.css | 15 ++++ ZideStore/UI-X/Common/common.h | 35 +++++++++ ZideStore/UI-X/Common/images/OGoLogo.gif | Bin 0 -> 2047 bytes ZideStore/UI-X/Common/product.plist | 31 ++++++++ ZideStore/UI-X/Common/zidestoreui.css | 38 +++++++++ 17 files changed, 481 insertions(+) create mode 100644 ZideStore/UI-X/Common/CommonUIProduct.m create mode 100644 ZideStore/UI-X/Common/GNUmakefile create mode 100644 ZideStore/UI-X/Common/OGoAppFrame.m create mode 100644 ZideStore/UI-X/Common/OGoAppFrame.wox create mode 100644 ZideStore/UI-X/Common/OGoAppHeader.m create mode 100644 ZideStore/UI-X/Common/OGoAppHeader.wox create mode 100644 ZideStore/UI-X/Common/OGoAppNavigation.m create mode 100644 ZideStore/UI-X/Common/OGoAppNavigation.wox create mode 100644 ZideStore/UI-X/Common/OGoPageFrame.m create mode 100644 ZideStore/UI-X/Common/OGoPageFrame.wox create mode 100644 ZideStore/UI-X/Common/Version create mode 100644 ZideStore/UI-X/Common/bundle-info.plist create mode 100644 ZideStore/UI-X/Common/calendar.css create mode 100644 ZideStore/UI-X/Common/common.h create mode 100755 ZideStore/UI-X/Common/images/OGoLogo.gif create mode 100644 ZideStore/UI-X/Common/product.plist create mode 100644 ZideStore/UI-X/Common/zidestoreui.css diff --git a/ZideStore/UI-X/Common/CommonUIProduct.m b/ZideStore/UI-X/Common/CommonUIProduct.m new file mode 100644 index 00000000..b5a4da4a --- /dev/null +++ b/ZideStore/UI-X/Common/CommonUIProduct.m @@ -0,0 +1,34 @@ +/* + Copyright (C) 2000-2003 SKYRIX Software AG + + This file is part of OGo + + OGo is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + + OGo is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id: CommonUIProduct.m,v 1.1 2003/11/24 01:24:40 helge Exp $ + +#import + +@interface CommonUIProduct : NSObject +{ +} + +@end + +#include "common.h" + +@implementation CommonUIProduct +@end /* CommonUIProduct */ diff --git a/ZideStore/UI-X/Common/GNUmakefile b/ZideStore/UI-X/Common/GNUmakefile new file mode 100644 index 00000000..a5492e92 --- /dev/null +++ b/ZideStore/UI-X/Common/GNUmakefile @@ -0,0 +1,44 @@ +# $Id: GNUmakefile,v 1.2 2003/12/09 17:38:42 helge Exp $ + +include $(GNUSTEP_MAKEFILES)/common.make + +BUNDLE_NAME = CommonUI +BUNDLE_EXTENSION = .zsp +BUNDLE_INSTALL_DIR = $(GNUSTEP_USER_ROOT)/Library/ZideStore12 + +CommonUI_PRINCIPAL_CLASS = CommonUIProduct + +CommonUI_OBJC_FILES = \ + CommonUIProduct.m \ + OGoPageFrame.m \ + OGoAppFrame.m \ + OGoAppHeader.m \ + OGoAppNavigation.m \ + +CommonUI_RESOURCE_FILES += \ + Version \ + product.plist \ + OGoPageFrame.wox \ + OGoAppFrame.wox \ + OGoAppHeader.wox \ + OGoAppNavigation.wox \ + \ + zidestoreui.css \ + calendar.css \ + images/OGoLogo.gif \ + +ZIDESTORE=../.. + +ADDITIONAL_INCLUDE_DIRS += \ + -I. \ + -I$(ZIDESTORE)/Frontend -I$(ZIDESTORE)/Backend -I$(ZIDESTORE) + +# make + +-include GNUmakefile.preamble +include $(GNUSTEP_MAKEFILES)/bundle.make +-include GNUmakefile.postamble + +after-all :: + @(cd $(BUNDLE_NAME)$(BUNDLE_EXTENSION);\ + cp ../bundle-info.plist .) diff --git a/ZideStore/UI-X/Common/OGoAppFrame.m b/ZideStore/UI-X/Common/OGoAppFrame.m new file mode 100644 index 00000000..789558fb --- /dev/null +++ b/ZideStore/UI-X/Common/OGoAppFrame.m @@ -0,0 +1,11 @@ +// $Id: OGoAppFrame.m,v 1.1 2003/12/09 17:38:42 helge Exp $ + +#include + +@interface OGoAppFrame : SoComponent +@end + +#include "common.h" + +@implementation OGoAppFrame +@end /* OGoAppFrame */ diff --git a/ZideStore/UI-X/Common/OGoAppFrame.wox b/ZideStore/UI-X/Common/OGoAppFrame.wox new file mode 100644 index 00000000..0437cf39 --- /dev/null +++ b/ZideStore/UI-X/Common/OGoAppFrame.wox @@ -0,0 +1,44 @@ + + + + + <var:string value="title"/> + + + + + + + + + + + + + + + + + + + + + + + + This pages requires frame tags, which your browser does not support, + sorry ;-> + + diff --git a/ZideStore/UI-X/Common/OGoAppHeader.m b/ZideStore/UI-X/Common/OGoAppHeader.m new file mode 100644 index 00000000..f748f88e --- /dev/null +++ b/ZideStore/UI-X/Common/OGoAppHeader.m @@ -0,0 +1,11 @@ +// $Id: OGoAppHeader.m,v 1.1 2003/12/09 17:38:42 helge Exp $ + +#include + +@interface OGoAppHeader : SoComponent +@end + +#include "common.h" + +@implementation OGoAppHeader +@end /* OGoAppHeader */ diff --git a/ZideStore/UI-X/Common/OGoAppHeader.wox b/ZideStore/UI-X/Common/OGoAppHeader.wox new file mode 100644 index 00000000..4f8c0d27 --- /dev/null +++ b/ZideStore/UI-X/Common/OGoAppHeader.wox @@ -0,0 +1,32 @@ + + + + + + + + + + + + +
+ reload - + resistance is obsolete ;-) +
+ + diff --git a/ZideStore/UI-X/Common/OGoAppNavigation.m b/ZideStore/UI-X/Common/OGoAppNavigation.m new file mode 100644 index 00000000..e765fb10 --- /dev/null +++ b/ZideStore/UI-X/Common/OGoAppNavigation.m @@ -0,0 +1,11 @@ +// $Id: OGoAppNavigation.m,v 1.1 2003/12/09 17:38:42 helge Exp $ + +#include + +@interface OGoAppNavigation : SoComponent +@end + +#include "common.h" + +@implementation OGoAppNavigation +@end /* OGoAppNavigation */ diff --git a/ZideStore/UI-X/Common/OGoAppNavigation.wox b/ZideStore/UI-X/Common/OGoAppNavigation.wox new file mode 100644 index 00000000..27eadaf5 --- /dev/null +++ b/ZideStore/UI-X/Common/OGoAppNavigation.wox @@ -0,0 +1,85 @@ + + + + + + + + + + + + +
+ +
+ +
+ (reload) +
+ +
+ +
+ +
+ CSS Menues + + diff --git a/ZideStore/UI-X/Common/OGoPageFrame.m b/ZideStore/UI-X/Common/OGoPageFrame.m new file mode 100644 index 00000000..2470ed45 --- /dev/null +++ b/ZideStore/UI-X/Common/OGoPageFrame.m @@ -0,0 +1,30 @@ +// $Id: OGoPageFrame.m,v 1.2 2003/12/11 22:16:36 helge Exp $ + +#include + +@interface OGoPageFrame : SoComponent +{ + NSString *title; +} + +@end + +#include "common.h" + +@implementation OGoPageFrame + +- (void)dealloc { + [self->title release]; + [super dealloc]; +} + +/* accessors */ + +- (void)setTitle:(NSString *)_value { + ASSIGN(self->title, _value); +} +- (NSString *)title { + return self->title; +} + +@end /* OGoPageFrame */ diff --git a/ZideStore/UI-X/Common/OGoPageFrame.wox b/ZideStore/UI-X/Common/OGoPageFrame.wox new file mode 100644 index 00000000..99f98927 --- /dev/null +++ b/ZideStore/UI-X/Common/OGoPageFrame.wox @@ -0,0 +1,32 @@ + + + + + <var:string value="title"/> + + + + + + + + + + + + + + + diff --git a/ZideStore/UI-X/Common/Version b/ZideStore/UI-X/Common/Version new file mode 100644 index 00000000..d64ce5ad --- /dev/null +++ b/ZideStore/UI-X/Common/Version @@ -0,0 +1,5 @@ +# $Id: Version,v 1.1 2003/11/24 01:24:40 helge Exp $ + +SUBMINOR_VERSION:=1 + +# 1.1.0 requires NGObjWeb 4.2.202 diff --git a/ZideStore/UI-X/Common/bundle-info.plist b/ZideStore/UI-X/Common/bundle-info.plist new file mode 100644 index 00000000..2488770b --- /dev/null +++ b/ZideStore/UI-X/Common/bundle-info.plist @@ -0,0 +1,23 @@ +{ + "__cvs__" = "$Id: bundle-info.plist,v 1.1 2003/11/24 01:24:40 helge Exp $"; + + requires = { + bundleManagerVersion = 1; + classes = ( + { name = NSObject; } + ); + }; + + provides = { + ZideStoreProducts = ( { name = CommonUIProduct; } ); + + classes = ( + { name = CommonUIProduct; }, + { name = OGoPageFrame; }, + ); + + WOComponents = ( + { name = OGoPageFrame; } + ); + }; +} diff --git a/ZideStore/UI-X/Common/calendar.css b/ZideStore/UI-X/Common/calendar.css new file mode 100644 index 00000000..74c25bfe --- /dev/null +++ b/ZideStore/UI-X/Common/calendar.css @@ -0,0 +1,15 @@ +.weekoverview_title { + color: #000000; + background-color: #AAAAAA; +} +.weekoverview_content { + color: #FFFFFF; + background-color: #DDDDDD; +} + +.weekoverview_content a { + color: #0000FF; + font-family: Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif; + letter-spacing: 0pt; + text-decoration: none; +} diff --git a/ZideStore/UI-X/Common/common.h b/ZideStore/UI-X/Common/common.h new file mode 100644 index 00000000..d179d308 --- /dev/null +++ b/ZideStore/UI-X/Common/common.h @@ -0,0 +1,35 @@ +/* + Copyright (C) 2000-2003 SKYRIX Software AG + + This file is part of OGo + + OGo is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + + OGo is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id: common.h,v 1.1 2003/11/24 01:24:40 helge Exp $ + +#import + +#if LIB_FOUNDATION_LIBRARY +# import +#elif NeXT_Foundation_LIBRARY || COCOA_Foundation_LIBRARY +# import +# import +# import +#endif + +#include +#include +#include diff --git a/ZideStore/UI-X/Common/images/OGoLogo.gif b/ZideStore/UI-X/Common/images/OGoLogo.gif new file mode 100755 index 0000000000000000000000000000000000000000..ea1b5f5551ab4b07432a323d084cc8174cb61549 GIT binary patch literal 2047 zcmcJM`&ZI=0){^zauLukh)PNmWEmz?plI4y3wVjJ3szQ|84{I}oi28_owz0lId~0= zP6#xav1a8|Q{j>$NfxHl*u^|#*0IYHVOvgn&aSTeN9=pvU*B_{^SsNJXQ!qWUkBfT zdjL#LO*!s)mCY{QbkBM`PsaRyzvGresa5LKy7(0)G+PJQN-t6UaGL( z)aDUy6Wcqzt|w#U%=&ntDV`c%aG*mfcX)muV{JB7$d%$!F?W|uD(|p&4*EY&2uf`Q zN9^KV`#!Z>ra6b@dJP@r?M2 z8dpVwL#m#p@*}H)i`ABX?n2AOR&C;GY^)k#!loICFlA6%Y*W)IoN<;Br-V7NsaA|4-3ECq zXa(A;LRkx}D5W*dN>Tn{5m*KJ7B5733*|iK^*zE2DxQwp6ve zhfitv+MtzZgiVGp&zFb@bwS0Bq1JX(ahBz@MdaNimVHX$vOj5C6-3#vnUyCE6eD_3Zo;9@p2QLx zz0&}jvwl&@Ka&8(G#6%Qi)OD)r;*NAZd`}U$U@+qD@$M>U#t9)R+Yz+QsX8AnIsSY z3J$d>E?|b`h7z-C(cRQ%#Pq`4)$m0jwW?Y`mLbw1=3e8mzln%1OPd}VF!+B-_8EeW zXr>!)a<}L11ey^+qJ{GWR;@Y6>?QIkA{RXhH+y6F*8?c-fyWJLAz|wfaqb<^I??-x zETSSVEc>Iu11yd#&dg-=mgkf|Uz{IOt@VUj3PD}G1;Fq>J)3RlMp}IRA8)We zI+dO2z638^&0zZSea#V!+2OZ7=fo`pV4xD;vgaWpc{0_f3rYMkBx5>B*D#Db@hAM3 z9y0{bQ>vPisz~XnPy6(s|3Ur|Tc(tP;OTM0j&Ie!Bf=Ep{Z4oWKj5O$_<=|HFyUN2 zhWv9^&Q(H{D=Ibb5^)O*d&l_osi^Y%iDwclSq6e2A!krcyS4rKo($q$#u-tfJOhX$ z!@~Fe=|CfUBr+YcvBV-jevI1=OGWN)Z?gZmY$+e%=W^Sfi*xdJtn7z)tH7SxgBlCdN{ol z%@dh|L1>8#x3pb5d{bLvdB!=sC(6Vzjh-wrZQ=EsF~F-_yn>XVFCA9lo{aWAA#-;3 zwOpVU9Sxfp4`u$ElfO^gesM3Cn*QL+^S+z0XzsnOsFcH5QDlyc@U9CL%UGX~XqL(_ zqK5<+{{^7t>$f7zpmft2niP`b@y_5{rqc+?WJ4?-Mnkkvs|{)d)Dt}<+qr3VaTCJ% zkbtD~>W2%^sDA^l-t8O^zRFG%_z5>Ee6&cB99H;wpPz7E5(9g5V^<_m4!{rp1)>R% A`2YX_ literal 0 HcmV?d00001 diff --git a/ZideStore/UI-X/Common/product.plist b/ZideStore/UI-X/Common/product.plist new file mode 100644 index 00000000..c3e351e8 --- /dev/null +++ b/ZideStore/UI-X/Common/product.plist @@ -0,0 +1,31 @@ +{ + requires = ( MAIN ); + + publicResources = ( + calendar.css, + zidestoreui.css, + OGoLogo.gif + ); + + factories = { + }; + + categories = { + SxFolder = { + methods = { + "app" = { + protectedBy = "View"; + pageName = "OGoAppFrame"; + }; + "appheader" = { + protectedBy = "View"; + pageName = "OGoAppHeader"; + }; + "appnavigation" = { + protectedBy = "View"; + pageName = "OGoAppNavigation"; + }; + }; + }; + }; +} diff --git a/ZideStore/UI-X/Common/zidestoreui.css b/ZideStore/UI-X/Common/zidestoreui.css new file mode 100644 index 00000000..66ae6f5d --- /dev/null +++ b/ZideStore/UI-X/Common/zidestoreui.css @@ -0,0 +1,38 @@ +/* ZideStore UI Stylesheet */ + +/* common stuff */ + +body { + font-size: 12pt; +} + +/* header */ + +div#header { + margin-left: 5px; + margin-right: 5px; + padding: 0; + border-bottom: 1px solid #000000; +} +div#header img.headerlogo { + float: right; + width: 182px; + height: 30px; +} + +div#header div#headerhistory { + font-size: 11px; + color: #000000; + margin: 0px; + padding-top: 18px; + height: 12px; +} +div#header a, div#header span { + margin: 0px; +} +div#header span#navtitle { + font-weight: bold; +} +div#header a:hover { + text-decoration: none; +} -- 2.39.5