[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/zopetop - __init__.py:1.2 configure.zcml:1.2 standardmacros.py:1.2
Jim Fulton
jim@zope.com
Wed, 25 Dec 2002 09:13:43 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/skins/zopetop
In directory cvs.zope.org:/tmp/cvs-serv15352/src/zope/app/browser/skins/zopetop
Added Files:
__init__.py configure.zcml standardmacros.py
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/__init__.py 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:13:43 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/__init__.py Wed Dec 25 09:12:42 2002
@@ -0,0 +1,2 @@
+#
+# This file is necessary to make this directory a package.
=== Zope3/src/zope/app/browser/skins/zopetop/configure.zcml 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:13:43 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/configure.zcml Wed Dec 25 09:12:42 2002
@@ -0,0 +1,124 @@
+<zopeConfigure
+ xmlns='http://namespaces.zope.org/zope'
+ xmlns:browser='http://namespaces.zope.org/browser'
+>
+
+ <browser:skin name="ZopeTop" layers="templates images css default" />
+
+ <browser:view
+ name="standard_macros"
+ permission="zope.View"
+ factory="zope.app.browser.skins.zopetop.standardmacros.StandardMacros"
+ allowed_interface=
+ "zope.app.browser.skins.basic.standardmacros.IStandardMacros"
+ layer="templates" />
+
+ <browser:view name="view_macros"
+ permission="zope.View"
+ template="www/view_macros.pt"
+ layer="templates" />
+
+ <browser:view name="widget_macros"
+ permission="zope.View"
+ template="www/widget_macros.pt"
+ layer="templates" />
+
+ <browser:view name="dialog_macros"
+ permission="zope.View"
+ template="www/dialog_macros.pt"
+ layer="templates" />
+
+ <browser:resource name="pdlib.js"
+ file="www/pdlib.js"
+ layer="templates" />
+
+ <browser:resource name="zopetop_scripts.js"
+ file="www/zopetop_scripts.js"
+ layer="templates" />
+
+ <browser:resource name="zopetopbasic.css"
+ file="www/zopetopbasic.css"
+ layer="css" />
+ <browser:resource name="zopetopwidgets.css"
+ file="www/zopetopwidgets.css"
+ layer="css" />
+ <browser:resource name="zopetopstructure.css"
+ file="www/zopetopstructure.css"
+ layer="css" />
+ <browser:resource name="service_manager.gif"
+ file="www/service_manager.gif"
+ layer="images" />
+ <browser:resource name="arrowup.gif"
+ file="www/arrowup.gif"
+ layer="images" />
+ <browser:resource name="zope3logo.jpg"
+ file="www/zope3logo.jpg"
+ layer="images" />
+ <browser:resource name="bg_top.jpg"
+ file="www/bg_top.jpg"
+ layer="images" />
+ <browser:resource name="bg_bar.jpg"
+ file="www/bg_bar.jpg"
+ layer="images" />
+ <browser:resource name="closed_folder.gif"
+ file="www/closed_folder.gif"
+ layer="images" />
+ <browser:resource name="spacer1.gif"
+ file="www/spacer1.gif"
+ layer="images" />
+ <browser:resource name="spacer2.gif"
+ file="www/spacer2.gif"
+ layer="images" />
+ <browser:resource name="spacer3.gif"
+ file="www/spacer3.gif"
+ layer="images" />
+ <browser:resource name="x.gif"
+ file="www/x.gif"
+ layer="images" />
+ <browser:resource name="new_file.gif"
+ file="www/new_file.gif"
+ layer="images" />
+ <browser:resource name="new_folder.gif"
+ file="www/new_folder.gif"
+ layer="images" />
+ <browser:resource name="new_template.gif"
+ file="www/new_template.gif"
+ layer="images" />
+ <browser:resource name="control_panels.gif"
+ file="www/control_panels.gif"
+ layer="images" />
+ <browser:resource name="system_security.gif"
+ file="www/system_security.gif"
+ layer="images" />
+ <browser:resource name="user_accounts.gif"
+ file="www/user_accounts.gif"
+ layer="images" />
+ <browser:resource name="control_panels_folder.gif"
+ file="www/control_panels_folder.gif"
+ layer="images" />
+ <browser:resource name="add_more.gif"
+ file="www/add_more.gif"
+ layer="images" />
+ <browser:resource name="bg_root_folder.jpg"
+ file="www/bg_root_folder.jpg"
+ layer="images" />
+ <browser:resource name="plus.gif"
+ file="www/plus.gif"
+ layer="images" />
+ <browser:resource name="minus.gif"
+ file="www/minus.gif"
+ layer="images" />
+ <browser:resource name="users_folder.gif"
+ file="www/users_folder.gif"
+ layer="images" />
+ <browser:resource name="website_settings.gif"
+ file="www/website_settings.gif"
+ layer="images" />
+ <browser:resource name="bg_content.jpg"
+ file="www/bg_content.jpg"
+ layer="images" />
+ <browser:resource name="help.gif"
+ file="www/help.gif"
+ layer="images" />
+
+</zopeConfigure>
=== Zope3/src/zope/app/browser/skins/zopetop/standardmacros.py 1.1 => 1.2 ===
--- /dev/null Wed Dec 25 09:13:43 2002
+++ Zope3/src/zope/app/browser/skins/zopetop/standardmacros.py Wed Dec 25 09:12:42 2002
@@ -0,0 +1,26 @@
+##############################################################################
+#
+# 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.
+#
+##############################################################################
+"""Standard macros for page templates in the ZMI
+
+The macros are drawn from various different page templates.
+
+$Id$
+"""
+from zope.app.browser.skins.basic.standardmacros import StandardMacros as ZMIMacros
+
+class StandardMacros(ZMIMacros):
+
+ __implements__ = ZMIMacros.__implements__
+
+ macro_pages = ('view_macros', 'widget_macros', 'dialog_macros')