From: znek Date: Mon, 7 Jun 2004 10:52:47 +0000 (+0000) Subject: added common X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=365369792ec159f222d0d15428d3e940e4511185;p=scalable-opengroupware.org added common git-svn-id: http://svn.opengroupware.org/SOGo/trunk@15 d1b88da0-ebda-0310-925b-ed51d893ca5b --- 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 00000000..ea1b5f55 Binary files /dev/null and b/ZideStore/UI-X/Common/images/OGoLogo.gif differ 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; +}