[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/zopetop/www - __init__.py:1.2 add_more.gif:1.2 arrowup.gif:1.2 bg_bar.jpg:1.2 bg_content.jpg:1.2 bg_root_folder.jpg:1.2 bg_top.jpg:1.2 closed_folder.gif:1.2 control_panels.gif:1.2 control_panels_folder.gif:1.2 dialog_macros.pt:1.2 document_icon.gif:1.2 folder_icon.gif:1.2 help.gif:1.2 minus.gif:1.2 new_file.gif:1.2 new_folder.gif:1.2 new_template.gif:1.2 pdlib.js:1.2 plus.gif:1.2 service_manager.gif:1.2 spacer1.gif:1.2 spacer2.gif:1.2 spacer3.gif:1.2 system_security.gif:1.2 test_style.html:1.2 user_accounts.gif:1.2 users_folder.gif:1.2 view_macros.pt:1.2 website_settings.gif:1.2 widget_macros.pt:1.2 x.gif:1.2 zmi_stylesheet.css:1.2 zope3logo.jpg:1.2 zopetop_scripts.js:1.2 zopetopbasic.css:1.2 zopetopstructure.css:1.2 zopetopwidgets.css:1.2
Jim Fulton
jim@zope.com
Wed, 25 Dec 2002 09:13:46 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/skins/zopetop/www
In directory cvs.zope.org:/tmp/cvs-serv15352/src/zope/app/browser/skins/zopetop/www
Added Files:
__init__.py add_more.gif arrowup.gif bg_bar.jpg bg_content.jpg
bg_root_folder.jpg bg_top.jpg closed_folder.gif
control_panels.gif control_panels_folder.gif dialog_macros.pt
document_icon.gif folder_icon.gif help.gif minus.gif
new_file.gif new_folder.gif new_template.gif pdlib.js plus.gif
service_manager.gif spacer1.gif spacer2.gif spacer3.gif
system_security.gif test_style.html user_accounts.gif
users_folder.gif view_macros.pt website_settings.gif
widget_macros.pt x.gif zmi_stylesheet.css zope3logo.jpg
zopetop_scripts.js zopetopbasic.css zopetopstructure.css
zopetopwidgets.css
Log Message:
Grand renaming:
- Renamed most files (especially python modules) to lower case.
- Moved views and interfaces into separate hierarchies within each
project, where each top-level directory under the zope package
is a separate project.
- Moved everything to src from lib/python.
lib/python will eventually go away. I need access to the cvs
repository to make this happen, however.
There are probably some bits that are broken. All tests pass
and zope runs, but I haven't tried everything. There are a number
of cleanups I'll work on tomorrow.
=== Zope3/src/zope/app/browser/skins/zopetop/www/__init__.py 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:13:44 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/www/__init__.py Wed Dec 25 09:12:43 2002
@@ -0,0 +1,2 @@
+#
+# This file is necessary to make this directory a package.
=== Zope3/src/zope/app/browser/skins/zopetop/www/add_more.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/arrowup.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/bg_bar.jpg 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/bg_content.jpg 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/bg_root_folder.jpg 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/bg_top.jpg 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/closed_folder.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/control_panels.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/control_panels_folder.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/dialog_macros.pt 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:13:44 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/www/dialog_macros.pt Wed Dec 25 09:12:43 2002
@@ -0,0 +1,16 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html metal:define-macro="dialog">
+<head metal:use-macro="views/standard_macros/head" />
+
+<body>
+ <span metal:use-macro="views/standard_macros/breadcrumbs" />
+
+ <div metal:define-slot="body">
+ <p>Body here</p>
+ </div>
+
+ <div metal:use-macro="views/standard_macros/footer" />
+</body>
+</html>
+
=== Zope3/src/zope/app/browser/skins/zopetop/www/document_icon.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/folder_icon.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/help.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/minus.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/new_file.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/new_folder.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/new_template.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/pdlib.js 1.1 => 1.2 === (423/523 lines abridged)
--- /dev/null Wed Dec 25 09:13:44 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/www/pdlib.js Wed Dec 25 09:12:43 2002
@@ -0,0 +1,520 @@
+// Copyright (c) 2002 Zope Corporation and Contributors.
+// All Rights Reserved.
+//
+// This software is subject to the provisions of the Zope Public License,
+// Version 2.0 (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.
+
+// Page design Javascript library
+
+// A library for manipulating objects on a page with object selection,
+// context menus, and drag and drop. Mostly DOM 2 oriented, with bits
+// for IE compatibility.
+// $Id$
+
+// The following variables and functions are documented for use by
+// scripts that use this library:
+//
+// pd_node_setup
+// pd_selected_item
+// pd_selected_items
+// pd_library_version
+//
+// pd_stopEvent()
+// pd_findEventTarget()
+// pd_hideContextMenu()
+// pd_isSelected()
+// pd_select()
+// pd_deselect()
+// pd_clearSelection()
+// pd_setupContextMenu() -- adds a context menu to an element
+// pd_setupDragUI() -- adds drag/drop functionality to an element
+// pd_setupDropTarget() -- turns an element into a drop target
+// pd_setupContextMenuDefinition() -- turns an element into a context menu
+// pd_setupPage() -- Page initialization (call at bottom of page)
+//
+// See the documentation for descriptions.
+// All other names are subject to change in future revisions.
+
+var pd_library_version = '0.1'; // The pdlib version. Avoid using this!
+var pd_open_context_menu = null; // The context menu node being displayed
+var pd_drag_event = null; // A pd_DragEvent object while dragging
+var pd_selected_items = null; // List of selected items
+var pd_selected_item = null; // Non-null when exactly one item is selected
+var pd_drag_select_mode = null; // -1 or 1 in drag-select mode, otherwise null
[-=- -=- -=- 423 lines omitted -=- -=- -=-]
+ function oncontextmenu(e) {
+ return pd_itemOnContextMenu(mo, e, contextMenuId, box);
+ }
+ mo.oncontextmenu = oncontextmenu;
+}
+
+function pd_documentOnMouseDown() {
+ pd_hideContextMenu();
+ pd_clearSelection();
+}
+
+function pd_setupNodeAndDescendants(node) {
+ var i, f;
+ if (node.className) {
+ f = pd_node_setup[node.className];
+ if (f)
+ f(node);
+ }
+ for (i = 0; i < node.childNodes.length; i++) {
+ pd_setupNodeAndDescendants(node.childNodes[i]);
+ }
+}
+
+function pd_setupPage(node) {
+ if (!node)
+ node = document;
+ if (!document.onmousedown)
+ document.onmousedown = pd_documentOnMouseDown;
+ pd_setupNodeAndDescendants(node);
+}
+
+function pd_setupDropTarget(node, selectable) {
+ function call_highlight() {
+ return pd_highlightDropTarget(node);
+ }
+ node.onmouseover = call_highlight;
+ node.onmouseout = pd_unhighlightDropTarget;
+ if (!selectable)
+ node.onmousedown = pd_stopEvent; // Prevent accidental selection
+}
+
+function pd_setupContextMenuDefinition(node) {
+ node.onmouseover = pd_highlightContextMenuItem;
+ node.onmouseout = pd_unhighlightContextMenuItem;
+ node.onmousedown = pd_stopEvent;
+ node.onmouseup = pd_hideContextMenu;
+}
+
+pd_node_setup['drop-target'] = pd_setupDropTarget;
+pd_node_setup['context-menu'] = pd_setupContextMenuDefinition;
=== Zope3/src/zope/app/browser/skins/zopetop/www/plus.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/service_manager.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/spacer1.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/spacer2.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/spacer3.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/system_security.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/test_style.html 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:13:45 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/www/test_style.html Wed Dec 25 09:12:43 2002
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Untitled Document</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link href="zopetopBasic.css" rel="stylesheet" type="text/css" />
+<link href="zopetopStructure.css" rel="stylesheet" type="text/css" />
+<link href="zopetopWidgets.css" rel="stylesheet" type="text/css" />
+</head>
+
+<body>
+<h1>Stylesheet Test Page</h1>
+<h1>H1</h1>
+<h2>H2</h2>
+<h3>H3</h3>
+<h4>H4</h4>
+<h5>H5</h5>
+<h6>H6</h6>
+Default Text<br />
+<b>Bold Text</b><br />
+<em>Em Text</em><br />
+<i>Italic</i><br />
+<div>Standard Div</div>
+<div class="background">Background Color</div>
+<div class="hilite">Highlight Color</div>
+<div class="darker">Highlight Color</div>
+<pre>Preformatted Text
+Preformatted Text
+Preformatted Text
+</pre>
+<blockquote>Block Quote
+Block Quote
+Block Quote</blockquote>
+<p>Paragraph
+Paragraph
+Paragraph
+Paragraph
+Paragraph
+<a href="#" >A URL</a>
+</p>
+<form action="." method="post">
+<fieldset>
+<legend>Legend</legend><br />
+<div class="row"><label>First Name: <input name="firstname" type="text" accesskey="n" tabindex="1" title="First Name" dir="ltr" lang="en" size="35" maxlength="30" /></label></div>
+<div class="row"><label>Last Name:<input name="lastname" type="text" accesskey="n" tabindex="1" title="Last Name" dir="ltr" lang="en" size="35" maxlength="30" /></label></div>
+<div class="row"><label>Free Form Text: <textarea name="text" cols="20" rows="20" accesskey="t" tabindex="3" title="Free Form Text" dir="ltr" lang="en" label="Free Form Text"></textarea></label><br /></div>
+<div class="row"><label>CheckBox:<input name="checkbox" type="checkbox" accesskey="c" tabindex="4" title="A Checkbox" dir="ltr" lang="en" value="1" checked="checked" /> </label></div>
+<div class="row">Radio Group:
+ <label>
+ <input type="radio" name="RadioGroiup" value="radio1" />
+ Radio1</label>
+ <label>
+ <input type="radio" name="RadioGroiup" value="radio2" />
+ Radio2</label>
+</div>
+<div class="row">
+ Select:
+ <select name="select" accesskey="s" tabindex="7" title="Select Box" dir="ltr" lang="en">
+ <option value="1" selected="selected">Value1</option>
+ <option value="2">Value2</option>
+ <option value="3">Value3</option>
+ </select>
+</div>
+<div class="row">
+ Multiple Select:
+ <select name="select_multiple" size="5" multiple="multiple" accesskey="m" tabindex="8" title="Select Multiple">
+ <option value="1" selected="selected">Value1</option>
+ <option value="2">Value2</option>
+ <option value="3" selected="selected">Value3</option>
+ </select>
+</div>
+<div class="row">
+ <input name="Image Field" type="image" accesskey="i" tabindex="9" title="Image Field" value="1" src="arrowUp.gif" alt="Arrow Up" /></div>
+ <div class="row">
+ <input name="file" type="file" accesskey="f" tabindex="10" title="File Upload" dir="ltr" lang="en" size="25" /></div>
+
+<div class="row"> <input name="button" type="button" accesskey="b" tabindex="11" title="Button" value="button" />
+ <input name="submit" type="submit" accesskey="s" tabindex="12" title="Submit Button" dir="ltr" lang="en" value="submit" />
+<input name="reset" type="reset" accesskey="r" tabindex="13" title="Reset" dir="ltr" lang="en" value="reset" />
+</div>
+
+ </fieldset>
+
+</form>
+
+<table>
+ <caption>
+ Normal Table
+ </caption>
+ <thead>
+ <tr>
+ <th> TH </th>
+ <th> TH </th>
+ <th> TH </th>
+ </tr>
+ <tr class="even">
+ <td> TR</td>
+ <td> Class</td>
+ <td> Even</td>
+ </tr>
+ <tr class="odd">
+ <td> TR</td>
+ <td> Class</td>
+ <td> Odd</td>
+ </tr>
+ </thead>
+ <tbody>
+ </tbody>
+</table>
+<table class="listing">
+ <caption>
+ Table Class: Listing
+ </caption>
+ <thead>
+ <tr>
+ <th> TH </th>
+ <th> TH </th>
+ <th> TH </th>
+ <th> TH </th>
+ <th> TH </th>
+ <th> TH </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td> TD </td>
+ <td> TD </td>
+ <td> TD </td>
+ <td> TD </td>
+ <td> TD </td>
+ <td> TD </td>
+ </tr>
+ </tbody>
+</table>
+<table class="box">
+ <caption>
+ Table Class: Box
+ </caption>
+ <tr>
+ <th> TH </th>
+ <th> TH </th>
+ <th> TH </th>
+ <th> TH </th>
+ <th> TH </th>
+ <th> TH </th>
+ </tr>
+
+
+ <tr>
+ <td> TD </td>
+ <td> TD </td>
+ <td> TD </td>
+ <td> TD </td>
+ <td> TD </td>
+ <td> TD </td>
+ </tr>
+
+</table>
+<div class="document">Document Style Div</div>
+<div class="message">Message Style Div</div>
+<div class="error">Error Style Div</div>
+<div class="clock">Clock Style Div</div>
+<div class="editableDocument">Editable Document Style Div</div>
+<div class="personalBar">Personal Bar Style Div</div>
+<div class="comment">Comment Style Div</div>
+<div class="expired">Expired Style Div</div>
+<div class="private">Private Style Div</div>
+<div class="published">Published Style Div</div>
+<div class="pending">Pending Style Div</div>
+<div class="syndicated">Syndicated Style Div</div>
+<div class="breadcrumbs">Breadcrumbs Style Div</div>
+
+</body>
+</html>
=== Zope3/src/zope/app/browser/skins/zopetop/www/user_accounts.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/users_folder.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/view_macros.pt 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:13:45 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/www/view_macros.pt Wed Dec 25 09:12:43 2002
@@ -0,0 +1,200 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html metal:define-macro="page">
+<head metal:define-macro="head">
+<title
+ metal:define-slot="title"
+ tal:content="options/getTitle|view/getTitle|context/getTitle|default"
+ >Zope</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<link href="zopetopBasic.css" rel="stylesheet" type="text/css"
+ tal:attributes="href context/++resource++zopetopBasic.css" />
+<link href="zopetopWidgets.css" rel="stylesheet" type="text/css"
+ tal:attributes="href context/++resource++zopetopWidgets.css" />
+<link href="zopetopStructure.css" rel="stylesheet" type="text/css"
+ tal:attributes="href context/++resource++zopetopStructure.css" />
+<script type="text/javascript" src="pdlib.js"
+ tal:attributes="src context/++resource++pdlib.js"></script>
+<script type="text/javascript" src="zopetop_scripts.js"
+ tal:attributes="src context/++resource++zopetop_scripts.js"></script>
+
+<style type="text/css"><!--
+#drag-feedback-box {
+ border: 1px dotted black;
+ position: absolute;
+ display: none;
+ z-index: 1000;
+}
+</style>
+
+<div metal:define-slot="headers">
+</div>
+
+
+</head>
+<body>
+<table width="100%" border="0" cellspacing="0" cellpadding="0"
+ class="top-table">
+ <tr>
+ <td background="bg_top.jpg"
+ tal:attributes="background context/++resource++bg_top.jpg">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td><img src="zope3logo.jpg" width="366" height="37"
+ alt="Zope 3 Logo"
+ tal:attributes="src context/++resource++zope3logo.jpg" /></td>
+ <td>
+ <table border="0" align="right" cellpadding="0" cellspacing="0">
+ <tr class="personalBar">
+ <td><span metal:use-macro="views/standard_macros/logged_user">Logged in as user</span></td>
+ <td> <img src="spacer1.gif" alt="" width="2" height="25"
+ tal:attributes="src context/++resource++spacer1.gif"
+ /> </td>
+ <td><select name="select">
+ <option value="1">Zope Quick Start</option>
+ </select></td>
+ <td>
+ <input name="Go" type="submit" id="Go" value="Go" />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table></td>
+ </tr>
+<!--
+ <tr>
+ <td background="bg_bar.gif"
+ tal:attributes="background context/++resource++bg_bar.gif">
+ <span metal:use-macro="views/standard_macros/services_bar" />
+ </td>
+ </tr>
+ <tr>
+ <td bgcolor="#7d7cc0" height="1"></td>
+ </tr>
+-->
+</table>
+<table width="100%" border="0" cellspacing="0" cellpadding="0"
+ class="main-table">
+ <tr>
+ <td width="160" align="center" valign="top" class="left-column">
+ <div class="box-holder">
+ <img src="spacer3.gif" width="150" height="8" class="drop-target"
+ tal:attributes="src context/++resource++spacer3.gif" />
+ <span metal:use-macro="views/standard_macros/explorer_box" />
+ </div>
+ <div class="box-holder">
+ <img src="spacer3.gif" width="150" height="8" class="drop-target"
+ tal:attributes="src context/++resource++spacer3.gif" />
+ <span metal:use-macro="views/standard_macros/search_box" />
+ </div>
+ <img src="spacer3.gif" width="150" height="8" class="drop-target"
+ tal:attributes="src context/++resource++spacer3.gif" />
+ </td>
+ <td valign="top" class="hilite">
+ <table width="100%" border="0" align="center" cellpadding="0" cellspacing="10">
+ <tr>
+ <td class="background">
+ <span metal:use-macro="views/standard_macros/content_header_bar" />
+ </td>
+ </tr>
+ <tr>
+ <td> <span metal:define-slot="body">
+ <div align="center">
+ <select name="select2">
+ <option value="1">Select type to add...</option>
+ </select>
+ <input name="Add" type="submit" id="Add" value="Add" />
+ </div>
+ <div align="center">
+ <input name="Rename" type="submit" id="Rename" value="Rename" />
+ <input name="Cut" type="submit" id="Cut" value="Cut" />
+ <input name="Copy" type="submit" id="Copy" value="Copy" />
+ <input name="Paste" type="submit" id="Paste" value="Paste" />
+ <input name="Delete" type="submit" id="Delete" value="Delete" />
+ <input name="Import" type="submit" id="Import" value="Import" />
+ <input name="Export" type="submit" id="Export" value="Export" />
+ <input name="All" type="submit" id="All" value="All" />
+ <input name="None" type="submit" id="None" value="None" />
+ </div>
+ <table width="100%" border="0" cellpadding="2" cellspacing="1" class="listing">
+ <thead>
+ </thead>
+ <th colspan="2">Type</th>
+ <th>Name</th>
+ <th>Size</th>
+ <th>Last Modified</th>
+ <tr>
+ <td width="30"> <input type="checkbox" name="checkbox" value="checkbox" />
+ </td>
+ <td width="30"> <img src="control_panels_folder.gif" width="25" height="25"
+ tal:attributes="src context/++resource++control_panels_folder.gif"/> </td>
+ <td>Control Panel </td>
+ <td> </td>
+ <td>18/06/2002@10:53 PM BRT </td>
+ </tr>
+ </table>
+ <div align="center">
+ <input name="Rename" type="submit" id="Rename" value="Rename" />
+ <input name="Cut" type="submit" id="Cut" value="Cut" />
+ <input name="Copy" type="submit" id="Copy" value="Copy" />
+ <input name="Paste" type="submit" id="Paste" value="Paste" />
+ <input name="Delete" type="submit" id="Delete" value="Delete" />
+ <input name="Import" type="submit" id="Import" value="Import" />
+ <input name="Export" type="submit" id="Export" value="Export" />
+ <input name="All" type="submit" id="All" value="All" />
+ <input name="None" type="submit" id="None" value="None" />
+ </div>
+ </span> </td>
+ </tr>
+ <tr>
+ <td>
+ <div metal:use-macro="views/standard_macros/footer">
+ footer
+ </div>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+ <td width="160" align="center" valign="top" class="right-column">
+ <div class="box-holder">
+ <img src="spacer3.gif" width="150" height="8" class="drop-target"
+ tal:attributes="src context/++resource++spacer3.gif" />
+ <span metal:use-macro="views/standard_macros/metadata_box" />
+ </div>
+ <div class="box-holder">
+ <img src="spacer3.gif" width="150" height="8" class="drop-target"
+ tal:attributes="src context/++resource++spacer3.gif" />
+ <span metal:use-macro="views/standard_macros/views_box" />
+ </div>
+ <div class="box-holder">
+ <img src="spacer3.gif" width="150" height="8" class="drop-target"
+ tal:attributes="src context/++resource++spacer3.gif" />
+ <span metal:use-macro="views/standard_macros/services_box" />
+ </div>
+ <img src="spacer3.gif" width="150" height="8" class="drop-target"
+ tal:attributes="src context/++resource++spacer3.gif" />
+ </td>
+ </tr>
+</table>
+
+
+<div id="box-context-menu" class="context-menu">
+<div class="context-menu-item" onmouseup="Box_add()">Add a box...</div>
+<br />
+<div class="context-menu-item" onmouseup="Boxes_copy()">Copy</div>
+<div class="context-menu-item" onmouseup="Boxes_cut()">Cut</div>
+<div class="context-menu-item" onmouseup="Boxes_paste()"
+ filter="false">Paste</div>
+<div class="context-menu-item" onmouseup="Boxes_remove()">Remove</div>
+</div>
+
+<div id="drag-feedback-box"></div>
+<script type="text/javascript"><!--
+ pd_setupPage();
+// --></script>
+
+
+</body>
+</html>
=== Zope3/src/zope/app/browser/skins/zopetop/www/website_settings.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/widget_macros.pt 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:13:45 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/www/widget_macros.pt Wed Dec 25 09:12:43 2002
@@ -0,0 +1,204 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+<link href="zopetopBasic.css" rel="stylesheet" type="text/css" />
+<link href="zopetopStructure.css" rel="stylesheet" type="text/css" />
+<link href="zopetopWidgets.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+
+
+<span metal:define-macro="logged_user"
+ >Logged in as <span tal:replace="request/user/getTitle"
+ >dtremea</span></span>
+
+
+<table metal:define-macro="services_box" align="center" class="box"
+ width="150">
+ <thead>
+ <tr>
+ <th align="center" class="boxtop">Services</th>
+ <th class="empty"> </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td colspan="2" nowrap="nowrap" class="highlightable">
+
+ <span tal:condition="not: context/hasServiceManager">
+ <a href="@@addServiceManager.html">Allow Services</a>
+ <br />
+ </span>
+ <img src="user_accounts.gif" width="22" height="28"
+ tal:attributes="src context/++resource++user_accounts.gif" />
+ User Accounts
+ <br />
+ <img src="control_panels.gif" width="24" height="28"
+ tal:attributes="src context/++resource++control_panels.gif" />
+ Control Panels
+ <br />
+ <img src="system_security.gif" width="23" height="28"
+ tal:attributes="src context/++resource++system_security.gif" />
+ System Security
+ <br />
+ <img src="add_more.gif" width="26" height="28"
+ tal:attributes="src context/++resource++add_more.gif" />
+ Add More
+
+ </td>
+ </tr>
+ </tbody>
+</table>
+
+
+<table metal:define-macro="explorer_box" align="center" class="box" width="150">
+ <thead>
+ <tr>
+ <th align="center" class="boxtop">Root Folder</th>
+ <th class="empty"> </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td colspan="2" class="odd"><a href="#"><img src="plus.gif" width="19" height="25"
+ tal:attributes="src context/++resource++plus.gif"/><img
+ src="closed_folder.gif" width="26" height="25"
+ tal:attributes="src context/++resource++closed_folder.gif"
+ />Folder Name</a>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="odd"><a href="#"><img src="plus.gif"
+ width="19" height="25"
+ tal:attributes="src context/++resource++plus.gif"/><img
+ src="closed_folder.gif" width="26" height="25"
+ tal:attributes="src context/++resource++closed_folder.gif"
+ />Folder Name</a>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" class="even"><a
+ href="#"><img src="minus.gif" width="19" height="25"
+ tal:attributes="src context/++resource++minus.gif"/><img
+ src="closed_folder.gif" width="26" height="25"
+ tal:attributes="src context/++resource++closed_folder.gif"
+ />Folder Name</a>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ <table metal:define-macro="views_box" align="center" class="box" width="150">
+ <thead>
+ <tr>
+ <th align="center" class="boxtop">Views</th>
+ <th class="empty"> </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr tal:repeat="view context/@@view_get_menu/zmi_views">
+ <td colspan="2"> <a href=""
+ tal:attributes="href view/action">
+ <span style="color: #E9A90F; font-size: 15px;
+ font-weight: bold;">»</span>
+ <span tal:content="view/title">Contents</span></a>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ <table metal:define-macro="search_box" align="center" class="box"
+ width="150">
+ <thead>
+ <tr>
+ <th align="center" class="boxtop">Search</th>
+ <th class="empty"> </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td colspan="2" nowrap="nowrap">
+ <form name="search">
+ <input type="text" size="15" style="width: 85%;"
+ /><input type="submit" value="Go" style="width: 15%;" />
+ </form>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ <table metal:define-macro="metadata_box" align="center" class="box"
+ width="150">
+ <thead>
+ <tr>
+ <th align="center" class="boxtop">Metadata</th>
+ <th class="empty"> </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td colspan="2" nowrap="nowrap">
+
+ <form name="metadata">
+ <table border="0" cellspacing="0" cellpadding="0">
+ <tr>
+
+ <td>Title</td>
+ <td><input type="edit" size="10" name="title:string"
+ value=""></td>
+ </tr>
+ <tr>
+ <td>Creator</td>
+ <td>mowgli</td>
+ </tr>
+
+ <tr>
+ <td>Last Modified</td>
+ <td>09-06</td>
+ </tr>
+ <tr>
+ <td>Keywords</td>
+ <td>Many</td>
+
+ </tr>
+ <tr>
+ <td colspan="2">
+ <input type="submit" name="save" value="Save Changes">
+ </td>
+ </tr>
+ </table>
+ </form>
+
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+
+<table metal:define-macro="content_header_bar" width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td width="26"> <img src="closed_folder.gif" width="26" height="25"
+ tal:attributes="src context/++resource++closed_folder.gif"/>
+ </td>
+ <td width="95">Folder at </td>
+ <td><span
+ metal:define-macro="breadcrumbs"
+ tal:omit-tag=""
+ tal:repeat="breadcrumb context/@@absolute_url/breadcrumbs"> <a href=""
+ tal:attributes="href breadcrumb/url"
+ tal:content="string:${breadcrumb/name}/"
+ >name</a></span></td>
+ <td width="45" align="right">Help </td>
+ <td width="25"> <img src="help.gif" width="25" height="25"
+ tal:attributes="src context/++resource++help.gif"/>
+ </td>
+ </tr>
+</table>
+
+<div metal:define-macro="footer">
+ <p>Powered by Zope</p>
+</div>
+
+</body>
+</html>
=== Zope3/src/zope/app/browser/skins/zopetop/www/x.gif 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/zmi_stylesheet.css 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:13:46 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/www/zmi_stylesheet.css Wed Dec 25 09:12:43 2002
@@ -0,0 +1,45 @@
+body {
+ font-family: sans-serif;
+ color: Black;
+ background-color: White;
+}
+
+h1 {
+ font-size: x-large;
+ font-weight: bold;
+}
+
+h2 {
+ font-size: large;
+ font-weight: bold;
+}
+
+h3 {
+ font-size: large:
+ font-weight: bold;
+ font-style: italic;
+}
+
+h4 {
+ font-weight: bold;
+ font-style: italic;
+}
+
+h5 {
+ font-size: small;
+ font-weight: bold;
+}
+
+h6 {
+ font-size: small;
+ font-weight: bold;
+ font-style: italic;
+}
+
+img {
+ border: none;
+}
+
+caption {
+ font-weight: bold;
+}
=== Zope3/src/zope/app/browser/skins/zopetop/www/zope3logo.jpg 1.1 => 1.2 ===
<Binary-ish file>
=== Zope3/src/zope/app/browser/skins/zopetop/www/zopetop_scripts.js 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:13:46 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/www/zopetop_scripts.js Wed Dec 25 09:12:43 2002
@@ -0,0 +1,85 @@
+// Copyright (c) 2002 Zope Corporation and Contributors.
+// All Rights Reserved.
+//
+// This software is subject to the provisions of the Zope Public License,
+// Version 2.0 (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.
+
+// ZopeTop scripts (requires pdlib)
+
+function Box_add() {
+ window.alert("Add box is not implemented yet.");
+}
+
+function Boxes_copy() {
+ window.alert("Copy is not implemented yet. Objects: " + pd_selected_items);
+}
+
+function Boxes_cut() {
+ window.alert("Cut is not implemented yet. Objects: " + pd_selected_items);
+}
+
+function Boxes_paste() {
+ window.alert("Paste is not implemented yet. Objects: " + pd_selected_items);
+}
+
+function Boxes_remove() {
+ var i, node;
+ for (i = 0; i < pd_selected_items.length; i++) {
+ node = pd_selected_items[i];
+ node.style.display = "none";
+ }
+}
+
+function Boxes_move(pd_selected_items, target_node) {
+ var i, node, peer;
+ if (target_node.parentNode.className == 'box-holder')
+ peer = target_node.parentNode;
+ else
+ peer = target_node;
+ for (i = 0; i < pd_selected_items.length; i++) {
+ node = pd_selected_items[i];
+ node.parentNode.removeChild(node);
+ peer.parentNode.insertBefore(node, peer);
+ target_node.style.border = "2px solid transparent";
+ }
+}
+
+function Boxes_checkmove(pd_selected_items, target_node) {
+ return true;
+}
+
+function zopetop_findDescendant(node, className) {
+ // Returns a descendant with the given class name, or null.
+ if (node.className == className)
+ return node;
+ var i, c;
+ for (i = 0; i < node.childNodes.length; i++) {
+ c = zopetop_findDescendant(node.childNodes[i], className);
+ if (c != null)
+ return c;
+ }
+ return null;
+}
+
+function zopetop_setupBoxHolder(holder) {
+ var boxtop = zopetop_findDescendant(holder, "boxtop") || holder;
+ pd_setupDragUI(boxtop, Boxes_move, Boxes_checkmove, holder);
+ pd_setupContextMenu(boxtop, 'box-context-menu', holder);
+}
+
+pd_node_setup['box-holder'] = zopetop_setupBoxHolder;
+
+function zopetop_setupDropTarget(node) {
+ pd_setupDropTarget(node);
+ if (pd_invisible_targets.push)
+ pd_invisible_targets.push(node);
+ else
+ pd_invisible_targets = pd_invisible_targets.concat([node]);
+}
+
+pd_node_setup['drop-target'] = zopetop_setupDropTarget;
+
=== Zope3/src/zope/app/browser/skins/zopetop/www/zopetopbasic.css 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:13:46 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/www/zopetopbasic.css Wed Dec 25 09:12:43 2002
@@ -0,0 +1,190 @@
+/*****************************************************************************
+ *
+ * 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.0 (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$
+*/
+
+
+body {
+ font: 0.8em Tahoma, Helvetica, Arial, sans-serif;
+ background: #FFFFFF;
+ color: #000066;
+ margin: 0;
+ padding: 0;
+}
+
+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: justify;
+}
+
+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;
+ margin-top: 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;
+/* border: 1px solid #8cacbb; */
+ color: Black;
+/* background-color: white; */
+ margin: 1px 1px 1px 1px;
+}
+
+select {
+ font: 1em Tahoma, Helvetica, Arial, sans-serif;
+/* border: 1px solid #8cacbb; */
+ margin: 1px 1px 1px 1px;
+}
+
+abbr, acronym, .explain {
+/* Help classes */
+ border-bottom: 1px dotted Black;
+ color: 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;
+}
=== Zope3/src/zope/app/browser/skins/zopetop/www/zopetopstructure.css 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:13:46 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/www/zopetopstructure.css Wed Dec 25 09:12:43 2002
@@ -0,0 +1,281 @@
+/*****************************************************************************
+ *
+ * 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.0 (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.
+ *
+ *****************************************************************************
+
+ The Structure CSS contains elements that make up the structure of Plone,
+ generally stuff that is used once on a page - general layout, opposed to the
+ Widgets, that are used several times in a page.
+
+ KNOWN BUG: The selected tab cannot have image backdrop. FIXME
+
+ $Id$
+*/
+
+div.top {
+/* Top section */
+ background: transparent;
+ margin: 0;
+ padding: 0;
+ width: 100%;
+}
+
+.logo {
+/* Logo properties */
+ margin: 1em 0em 1em 2em;
+ padding: 0;
+}
+
+div.searchBox {
+/*searchbox style and positioning */
+ background-color: transparent;
+ color: Black;
+ float: right;
+ margin: 3em 0em 0em 0em;
+ padding: 0em 2em 0em 0em;
+ text-align: right;
+}
+
+input.searchGadget {
+}
+
+div.tabs {
+/* Navigational Plone Tabs(tm), implemented by customizing the a tag - they
+ are surprisingly elegant. The power of CSS runs strong in these :) */
+ background: transparent;
+ border-collapse: collapse;
+ border-bottom-color: #8CACBB;
+ border-bottom-style: solid;
+ border-bottom-width: 1px;
+ padding: 0.5em 0em 0em 2em;
+ white-space: nowrap;
+}
+
+div.tabs a {
+/* The normal, unselected tabs. They are all links */
+ background: transparent;
+ border-color: #8CACBB;
+ border-width: 1px;
+ border-style: solid solid none solid;
+ color: #436976;
+ font-weight: normal;
+ margin-right: 0.5em;
+ padding: 0em 2em;
+}
+
+div.tabs a.selected {
+/* The selected tab. There's only one of this */
+ background: #DEE7EC;
+ border: 1px solid #8CACBB;
+ border-bottom: #DEE7EC 1px solid;
+ color: #436976;
+ font-weight: normal;
+}
+
+div.tabs a:hover {
+ background: #DEE7EC;
+ border-color: #8CACBB;
+ border-bottom-color: #DEE7EC;
+ color: #436976;
+}
+
+.personalBar {
+ color: white;
+}
+
+div.pathBar {
+/* The path bar, including breadcrumbs and add to favorites */
+ border-bottom-color: #8CACBB;
+ border-bottom-style: solid;
+ border-bottom-width: 1px;
+ padding-left: 2em;
+ padding-right: 2em;
+}
+
+.breadcrumbs {
+ float: left;
+}
+
+.addFavorite {
+ vertical-align: bottom;
+}
+
+.clock {
+ /* The portal time indicator */
+ float: right;
+ white-space: nowrap;
+}
+
+table.columns {
+ width: 100%;
+}
+
+table.columns td.left {
+ vertical-align: top;
+ width: 15%;
+ padding: 2em 1em 1em 2em;
+}
+
+table.columns td.main {
+ vertical-align: top;
+ padding: 2em 2em 1em 1em;
+ margin: 0;
+}
+
+table.columns td.right {
+ vertical-align: top;
+ width: 15%;
+ padding: 2em 2em 1em 0em;
+}
+
+div.contentTabs {
+/* Local Tabs(tm), used in the content display */
+ background: transparent;
+ border-collapse: collapse;
+ border-bottom: 1px solid #74AE0B;
+ padding-left: 1em;
+ white-space: nowrap;
+}
+
+div.contentTabs a {
+/* The normal, unselected tabs. They are all links */
+ background: transparent;
+ border: 1px solid #74AE0B;
+ color: #578308;
+ font-weight: normal;
+ margin-right: 0.5em;
+ padding: 0em 2em;
+}
+
+div.contentTabs a.selected {
+/* The selected tab. There's only one of this */
+ background: #CDE2A7;
+ border-bottom: #CDE2A7 1px solid;
+ color: #578308;
+ font-weight: normal;
+}
+
+div.contentTabs a:hover {
+ background-color: #CDE2A7;
+ color: #578308;
+}
+
+div.contentBar {
+ background: #CDE2A7;
+ border-left: 1px solid #74AE0B;
+ border-right: 1px solid #74AE0B;
+ color: #578308;
+ text-align: right;
+}
+
+div.document {
+/* The document class encloses the object content when editing is not
+ permitted */
+ background: transparent;
+ padding: 0;
+ margin: 0em 0em 2em 0em;
+}
+
+div.editableDocument {
+/* The class surrounding content when editing is permitted */
+ background: transparent;
+ border: 1px solid #74AE0B;
+ margin: 0em 0em 2em 0em;
+ padding: 2em;
+}
+
+div.message {
+/* The portal messages for cut/paste operations etc */
+ background: #FFCE7B;
+ border: 1px solid #FFA500;
+ color: Black;
+ font: bold 100% Tahoma, Helvetica, Arial, sans-serif;
+ margin: 0em 0em 1em 0em;
+ padding: 0.5em 1em;
+ vertical-align: middle;
+
+}
+
+div.message a {
+ color: Black;
+ text-decoration: underline;
+}
+
+.top-table {
+ color: white;
+}
+
+.left-column {
+ background: #ccccff;
+ border-right: 1px solid #7B7AC6;
+ border-bottom: 1px solid #7B7AC6;
+}
+
+.right-column {
+ background: #ccccff;
+ border-left: 1px solid #7B7AC6;
+ border-bottom: 1px solid #7B7AC6;
+}
+
+.darker {
+ background: #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: #DEE7EC;
+ border-top: 1px solid #8CACBB;
+ border-bottom: 1px solid #8CACBB;
+ color: Black;
+ clear: both;
+ float: none;
+ margin: 2em 0em;
+ padding: 0.5em 0em 1em 0em;
+ text-align: center;
+}
+
+.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;
+}
=== Zope3/src/zope/app/browser/skins/zopetop/www/zopetopwidgets.css 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:13:46 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/www/zopetopwidgets.css Wed Dec 25 09:12:43 2002
@@ -0,0 +1,353 @@
+/*****************************************************************************
+ *
+ * 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.0 (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 Widget CSS declarations.
+
+ TODO: table.listing,
+ table.box
+
+ $Id$
+*/
+
+input.standalone {
+ background: #A1A1F1 url(linkOpaque.gif) left no-repeat;
+ color: Black;
+ cursor: pointer;
+ font-weight: normal;
+ padding: 1px 1px 1px 15px;
+}
+
+input.context {
+ background: White url(linkTransparent.gif) left no-repeat;
+ color: Black;
+ cursor: pointer;
+ font-weight: normal;
+ padding: 1px 1px 1px 15px;
+}
+
+input.noborder {
+/* radiobuttons and checkmarks, different behaviour in Moz and IE.
+ Border necessary in Moz, not in IE */
+ border: none;
+ margin: 0;
+ background-color: transparent;
+}
+
+div.row {
+ clear: both;
+ min-height: 4em;
+ margin-top: 1em;
+}
+
+.group {
+ border: 1px solid #7B7AC6;
+ margin: 2em 0em 1em 0em;
+ width: 94%;
+ padding: 1em 0em;
+}
+
+.legend {
+ position : relative;
+ top: -1.8em;
+ left: 1em;
+ background: White;
+ padding: 0.5em;
+}
+
+span.label {
+ float: left;
+ font-weight: bold;
+ text-align: right;
+ width: 15%;
+ position : relative;
+ left: -1em;
+}
+
+span.field {
+ float: left;
+ text-align: left;
+ width: 55%;
+}
+
+span.info {
+ background-color: transparent;
+ float: right;
+ text-align: left;
+ width: 28%;
+}
+
+.error {
+ /* Class for error indication in forms */
+ background: #FFCE7B;
+ border: 1px solid #FFA500;
+ margin: 1em;
+}
+
+.required {
+/* Used in addition to class "label" on required elements */
+ background: url(required.gif) 2em no-repeat;
+}
+
+span.card {
+ background: #A1A1F1;
+ border-color: #7B7AC6;
+ border-width: 1px;
+ border-style: solid;
+ float: left;
+ margin: 1em;
+ padding: 1em;
+ text-align: center;
+ width: 15%;
+}
+
+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: 2px 1em 2px 1em;
+}
+
+table.listing a:hover {
+ text-decoration: underline;
+}
+
+table.listing img{
+ vertical-align: middle;
+}
+
+table.box {
+/* The Plone Box(tm) (Navigation, Related etc) */
+ background: transparent;
+ border-collapse: collapse;
+ border-bottom: 1px solid #7B7AC6;
+ border-left: 1px solid #7B7AC6;
+ margin: 0px;
+ margin-bottom: 1px;
+ cursor: default;
+}
+
+table.box th {
+ background: #A1A1F1;
+ border-top: 1px solid #7B7AC6;
+ border-bottom: 1px solid #7B7AC6;
+ border-right: 1px solid #7B7AC6;
+ color: Black;
+ font-weight: normal;
+ padding: 0px 1px;
+ text-align: left;
+}
+
+table.box th.empty {
+ background-color: transparent;
+ border: none;
+ border-bottom: 1px solid #7B7AC6;
+}
+
+table.box tr.odd {
+/*every second line should be shaded */
+ background: transparent;
+}
+
+table.box tr.even {
+ background-color: #99CCFF;
+}
+
+table.box td {
+ background: white;
+ border-right: 1px solid #7B7AC6;
+ padding: 0px 4px 0px 2px;
+}
+
+table.box img{
+ vertical-align: middle;
+}
+
+div.boxDetails {
+/*the line that contains the date for news and other info */
+ text-align: right;
+}
+
+table.box a {
+}
+
+table.box a.comment {
+/* special link for comments - default behavior is to display the discussion
+ icon next to the link */
+ background-image: url(discussionitem_icon.gif);
+ background-repeat: no-repeat;
+ background-position: 0px -2px;
+ padding: 0em 0em 0.5em 2em;
+ margin: 0;
+ display: block;
+}
+
+table.box a.marker {
+/* special format for links inside boxes - adds link image and displays the
+ link as a block (which in this case means the text will not float under
+ the link image, plus the whole thing is clickable) */
+ background: url(linkTransparent.gif) -0.5em 0px no-repeat;
+ display: block;
+ padding: 0em 0em 0em 1.5em;
+ vertical-align: top;
+}
+
+span.folderName {
+/* The folder name in folder_contents */
+ font-size: 150%;
+ font-weight: bold;
+}
+
+div.category {
+ float: left;
+ margin-right: 1em;
+ margin-bottom: 2em;
+ width: 20em;
+}
+
+div.category a.heading {
+ display: block;
+ padding: 0em 0em 0.5em 0em;
+ font-size: 1.1em;
+ text-decoration: underline;
+}
+
+div.category a {
+ text-decoration: underline;
+}
+
+div.box {
+ float: left;
+ margin-right: 1em;
+ margin-bottom: 2em;
+ width: 20em;
+ background: transparent;
+ border-collapse: collapse;
+ border: 1px solid #7B7AC6;
+}
+
+div.box div.heading {
+ background: #A1A1F1;
+ border-bottom: 1px solid #7B7AC6;
+ color: Black;
+ font-weight: normal;
+ padding: 0em 0em 0em 1em;
+ text-align: left;
+}
+
+div.box a.close {
+ float: right;
+ text-transform: none;
+ border-left: 1px solid #7B7AC6;
+ padding: 0em 0.2em;
+}
+
+div.box div.odd {
+ background: transparent;
+ padding: 1em;
+}
+
+div.box div.even {
+ background-color: #99CCFF;
+ padding: 1em;
+}
+
+div.spacer {
+ margin: 3em;
+}
+
+.private {
+ color: Black;
+}
+
+.published {
+ color: #74AE0B;
+}
+
+.pending {
+ color: #FFA500;
+}
+
+.syndicated {
+ color: #008000;
+}
+
+.expired {
+ color: Red;
+}
+
+
+div.listingBar {
+ background: #A1A1F1;
+ border-color: #7B7AC6;
+ border-style: solid;
+ border-width: 1px;
+ padding: 0em 1em;
+ text-align: right;
+ height: 1em;
+ clear: both;
+}
+
+div.listingBar span.previous {
+ text-align: left;
+ float: left;
+}
+
+div.listingBar span.next {
+ text-align: right;
+ float: right;
+}
+
+div.workspace {
+}
+
+div.workspace span.small {
+ float: left;
+ height: 30em;
+ width: 20em;
+ margin-right: 1em;
+ margin-bottom: 1em;
+}
+
+div.workspace span.big {
+ float: left;
+ height: 40em;
+ width: 40em;
+ margin-right: 1em;
+ margin-bottom: 1em;
+}