initial import
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@539 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
commit
e96ed17b32
12 changed files with 650 additions and 0 deletions
4
__init__.py
Normal file
4
__init__.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
"""
|
||||
$Id$
|
||||
"""
|
||||
|
4
browser/__init__.py
Normal file
4
browser/__init__.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
"""
|
||||
$Id$
|
||||
"""
|
||||
|
11
browser/configure.zcml
Normal file
11
browser/configure.zcml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!-- $Id$ -->
|
||||
|
||||
<configure
|
||||
xmlns:zope="http://namespaces.zope.org/zope"
|
||||
xmlns="http://namespaces.zope.org/browser"
|
||||
i18n_domain="zope"
|
||||
>
|
||||
|
||||
<include package=".skin" />
|
||||
|
||||
</configure>
|
4
browser/skin/__init__.py
Normal file
4
browser/skin/__init__.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
"""
|
||||
$Id$
|
||||
"""
|
||||
|
BIN
browser/skin/bg_cyberview.gif
Normal file
BIN
browser/skin/bg_cyberview.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 100 B |
35
browser/skin/configure.zcml
Normal file
35
browser/skin/configure.zcml
Normal file
|
@ -0,0 +1,35 @@
|
|||
<!-- $Id$ -->
|
||||
|
||||
<configure
|
||||
xmlns:zope="http://namespaces.zope.org/zope"
|
||||
xmlns="http://namespaces.zope.org/browser"
|
||||
i18n_domain="zope"
|
||||
>
|
||||
|
||||
<layer name="cyberview" />
|
||||
|
||||
<skin name="CyberView"
|
||||
layers="cyberview
|
||||
zope.app.zopetop.css
|
||||
zope.app.zopetop.images
|
||||
zope.app.zopetop.templates
|
||||
rotterdam default" />
|
||||
|
||||
<page for="*"
|
||||
name="view_macros" template="view_macros.pt"
|
||||
permission="zope.View"
|
||||
layer="cyberview" />
|
||||
|
||||
<resource name="cyberview.css" file="cyberview.css"
|
||||
layer="cyberview" />
|
||||
|
||||
<resource name="cyberconcepts.png" image="cyc-logo02.png"
|
||||
layer="cyberview" />
|
||||
|
||||
<resource name="cyberconcepts.gif" image="cyc-logo03.gif"
|
||||
layer="cyberview" />
|
||||
|
||||
<resource name="bg_cyberview.gif" image="bg_cyberview.gif"
|
||||
layer="cyberview" />
|
||||
|
||||
</configure>
|
523
browser/skin/cyberview.css
Normal file
523
browser/skin/cyberview.css
Normal file
|
@ -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;
|
||||
}
|
BIN
browser/skin/cyc-logo02.png
Normal file
BIN
browser/skin/cyc-logo02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
BIN
browser/skin/cyc-logo03.gif
Normal file
BIN
browser/skin/cyc-logo03.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.3 KiB |
54
browser/skin/view_macros.pt
Normal file
54
browser/skin/view_macros.pt
Normal file
|
@ -0,0 +1,54 @@
|
|||
<metal:block define-macro="page"><metal:block define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></metal:block>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
|
||||
i18n:domain="zope">
|
||||
|
||||
<head metal:define-macro="head">
|
||||
<title metal:define-slot="title"
|
||||
tal:content="options/getTitle|view/getTitle|context/getTitle|default">
|
||||
cyberconcepts IT-Consulting
|
||||
</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<link href="cyberview.css" rel="stylesheet" type="text/css"
|
||||
tal:attributes="href context/++resource++cyberview.css" />
|
||||
<div metal:define-slot="headers" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="top">
|
||||
<a href="#" name="top" tal:attributes="href string:${request/URL/1}/@@manage">
|
||||
<img src="cyberconcepts.gif" height="75"
|
||||
alt="cyberconcepts IT-Consulting"
|
||||
tal:attributes="src context/++resource++cyberconcepts.gif" />
|
||||
</a>
|
||||
<span metal:use-macro="context/@@standard_macros/logged_user">
|
||||
Logged in as user
|
||||
</span>
|
||||
</div>
|
||||
<table class="columns">
|
||||
<tr>
|
||||
<td class="left">
|
||||
<!--
|
||||
<span metal:use-macro="context/@@standard_macros/navigation_box" />
|
||||
<span metal:use-macro="context/@@standard_macros/commontasks_box" />
|
||||
<span metal:use-macro="context/@@standard_macros/metadata_box" />
|
||||
<span metal:use-macro="context/@@standard_macros/views_box" />
|
||||
<span metal:use-macro="context/@@standard_macros/actions_box" />
|
||||
-->
|
||||
</td>
|
||||
<td class="main">
|
||||
<!--
|
||||
<span metal:use-macro="context/@@standard_macros/zmi_views" />
|
||||
<span metal:use-macro="context/@@standard_macros/zmi_actions" />
|
||||
<span metal:use-macro="context/@@standard_macros/content_header_bar" />
|
||||
-->
|
||||
<span metal:define-slot="body">Here comes the body</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--
|
||||
<span metal:use-macro="context/@@standard_macros/footer" />
|
||||
-->
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</metal:block>
|
15
configure.zcml
Normal file
15
configure.zcml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!-- $Id$ -->
|
||||
|
||||
<configure
|
||||
xmlns="http://namespaces.zope.org/zope"
|
||||
i18n_domain="zope"
|
||||
>
|
||||
|
||||
<!-- Security definitions -->
|
||||
|
||||
<!-- Content declarations -->
|
||||
|
||||
<!-- Register various browser related components, including all views -->
|
||||
<include package=".browser" />
|
||||
|
||||
</configure>
|
BIN
cyc-logo02.png
Normal file
BIN
cyc-logo02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
Loading…
Add table
Reference in a new issue