commit e96ed17b3212a67d4aff61df2f07e777dc4ae916 Author: helmutm Date: Sat Aug 13 16:33:21 2005 +0000 initial import git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@539 fd906abe-77d9-0310-91a1-e0d9ade77398 diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..4bc90fb --- /dev/null +++ b/__init__.py @@ -0,0 +1,4 @@ +""" +$Id$ +""" + diff --git a/browser/__init__.py b/browser/__init__.py new file mode 100644 index 0000000..4bc90fb --- /dev/null +++ b/browser/__init__.py @@ -0,0 +1,4 @@ +""" +$Id$ +""" + diff --git a/browser/configure.zcml b/browser/configure.zcml new file mode 100644 index 0000000..9f9b759 --- /dev/null +++ b/browser/configure.zcml @@ -0,0 +1,11 @@ + + + + + + + diff --git a/browser/skin/__init__.py b/browser/skin/__init__.py new file mode 100644 index 0000000..4bc90fb --- /dev/null +++ b/browser/skin/__init__.py @@ -0,0 +1,4 @@ +""" +$Id$ +""" + diff --git a/browser/skin/bg_cyberview.gif b/browser/skin/bg_cyberview.gif new file mode 100644 index 0000000..6848e48 Binary files /dev/null and b/browser/skin/bg_cyberview.gif differ diff --git a/browser/skin/configure.zcml b/browser/skin/configure.zcml new file mode 100644 index 0000000..5ebe6b9 --- /dev/null +++ b/browser/skin/configure.zcml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + diff --git a/browser/skin/cyberview.css b/browser/skin/cyberview.css new file mode 100644 index 0000000..13879d7 --- /dev/null +++ b/browser/skin/cyberview.css @@ -0,0 +1,523 @@ +/***************************************************************************** + * + * Copyright (c) 2001, 2002 Zope Corporation and Contributors. + * All Rights Reserved. + * + * This software is subject to the provisions of the Zope Public License, + * Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. + * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED + * WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS + * FOR A PARTICULAR PURPOSE. + * + ***************************************************************************** + + These are the basic CSS declarations. + + $Id$ +*/ + +/* Start CSS for fluid multi-column form layout */ + +div.row { + float: left; + clear: none; + padding: 0.5em; +} + +div.separator { + clear: both; +} + +div.controls { + float:left; + clear: both; +} + +/* End CSS for fluid multi-column form layout */ + +div.label { + font-weight: bold; +} + +div.field { + margin: 4px 0; +} + +div.required:after{ + content: " *"; +} + +body { + font: 0.8em Tahoma, Helvetica, Arial, sans-serif; + background-color: white; + color: #000066; + margin: 0; + padding: 0; +} + +#drag-feedback-box { + border: 1px dotted black; + position: absolute; + display: none; + z-index: 1000; +} + +div.top { + background-image: url('bg_cyberview.gif'); + height: 75px; +} + +div.top div.user { + position: absolute; + top: 1em; + right: 1em; + color: white; +} + + +a { + text-decoration: none; + color: #000066; + background-color: transparent; +} + +table { + font: 1em Tahoma, Helvetica, Arial, sans-serif; +} + + +img { +/* turn off image borders. */ + border: none; +} + +p { +/* Default paragraph style*/ + font: 1em Tahoma, Helvetica, Arial, sans-serif; + margin: 1em 0em; + text-align: left; +} + +p a { + text-decoration: underline; +} + +p a:visited { + color: Purple; + background-color: transparent; +} + +p a:active { + color: Red; + background-color: transparent; +} + +p img { + border: 1px solid Black; + margin: 1em; +} + + +hr { + clear: both; + height: 1px; + color: #8CACBB; + background-color: transparent; +} + + +h1, h2, h3, h4, h5, h6 { + color: Black; + padding: 0 0; + margin: .5em 0; + font-family: Tahoma, Helvetica, Arial, sans-serif; +} + +h1 { + font-size: 1.8em; +} + +h2 { + font-size: 1.6em; +} + +h3 { + font-size: 1.4em; +} + +h4 { + font-size: 1.2em; +} + +h5 { + font-size: 1.1em; +} + +h6 { + font-size: 1.0em; +} + +ul { +/* list-style-image: url("bullet.gif"); */ + margin-top: 1em; + margin-bottom: 1em; + margin-left: 2em; + padding:0; +} + +/* we advise you to use the div.group and span.legend elements instead of +these, as the only browser showing legends correctly is IE. They are just +included here for completeness */ + +fieldset { + border: 1px solid #8cacbb; + margin: 2em 0em 1em 0em; + padding: 1em 0em; +} + +legend { + background: White; + padding: 0.5em; +} + + +form { + border: none; +} + +textarea { +/* Small cosmetic hack which makes textarea gadgets look nicer.*/ + font: bold 1em Tahoma, Helvetica, Arial, sans-serif; + border: 1px solid #8cacbb; + width: 100%; + color: Black; + background-color: white; +} + +input { +/* Small cosmetic fix which makes input gadgets look nicer. */ + font: 1em Tahoma, Helvetica, Arial, sans-serif; + color: Black; + margin: 1px 1px 1px 1px; +} + +select { + font: 1em Tahoma, Helvetica, Arial, sans-serif; + margin: 1px 1px 1px 1px; +} + +abbr, acronym, .explain { +/* Help classes */ + border-bottom: 1px dotted Black; + background-color: transparent; + cursor: help; +} + +code { + font-size: 1.2em; + color: Black; + background-color: #dee7ec; +} + +pre { + font-size: 1.2em; + padding: 1em; + border: 1px solid #8cacbb; + color: Black; + background-color: #dee7ec; +} + +.netscape4 { +/* This hides elements necessary for getting Netscape 4.x to look better. + Mostly strategically placed hr tags and ·'s */ + display: none; +} + +table.listing { + /* The default table for document listings. Contains name, document types, modification times etc in a file-browser-like fashion */ + border-collapse: collapse; + border-left: 1px solid #7B7AC6; + border-bottom: 1px solid #7B7AC6; + margin: 1em 0em 1em 0em; +} + +table.listing th { + background: #A1A1F1; + border-top: 1px solid #7B7AC6; + border-bottom: 1px solid #7B7AC6; + border-right: 1px solid #7B7AC6; + color: #000000; + font-weight: normal; + padding: 0em 1em 0em 1em; +} + +table.listing tr.odd { + /*every second line should be shaded */ + background: transparent; +} + +table.listing tr.even { + background: #ECFAFF; +} + +table.listing td { + border-right: 1px solid #7B7AC6; + padding: 0.1em 0.4em 0.1em 0.4em; +} + +table.listing a:hover { + text-decoration: underline; +} + +table.listing img{ + vertical-align: middle; +} + +table.columns { + width: 100%; + padding: 0; + margin: 0; + border-collapse: collapse; +} + +table.columns td{ + vertical-align: top; +} + +table.columns td.main { + background-color: white; + padding: 0 0.5em; + //border-bottom: 1px solid #7B7AC6; +} + +table.columns td.left { + background-color: #eeeeee; + //border-right: 1px solid #7B7AC6; + //border-bottom: 1px solid #7B7AC6; + padding: 0.5em 0; + width: 114px; +} + +table.columns td.right { + background-color: white; + border-left: 1px solid #7B7AC6; + border-bottom: 1px solid #7B7AC6; + width: 20%; +} + +div.breadcrumbs{ + background-color: white; + margin-top: 0em; + padding: 0 0.5em 0.5em 0.5em; +} + +span.help img{ + vertical-align: middle; + padding: 0; + margin: 0; +} + +div.box { + border: none; + margin: 0.5em 0.5em 0em 0.5em; + padding: 0; +} + +div.box h4 { + font-size: 1em; +} + +div.box h5 { + background: #E5E5E5; + border: 1px solid #A3A3A3; + border-style: solid solid none solid; + color: #808080; + padding: 0em 1em 0em 1em; + text-transform: lowercase; + display: inline; + font-size: 1em; + height: 1em; + } + +div.box h6 { + background: #E5E5E5; + border: 1px solid #A3A3A3; + border-style: solid solid none solid; + color: #808080; + padding: 0em 1em 0em 1em; + text-transform: lowercase; + display: block; + font-size: 1em; + height: 1.2em; +} + +div.box div.body { + background: transparent; + border-collapse: collapse; + border: 1px solid #A3A3A3; +} + +div.box .content { + padding-left: 0.6em; + padding-right: 0.6em; + padding-top: 0.4em; + padding-bottom: 0.4em; +} + +div.box .even { + background-color: white; +} + +div.box .odd { + background-color: White; +} + +.darker { + background-color: #7B7AC6; +} + +.hilite { + background: #FFFFFF; +} + +.background { + border-bottom: 1px solid #7B7AC6; +} + +.description { +/* The summary text describing the document */ + font: bold 1em Tahoma, Helvetica, Arial, sans-serif; + display: block; + margin-bottom: 1em; +} + +.footer { + background-color: #eeeeee; + padding: 0.5em; + text-align: center; +} + +div.metadata { + font-size: 0.9em; + text-align: right; +} + +.context-menu { + position: absolute; + border: 1px outset; + background-color: Menu; + color: MenuText; + cursor: default; + z-index: 1000; + visibility: hidden; + display: table; +} + +.context-menu-item { + padding-left: 10px; + padding-right: 10px; + padding-top: 2px; + padding-bottom: 2px; +} + +.drop-target { + border: 2px solid transparent; + visibility: hidden; +} + +#navtreecontents a { + cursor: pointer; +} + +#navtreecontents loading { + display: block; + padding-left: 31px; + height: 20px; +} + +#navtreecontents expand { + background-repeat: no-repeat; + padding-left: 14px; + display: inline; + cursor: pointer; + padding-bottom: 0.2em; + padding-top: 0.2em; +} + +#navtreecontents icon { + background-repeat: no-repeat; + padding-left: 20px; + display: inline; + cursor: auto; + padding-bottom: 0.2em; + padding-top: 0.2em; +} + +#navtreecontents collection { + display: block; + margin-left: 10px; +/* border: red solid 1pt; */ + height: auto; + padding-bottom: 0em; + padding-top: 0.4em; +} + +.preclass { + font-family : monospace; + white-space : pre; +} + +th.introspector { + vertical-align: top; + text-align: right; +} + +.itemViews { + border-collapse: collapse; + padding-bottom: 2px; + padding-top: 6px; + margin-top: 0.5em; + white-space: nowrap; + background: transparent; + text-align: right; +} + +.itemViews a { + background: transparent; + border: 1px solid #ccccff; + color: #000066; + font-weight: normal; + margin-right: 0.3em; + padding: 0.1em 0.5em 0.1em 0.5em; +} + +.itemViews a.selected { + background-color: #CCCCFF; + border-bottom: #CCCCFF 1px solid; + color: #000066; + font-weight: normal; +} + +.itemViews a:hover { + background-color: #CCCCFF; + color: #000066; +} + +.actions { + background-color: #CCCCFF; + text-align: right; + padding-top: 0.3em; + color: Black; + border-collapse: collapse; +} + +.actions a{ + color: #000066; + border-left: 1px dashed #000066; + padding: 0 0.5em; +} + +.actions a:hover { + background-color: White; +} \ No newline at end of file diff --git a/browser/skin/cyc-logo02.png b/browser/skin/cyc-logo02.png new file mode 100644 index 0000000..eac2e09 Binary files /dev/null and b/browser/skin/cyc-logo02.png differ diff --git a/browser/skin/cyc-logo03.gif b/browser/skin/cyc-logo03.gif new file mode 100644 index 0000000..ee7f6f6 Binary files /dev/null and b/browser/skin/cyc-logo03.gif differ diff --git a/browser/skin/view_macros.pt b/browser/skin/view_macros.pt new file mode 100644 index 0000000..9661305 --- /dev/null +++ b/browser/skin/view_macros.pt @@ -0,0 +1,54 @@ + + + + + + cyberconcepts IT-Consulting + + + +
+ + + +
+ + cyberconcepts IT-Consulting + + + Logged in as user + +
+ + + + + +
+ + + + Here comes the body +
+ + + + + diff --git a/configure.zcml b/configure.zcml new file mode 100644 index 0000000..be9c44a --- /dev/null +++ b/configure.zcml @@ -0,0 +1,15 @@ + + + + + + + + + + + + diff --git a/cyc-logo02.png b/cyc-logo02.png new file mode 100644 index 0000000..eac2e09 Binary files /dev/null and b/cyc-logo02.png differ