--- /dev/null
+/*
+ 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 <Foundation/NSObject.h>
+
+@interface CommonUIProduct : NSObject
+{
+}
+
+@end
+
+#include "common.h"
+
+@implementation CommonUIProduct
+@end /* CommonUIProduct */
--- /dev/null
+# $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 .)
--- /dev/null
+// $Id: OGoAppFrame.m,v 1.1 2003/12/09 17:38:42 helge Exp $
+
+#include <NGObjWeb/SoComponent.h>
+
+@interface OGoAppFrame : SoComponent
+@end
+
+#include "common.h"
+
+@implementation OGoAppFrame
+@end /* OGoAppFrame */
--- /dev/null
+<?xml version='1.0' standalone='yes'?>
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:var="http://www.skyrix.com/od/binding"
+ xmlns:const="http://www.skyrix.com/od/constant"
+>
+ <head>
+ <title><var:string value="title"/></title>
+
+ <meta name="description" content="ZideStore Web Interface" />
+ <meta name="author" content="SKYRIX Software AG" />
+ <meta name="robots" content="stop" />
+
+ <link href="mailto:hh@skyrix.com" rev="made" />
+ </head>
+
+ <frameset rows="48,*" frameborder="0" framespacing="0" border="0">
+
+ <frame src="appheader"
+ name="head"
+ leftmargin="0" topmargin="0" marginheight="0" marginwidth="0"
+ scrolling="no" noresize="yes" />
+
+ <frameset cols="150,*">
+
+ <frame src="appnavigation"
+ name="navi"
+ leftmargin="0" topmargin="0" marginheight="0" marginwidth="0"
+ scrolling="yes" />
+
+ <frame src="view"
+ name="content"
+ leftmargin="0" topmargin="0" marginheight="0" marginwidth="0"
+ scrolling="yes" />
+
+ </frameset>
+
+ </frameset>
+
+ <noframes>
+ This pages requires frame tags, which your browser does not support,
+ sorry ;->
+ </noframes>
+</html>
--- /dev/null
+// $Id: OGoAppHeader.m,v 1.1 2003/12/09 17:38:42 helge Exp $
+
+#include <NGObjWeb/SoComponent.h>
+
+@interface OGoAppHeader : SoComponent
+@end
+
+#include "common.h"
+
+@implementation OGoAppHeader
+@end /* OGoAppHeader */
--- /dev/null
+<?xml version='1.0' standalone='yes'?>
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:var="http://www.skyrix.com/od/binding"
+ xmlns:const="http://www.skyrix.com/od/constant"
+ xmlns:rsrc="OGo:url"
+>
+ <head>
+ <link type="text/css" rel="stylesheet" rsrc:href="zidestoreui.css" />
+
+ <script language="javascript">
+ function viewInNavi(url) {
+ parent.navi.location=url;
+ return true
+ }
+ </script>
+ </head>
+
+ <body>
+ <div id="header">
+ <img filename="OGoLogo.gif" class="headerlogo" alt="Logo" />
+ <div id="headerhistory">
+ <span id="navtitle">ZideStore UI - Experimental</span>
+ </div>
+ </div>
+
+ <div style="text-align: right; font-size: 8pt;">
+ <a href="#" onClick="viewInNavi('appnavigation')">reload</a> -
+ resistance is obsolete <entity name="trade"/> ;-)
+ </div>
+ </body>
+</html>
--- /dev/null
+// $Id: OGoAppNavigation.m,v 1.1 2003/12/09 17:38:42 helge Exp $
+
+#include <NGObjWeb/SoComponent.h>
+
+@interface OGoAppNavigation : SoComponent
+@end
+
+#include "common.h"
+
+@implementation OGoAppNavigation
+@end /* OGoAppNavigation */
--- /dev/null
+<?xml version='1.0' standalone='yes'?>
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:var="http://www.skyrix.com/od/binding"
+ xmlns:const="http://www.skyrix.com/od/constant"
+ xmlns:rsrc="OGo:url"
+>
+ <head>
+ <link type="text/css" rel="stylesheet" rsrc:href="zidestoreui.css" />
+
+ <style>
+ a:link, a:visited, a:active, a:hover {
+ text-decoration: none;
+ font-family: Arial, Helvetica, Helv, Sans-Serif;
+ font-size: 9pt;
+ color: #0000FF;
+ }
+ a.reloadlink {
+ color: black;
+ }
+
+ ul {
+ margin: 0; /*removes indent IE and Opera*/
+ padding: 0; /*removes indent Mozilla and NN7*/
+ /* list-style-type: none; */ /*turns off display of bullet*/
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 14pt;
+ }
+
+ ul li {
+ /* padding-left: 4px; */
+ /* list-style: url(http://vesper.in.skyrix.com/SKYRiXgreen/WebServerResources/EN.lproj/nav_folder_open.gif); */
+ list-style: url(http://move:9000/OpenGroupware.woa/WebServerResources/English.lproj/icon_folder.gif);
+ }
+
+ ul li a {
+ display: block;
+ border: 1px solid #FFFFFF;
+ padding: 2px 2px 2px 24px;
+ width: 80%;
+ background-color: #EEEEEE;
+ }
+
+ ul li a:link, ul li a:visited {
+ text-decoration: none;
+ }
+ ul li a:hover {
+ border: 1px solid #333333;
+ background-color: #CCCCCC;
+ }
+ </style>
+
+ <script language="javascript"><![CDATA[
+ function viewInContent(url) {
+ parent.content.location=url;
+ return true;
+ }
+ ]]></script>
+ </head>
+
+ <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
+ <br />
+ <ul>
+ <li><a href="#">OGo</a></li>
+ <li><a href="#" onclick="viewInContent('view')" >View</a></li>
+ <li><a href="#" onclick="viewInContent('weekoverview')" >Week</a></li>
+ <li><a href="#" onclick="viewInContent('monthoverview')">Month</a></li>
+ <li><a href="#">OGo</a></li>
+ </ul>
+ <br />
+
+ <div style="border-top: 1px solid #000000;">
+ <a href="appnavigation" class="reloadlink"
+ var:_o="context.contextID"><i>(reload)</i></a>
+ </div>
+
+ <br />
+
+ <div style="border-top: 1px solid #000000; font-size: 8pt">
+ <var:string value="context.contextID" />
+ </div>
+ <a href="http://www.projectseven.com/tutorials/css_menus/list_01/"
+ target="extlink">CSS Menues</a>
+ </body>
+</html>
--- /dev/null
+// $Id: OGoPageFrame.m,v 1.2 2003/12/11 22:16:36 helge Exp $
+
+#include <NGObjWeb/SoComponent.h>
+
+@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 */
--- /dev/null
+<?xml version='1.0' standalone='yes'?>
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:var="http://www.skyrix.com/od/binding"
+ xmlns:const="http://www.skyrix.com/od/constant"
+ xmlns:rsrc="OGo:url"
+>
+ <head>
+ <title><var:string value="title"/></title>
+
+ <meta name="description" content="ZideStore Web Interface" />
+ <meta name="author" content="SKYRIX Software AG" />
+ <meta name="robots" content="stop" />
+
+ <link type="text/css" rel="stylesheet" rsrc:href="zidestoreui.css" />
+ <link type="text/css" rel="stylesheet" rsrc:href="calendar.css" />
+ <link href="mailto:hh@skyrix.com" rev="made" />
+ </head>
+
+ <body>
+<!--
+ <div id="header">
+ <img filename="OGoLogo.gif" class="headerlogo" alt="Logo" />
+ <div id="headerhistory">
+ <span id="navtitle">ZideStore UI - Experimental</span>
+ </div>
+ </div>
+ <br />
+-->
+ <var:component-content />
+ </body>
+</html>
--- /dev/null
+# $Id: Version,v 1.1 2003/11/24 01:24:40 helge Exp $
+
+SUBMINOR_VERSION:=1
+
+# 1.1.0 requires NGObjWeb 4.2.202
--- /dev/null
+{
+ "__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; }
+ );
+ };
+}
--- /dev/null
+.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;
+}
--- /dev/null
+/*
+ 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 <Foundation/Foundation.h>
+
+#if LIB_FOUNDATION_LIBRARY
+# import <Foundation/exceptions/GeneralExceptions.h>
+#elif NeXT_Foundation_LIBRARY || COCOA_Foundation_LIBRARY
+# import <FoundationExt/NSObjectMacros.h>
+# import <FoundationExt/NSString+Ext.h>
+# import <FoundationExt/GeneralExceptions.h>
+#endif
+
+#include <NGExtensions/NGExtensions.h>
+#include <NGObjWeb/NGObjWeb.h>
+#include <NGObjWeb/SoObjects.h>
--- /dev/null
+{
+ 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";
+ };
+ };
+ };
+ };
+}
--- /dev/null
+/* 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;
+}