[Checkins] SVN: z3ext.preferences/tags/1.4.0/ release tag
Nikolay Kim
fafhrd at datacom.kz
Wed Oct 15 07:00:42 EDT 2008
Log message for revision 92211:
release tag
Changed:
A z3ext.preferences/tags/1.4.0/
D z3ext.preferences/tags/1.4.0/CHANGES.txt
A z3ext.preferences/tags/1.4.0/CHANGES.txt
D z3ext.preferences/tags/1.4.0/setup.py
A z3ext.preferences/tags/1.4.0/setup.py
D z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/configure.zcml
A z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/configure.zcml
D z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/group.py
A z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/group.py
D z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/index.pt
A z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/index.pt
D z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/layout.pt
A z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/layout.pt
D z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/layoutcontent.pt
A z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/layoutcontent.pt
D z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/navigation.pt
A z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/navigation.pt
A z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/styles.css
-=-
Copied: z3ext.preferences/tags/1.4.0 (from rev 92201, z3ext.preferences/trunk)
Deleted: z3ext.preferences/tags/1.4.0/CHANGES.txt
===================================================================
--- z3ext.preferences/trunk/CHANGES.txt 2008-10-15 05:24:48 UTC (rev 92201)
+++ z3ext.preferences/tags/1.4.0/CHANGES.txt 2008-10-15 11:00:41 UTC (rev 92211)
@@ -1,94 +0,0 @@
-=======
-CHANGES
-=======
-
-1.4.0 (2008-10-14)
-------------------
-
-- UI api refactored
-
-
-1.3.2 (2008-05-16)
-------------------
-
-- Replace 'autoinclude' with 'includeDependendcies'
-
-
-1.3.1 (2008-05-07)
-------------------
-
-- Fix category rendering
-
-
-1.3.0 (2008-05-06)
-------------------
-
-- UI refactoring
-
-- Do not include permission checker for zope.Public permission
-
-
-1.2.1 (2008-04-22)
-------------------
-
-- Added permission checker to directive
-
-
-1.2.0 (2008-04-18)
-------------------
-
-- 'schema' field for z3ext:preferenceGroup is required now
-
-- Added adapter for IPrincipal to 'schema' with automatic binding
-
-
-1.1.1 (2008-04-15)
-------------------
-
-- Use 'z3ext.ManagePreference' as default preference permission
-
-
-1.1.0 (2008-04-11)
-------------------
-
-- Added 'for' field to z3ext:preferenceGroup directive
-
-
-1.0.2 (2008-04-07)
-------------------
-
-- Fix UI in navigation
-
-
-1.0.1 (2008-04-04)
-------------------
-
-- Fixed group category layout
-
-
-1.0.0 (2008-03-25)
-------------------
-
-- Tests added
-
-- Code moved to svn.zope.org
-
-
-0.9.2 (2008-02-29)
-------------------
-
-- Use z3c.autoinclude
-
-- Added z3c.baseregistry support
-
-
-0.9.1 (2008-02-20)
-------------------
-
-- Use z3ext.layoutform
-
-
-0.9.0 (2008-02-01)
-------------------
-
-- Initial release
Copied: z3ext.preferences/tags/1.4.0/CHANGES.txt (from rev 92210, z3ext.preferences/trunk/CHANGES.txt)
===================================================================
--- z3ext.preferences/tags/1.4.0/CHANGES.txt (rev 0)
+++ z3ext.preferences/tags/1.4.0/CHANGES.txt 2008-10-15 11:00:41 UTC (rev 92211)
@@ -0,0 +1,96 @@
+=======
+CHANGES
+=======
+
+1.4.0 (2008-10-15)
+------------------
+
+- UI api refactored
+
+- Added default css styles
+
+
+1.3.2 (2008-05-16)
+------------------
+
+- Replace 'autoinclude' with 'includeDependendcies'
+
+
+1.3.1 (2008-05-07)
+------------------
+
+- Fix category rendering
+
+
+1.3.0 (2008-05-06)
+------------------
+
+- UI refactoring
+
+- Do not include permission checker for zope.Public permission
+
+
+1.2.1 (2008-04-22)
+------------------
+
+- Added permission checker to directive
+
+
+1.2.0 (2008-04-18)
+------------------
+
+- 'schema' field for z3ext:preferenceGroup is required now
+
+- Added adapter for IPrincipal to 'schema' with automatic binding
+
+
+1.1.1 (2008-04-15)
+------------------
+
+- Use 'z3ext.ManagePreference' as default preference permission
+
+
+1.1.0 (2008-04-11)
+------------------
+
+- Added 'for' field to z3ext:preferenceGroup directive
+
+
+1.0.2 (2008-04-07)
+------------------
+
+- Fix UI in navigation
+
+
+1.0.1 (2008-04-04)
+------------------
+
+- Fixed group category layout
+
+
+1.0.0 (2008-03-25)
+------------------
+
+- Tests added
+
+- Code moved to svn.zope.org
+
+
+0.9.2 (2008-02-29)
+------------------
+
+- Use z3c.autoinclude
+
+- Added z3c.baseregistry support
+
+
+0.9.1 (2008-02-20)
+------------------
+
+- Use z3ext.layoutform
+
+
+0.9.0 (2008-02-01)
+------------------
+
+- Initial release
Deleted: z3ext.preferences/tags/1.4.0/setup.py
===================================================================
--- z3ext.preferences/trunk/setup.py 2008-10-15 05:24:48 UTC (rev 92201)
+++ z3ext.preferences/tags/1.4.0/setup.py 2008-10-15 11:00:41 UTC (rev 92211)
@@ -1,88 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2008 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.
-#
-##############################################################################
-"""Setup for z3ext.preferences package
-
-$Id$
-"""
-import sys, os
-from setuptools import setup, find_packages
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-version='1.4.0dev'
-
-
-setup(name = 'z3ext.preferences',
- version = version,
- author = 'Nikolay Kim',
- author_email = 'fafhrd91 at gmail.com',
- description = "z3ext principal preferences",
- long_description = (
- 'Detailed Documentation\n' +
- '======================\n'
- + '\n\n' +
- read('src', 'z3ext', 'preferences', 'README.txt')
- + '\n\n' +
- read('CHANGES.txt')
- ),
- classifiers=[
- 'Development Status :: 5 - Production/Stable',
- 'Environment :: Web Environment',
- 'Intended Audience :: Developers',
- 'License :: OSI Approved :: Zope Public License',
- 'Programming Language :: Python',
- 'Natural Language :: English',
- 'Operating System :: OS Independent',
- 'Topic :: Internet :: WWW/HTTP',
- 'Framework :: Zope3'],
- url='http://z3ext.net/',
- license='ZPL 2.1',
- packages=find_packages('src'),
- package_dir = {'':'src'},
- namespace_packages=['z3ext'],
- install_requires = ['setuptools',
- 'ZODB3',
- 'zope.component',
- 'zope.interface',
- 'zope.annotation',
- 'zope.publisher',
- 'zope.configuration',
- 'zope.schema',
- 'zope.location',
- 'zope.security',
- 'zope.securitypolicy',
- 'zope.cachedescriptors',
- 'zope.pagetemplate',
- 'zope.i18n',
- 'zope.i18nmessageid',
- 'zope.viewlet',
- 'zope.contentprovider',
- 'zope.app.security',
- 'zope.app.component',
- 'zope.app.publisher',
- 'zope.app.pagetemplate',
- 'zope.app.principalannotation',
- 'z3c.traverser',
- 'z3c.autoinclude',
- 'z3ext.layout',
- 'z3ext.layoutform',
- 'z3ext.statusmessage',
- ],
- extras_require = dict(test=['zope.app.testing',
- 'zope.testing',
- ]),
- include_package_data = True,
- zip_safe = False
- )
Copied: z3ext.preferences/tags/1.4.0/setup.py (from rev 92210, z3ext.preferences/trunk/setup.py)
===================================================================
--- z3ext.preferences/tags/1.4.0/setup.py (rev 0)
+++ z3ext.preferences/tags/1.4.0/setup.py 2008-10-15 11:00:41 UTC (rev 92211)
@@ -0,0 +1,89 @@
+##############################################################################
+#
+# Copyright (c) 2008 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.
+#
+##############################################################################
+"""Setup for z3ext.preferences package
+
+$Id$
+"""
+import sys, os
+from setuptools import setup, find_packages
+
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+version='1.4.0'
+
+
+setup(name = 'z3ext.preferences',
+ version = version,
+ author = 'Nikolay Kim',
+ author_email = 'fafhrd91 at gmail.com',
+ description = "z3ext principal preferences",
+ long_description = (
+ 'Detailed Documentation\n' +
+ '======================\n'
+ + '\n\n' +
+ read('src', 'z3ext', 'preferences', 'README.txt')
+ + '\n\n' +
+ read('CHANGES.txt')
+ ),
+ classifiers=[
+ 'Development Status :: 5 - Production/Stable',
+ 'Environment :: Web Environment',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: Zope Public License',
+ 'Programming Language :: Python',
+ 'Natural Language :: English',
+ 'Operating System :: OS Independent',
+ 'Topic :: Internet :: WWW/HTTP',
+ 'Framework :: Zope3'],
+ url='http://z3ext.net/',
+ license='ZPL 2.1',
+ packages=find_packages('src'),
+ package_dir = {'':'src'},
+ namespace_packages=['z3ext'],
+ install_requires = ['setuptools',
+ 'ZODB3',
+ 'zope.component',
+ 'zope.interface',
+ 'zope.annotation',
+ 'zope.publisher',
+ 'zope.configuration',
+ 'zope.schema',
+ 'zope.location',
+ 'zope.security',
+ 'zope.securitypolicy',
+ 'zope.cachedescriptors',
+ 'zope.pagetemplate',
+ 'zope.i18n',
+ 'zope.i18nmessageid',
+ 'zope.viewlet',
+ 'zope.contentprovider',
+ 'zope.app.security',
+ 'zope.app.component',
+ 'zope.app.publisher',
+ 'zope.app.pagetemplate',
+ 'zope.app.principalannotation',
+ 'z3c.traverser',
+ 'z3c.autoinclude',
+ 'z3ext.layout >= 1.5.1',
+ 'z3ext.layoutform >= 1.2.3',
+ 'z3ext.statusmessage',
+ 'z3ext.resourcepackage',
+ ],
+ extras_require = dict(test=['zope.app.testing',
+ 'zope.testing',
+ ]),
+ include_package_data = True,
+ zip_safe = False
+ )
Deleted: z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/configure.zcml
===================================================================
--- z3ext.preferences/trunk/src/z3ext/preferences/browser/configure.zcml 2008-10-15 05:24:48 UTC (rev 92201)
+++ z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/configure.zcml 2008-10-15 11:00:41 UTC (rev 92211)
@@ -1,99 +0,0 @@
-<configure
- xmlns="http://namespaces.zope.org/zope"
- xmlns:zcml="http://namespaces.zope.org/zcml"
- xmlns:z3ext="http://namespaces.zope.org/z3ext"
- xmlns:browser="http://namespaces.zope.org/browser"
- i18n_domain="z3ext">
-
- <!-- layouts -->
- <z3ext:layout
- layout="portal"
- name="workspace"
- for="..interfaces.IRootPreferences"
- template="layout.pt"
- hidden="yes" />
-
- <z3ext:layout
- layout="workspace"
- for="..interfaces.IPreferenceCategory"
- template="layoutcontent.pt"
- hidden="yes" />
-
- <!-- pagelet types -->
- <interface
- name="preference.editGroup"
- type="z3ext.layout.interfaces.IPageletType"
- interface=".interfaces.IEdit" />
-
- <interface
- name="preference.previewGroup"
- type="z3ext.layout.interfaces.IPageletType"
- interface=".interfaces.IPreview" />
-
- <!-- browser view -->
- <adapter
- name="preferences"
- provides="zope.publisher.interfaces.browser.IBrowserView"
- factory=".preferences.getPreferences" />
-
- <browser:defaultView
- name="index.html"
- for="..interfaces.IPreferenceGroup" />
-
- <browser:menuItem
- action="index.html"
- for="..interfaces.IPreferenceGroup"
- menu="zmi_views"
- title="View"
- permission="zope.Public" />
-
- <!-- root preferences view -->
- <z3ext:pagelet
- for="..interfaces.IRootPreferences"
- name="index.html"
- template="index.pt"
- class=".index.PreferencesView"
- permission="zope.View" />
-
- <!-- preference group view -->
- <z3ext:pagelet
- name="index.html"
- for="..interfaces.IPreferenceGroup"
- template="group.pt"
- class=".group.PreferenceGroup"
- permission="zope.Public" />
-
- <z3ext:pagelet
- name="index.html"
- for="..interfaces.IPreferenceCategory"
- template="groupcategory.pt"
- class=".group.PreferenceGroup"
- permission="zope.Public" />
-
- <z3ext:pagelet
- for="..interfaces.IPreferenceGroup"
- provides=".interfaces.IEdit"
- class=".group.PreferenceGroupView"
- permission="zope.Public" />
-
- <z3ext:pagelet
- for="..interfaces.IPreferenceGroup"
- template="grouppreview.pt"
- provides=".interfaces.IPreview"
- permission="zope.Public" />
-
- <!-- navigation -->
- <browser:viewletManager
- name="z3ext.preferences-navigation"
- provides=".interfaces.IPreferencesNavigation"
- for="..interfaces.IPreferenceGroup"
- template="navigation.pt"
- class=".navigation.Navigation"
- permission="zope.Public" />
-
- <!-- breadcrumb -->
- <adapter
- zcml:condition="installed z3c.breadcrumb"
- factory=".breadcrumb.PreferenceGroupBreadcrumb" />
-
-</configure>
Copied: z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/configure.zcml (from rev 92210, z3ext.preferences/trunk/src/z3ext/preferences/browser/configure.zcml)
===================================================================
--- z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/configure.zcml (rev 0)
+++ z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/configure.zcml 2008-10-15 11:00:41 UTC (rev 92211)
@@ -0,0 +1,106 @@
+<configure
+ xmlns="http://namespaces.zope.org/zope"
+ xmlns:zcml="http://namespaces.zope.org/zcml"
+ xmlns:z3ext="http://namespaces.zope.org/z3ext"
+ xmlns:browser="http://namespaces.zope.org/browser"
+ i18n_domain="z3ext">
+
+ <!-- layouts -->
+ <z3ext:layout
+ layout="portal"
+ name="workspace"
+ for="..interfaces.IRootPreferences"
+ template="layout.pt"
+ hidden="yes" />
+
+ <z3ext:layout
+ layout="workspace"
+ for="..interfaces.IPreferenceCategory"
+ template="layoutcontent.pt"
+ hidden="yes" />
+
+ <!-- pagelet types -->
+ <interface
+ name="preference.editGroup"
+ type="z3ext.layout.interfaces.IPageletType"
+ interface=".interfaces.IEdit" />
+
+ <interface
+ name="preference.previewGroup"
+ type="z3ext.layout.interfaces.IPageletType"
+ interface=".interfaces.IPreview" />
+
+ <!-- browser view -->
+ <adapter
+ name="preferences"
+ provides="zope.publisher.interfaces.browser.IBrowserView"
+ factory=".preferences.getPreferences" />
+
+ <browser:defaultView
+ name="index.html"
+ for="..interfaces.IPreferenceGroup" />
+
+ <browser:menuItem
+ action="index.html"
+ for="..interfaces.IPreferenceGroup"
+ menu="zmi_views"
+ title="View"
+ permission="zope.Public" />
+
+ <!-- root preferences view -->
+ <z3ext:pagelet
+ for="..interfaces.IRootPreferences"
+ name="index.html"
+ template="index.pt"
+ class=".index.PreferencesView"
+ permission="zope.View" />
+
+ <!-- preference group view -->
+ <z3ext:pagelet
+ name="index.html"
+ for="..interfaces.IPreferenceGroup"
+ template="group.pt"
+ class=".group.PreferenceGroup"
+ permission="zope.Public" />
+
+ <z3ext:pagelet
+ name="index.html"
+ for="..interfaces.IPreferenceCategory"
+ template="groupcategory.pt"
+ class=".group.PreferenceGroup"
+ permission="zope.Public" />
+
+ <z3ext:pagelet
+ for="..interfaces.IPreferenceGroup"
+ provides=".interfaces.IEdit"
+ class=".group.PreferenceGroupView"
+ permission="zope.Public" />
+
+ <z3ext:pagelet
+ for="..interfaces.IPreferenceGroup"
+ template="grouppreview.pt"
+ provides=".interfaces.IPreview"
+ permission="zope.Public" />
+
+ <!-- navigation -->
+ <browser:viewletManager
+ name="z3ext.preferences-navigation"
+ provides=".interfaces.IPreferencesNavigation"
+ for="..interfaces.IPreferenceGroup"
+ template="navigation.pt"
+ class=".navigation.Navigation"
+ permission="zope.Public" />
+
+ <!-- breadcrumb -->
+ <adapter
+ zcml:condition="installed z3c.breadcrumb"
+ factory=".breadcrumb.PreferenceGroupBreadcrumb" />
+
+ <!-- styles -->
+ <z3ext:resourceinclude
+ name="z3ext-preferences.css"
+ library="z3ext"
+ type="stylesheet"
+ file="styles.css" filetype="zrt" />
+
+</configure>
Deleted: z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/group.py
===================================================================
--- z3ext.preferences/trunk/src/z3ext/preferences/browser/group.py 2008-10-15 05:24:48 UTC (rev 92201)
+++ z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/group.py 2008-10-15 11:00:41 UTC (rev 92211)
@@ -1,56 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2007 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.
-#
-##############################################################################
-""" IPreferenceGroup view
-
-$Id$
-"""
-from zope import schema
-from zope.cachedescriptors.property import Lazy
-from z3ext.layoutform import Fields, PageletEditForm
-
-
-class PreferenceGroup(object):
-
- def update(self):
- context = self.context
- request = self.request
-
- subgroups = []
-
- for name, group in context.items():
- if not group.isAvailable():
- continue
- subgroups.append(group)
-
- self.subgroups = subgroups
- self.hasFields = bool(schema.getFields(self.context.__schema__))
-
-
-class PreferenceGroupView(PageletEditForm):
-
- @property
- def prefix(self):
- return str(self.context.__id__)
-
- @property
- def label(self):
- return self.context.__title__
-
- @property
- def description(self):
- return self.context.__description__
-
- @Lazy
- def fields(self):
- return Fields(self.context.__schema__, omitReadOnly=True)
Copied: z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/group.py (from rev 92210, z3ext.preferences/trunk/src/z3ext/preferences/browser/group.py)
===================================================================
--- z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/group.py (rev 0)
+++ z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/group.py 2008-10-15 11:00:41 UTC (rev 92211)
@@ -0,0 +1,57 @@
+##############################################################################
+#
+# Copyright (c) 2007 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.
+#
+##############################################################################
+""" IPreferenceGroup view
+
+$Id$
+"""
+from zope import schema
+from zope.cachedescriptors.property import Lazy
+from z3ext.layoutform import Fields, PageletEditForm
+
+
+class PreferenceGroup(object):
+
+ def update(self):
+ context = self.context
+ request = self.request
+
+ subgroups = []
+
+ for name, group in context.items():
+ if not group.isAvailable():
+ continue
+ subgroups.append(group)
+
+ self.subgroups = subgroups
+ self.hasFields = bool(schema.getFields(self.context.__schema__))
+ self.render = self.render()
+
+
+class PreferenceGroupView(PageletEditForm):
+
+ @property
+ def prefix(self):
+ return str(self.context.__id__)
+
+ @property
+ def label(self):
+ return self.context.__title__
+
+ @property
+ def description(self):
+ return self.context.__description__
+
+ @Lazy
+ def fields(self):
+ return Fields(self.context.__schema__, omitReadOnly=True)
Deleted: z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/index.pt
===================================================================
--- z3ext.preferences/trunk/src/z3ext/preferences/browser/index.pt 2008-10-15 05:24:48 UTC (rev 92201)
+++ z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/index.pt 2008-10-15 11:00:41 UTC (rev 92211)
@@ -1,32 +0,0 @@
-<div class="z-frame">
- <ul class="listing">
- <li tal:repeat="item view/groups">
- <tal:block tal:define="group item/group">
- <div class="icon" tal:define="icon group/@@zmi_icon|nothing"
- tal:condition="icon">
- <tal:block tal:condition="icon" tal:content="structure icon"/>
- </div>
- <div class="details">
- <a tal:attributes="href string:${group/__id__}/">
- <tal:block tal:content="group/__title__"/></a>
- <div><tal:block tal:content="group/__description__"/> </div>
-
- <ul class="listing" tal:condition="item/subgroups">
- <li tal:repeat="sgroup item/subgroups">
- <div class="icon" tal:define="icon sgroup/group/@@zmi_icon|nothing"
- tal:condition="icon">
- <tal:block tal:condition="icon" tal:content="structure icon" />
- </div>
- <div class="details">
- <a tal:attributes="href string:${group/__id__}/${sgroup/id}/">
- <tal:block tal:content="sgroup/group/__title__"/></a>
- <div><tal:block tal:content="sgroup/group/__description__"/>
- </div>
- </div>
- </li>
- </ul>
- </div>
- </tal:block>
- </li>
- </ul>
-</div>
Copied: z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/index.pt (from rev 92210, z3ext.preferences/trunk/src/z3ext/preferences/browser/index.pt)
===================================================================
--- z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/index.pt (rev 0)
+++ z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/index.pt 2008-10-15 11:00:41 UTC (rev 92211)
@@ -0,0 +1,32 @@
+<div class="z-frame">
+ <ul class="z-prefs-listing">
+ <li tal:repeat="item view/groups">
+ <tal:block tal:define="group item/group">
+ <div class="z-prefs-icon" tal:define="icon group/@@zmi_icon|nothing"
+ tal:condition="icon">
+ <tal:block tal:condition="icon" tal:content="structure icon"/>
+ </div>
+ <div class="z-prefs-details">
+ <a tal:attributes="href string:${group/__id__}/">
+ <tal:block tal:content="group/__title__"/></a>
+ <div><tal:block tal:content="group/__description__"/> </div>
+
+ <ul class="z-prefs-listing" tal:condition="item/subgroups">
+ <li tal:repeat="sgroup item/subgroups">
+ <div class="z-prefs-icon" tal:define="icon sgroup/group/@@zmi_icon|nothing"
+ tal:condition="icon">
+ <tal:block tal:condition="icon" tal:content="structure icon" />
+ </div>
+ <div class="z-prefs-details">
+ <a tal:attributes="href string:${group/__id__}/${sgroup/id}/">
+ <tal:block tal:content="sgroup/group/__title__"/></a>
+ <div><tal:block tal:content="sgroup/group/__description__"/>
+ </div>
+ </div>
+ </li>
+ </ul>
+ </div>
+ </tal:block>
+ </li>
+ </ul>
+</div>
Deleted: z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/layout.pt
===================================================================
--- z3ext.preferences/trunk/src/z3ext/preferences/browser/layout.pt 2008-10-15 05:24:48 UTC (rev 92201)
+++ z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/layout.pt 2008-10-15 11:00:41 UTC (rev 92211)
@@ -1,15 +0,0 @@
-<div id="z-portal-workspace"
- tal:define="context nocall:maincontext;
- nav provider:z3ext.preferences-navigation;
- noNav not:nav;
- rendered view/render">
- <div class="z-page">
- <table class="wide" tal:omit-tag="noNav">
- <tr style="vertical-align: top" tal:omit-tag="noNav">
- <td style="padding-right: 1em; width: 200px"
- tal:condition="nav" tal:content="structure nav"></td>
- <td tal:omit-tag="noNav" tal:content="structure rendered"></td>
- </tr>
- </table>
- </div>
-</div>
Copied: z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/layout.pt (from rev 92210, z3ext.preferences/trunk/src/z3ext/preferences/browser/layout.pt)
===================================================================
--- z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/layout.pt (rev 0)
+++ z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/layout.pt 2008-10-15 11:00:41 UTC (rev 92211)
@@ -0,0 +1,13 @@
+<div id="z-preferences"
+ tal:define="context nocall:maincontext;
+ nav provider:z3ext.preferences-navigation;
+ noNav not:nav;
+ rendered view/render">
+ <table class="z-prefs-layout" tal:omit-tag="noNav">
+ <tr tal:omit-tag="noNav">
+ <td class="z-prefs-nav-wrapper"
+ tal:condition="nav" tal:content="structure nav"></td>
+ <td tal:omit-tag="noNav" tal:content="structure rendered"></td>
+ </tr>
+ </table>
+</div>
Deleted: z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/layoutcontent.pt
===================================================================
--- z3ext.preferences/trunk/src/z3ext/preferences/browser/layoutcontent.pt 2008-10-15 05:24:48 UTC (rev 92201)
+++ z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/layoutcontent.pt 2008-10-15 11:00:41 UTC (rev 92211)
@@ -1,6 +0,0 @@
-<h1 tal:content="layoutcontext/__title__"></h1>
-<div class="z-page-description" tal:content="layoutcontext/__description__"></div>
-
-<div id="z-viewspace" tal:content="structure view/render">
- [rendered body]
-</div>
Copied: z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/layoutcontent.pt (from rev 92210, z3ext.preferences/trunk/src/z3ext/preferences/browser/layoutcontent.pt)
===================================================================
--- z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/layoutcontent.pt (rev 0)
+++ z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/layoutcontent.pt 2008-10-15 11:00:41 UTC (rev 92211)
@@ -0,0 +1,6 @@
+<h1 tal:content="layoutcontext/__title__"></h1>
+<div class="z-page-description" tal:content="layoutcontext/__description__"></div>
+
+<div tal:content="structure view/render">
+ [rendered body]
+</div>
Deleted: z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/navigation.pt
===================================================================
--- z3ext.preferences/trunk/src/z3ext/preferences/browser/navigation.pt 2008-10-15 05:24:48 UTC (rev 92201)
+++ z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/navigation.pt 2008-10-15 11:00:41 UTC (rev 92211)
@@ -1,23 +0,0 @@
-<tal:block tal:repeat="viewlet view/viewlets"
- tal:content="structure viewlet/render" />
-
-<div class="x-listing box small">
- <tal:block tal:repeat="item view/data">
- <metal:block metal:define-macro="level">
- <div class="x-listing-item"
- tal:attributes="class python:item['selected'] and 'x-listing-item-selected'
- or 'x-listing-item'">
- <div tal:omit-tag="not:item/level|nothing"
- tal:attributes="class string:level${item/level|nothing}">
- <a tal:attributes="href string:${item/prefs/@@absolute_url}/">
- <al:block tal:content="structure item/icon" />
- <tal:block tal:content="item/title" />
- </a>
- </div>
- </div>
- <tal:block tal:repeat="item item/items">
- <metal:block use-macro="view/template/macros/level"/>
- </tal:block>
- </metal:block>
- </tal:block>
-</div>
Copied: z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/navigation.pt (from rev 92210, z3ext.preferences/trunk/src/z3ext/preferences/browser/navigation.pt)
===================================================================
--- z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/navigation.pt (rev 0)
+++ z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/navigation.pt 2008-10-15 11:00:41 UTC (rev 92211)
@@ -0,0 +1,23 @@
+<tal:block tal:repeat="viewlet view/viewlets"
+ tal:content="structure viewlet/render" />
+
+<div class="z-prefs-nav">
+ <tal:block tal:repeat="item view/data">
+ <metal:block metal:define-macro="level">
+ <div class="z-prefs-nav-item"
+ tal:attributes="class python:item['selected'] and 'z-prefs-nav-item-selected'
+ or 'z-prefs-nav-item'">
+ <div tal:omit-tag="not:item/level|nothing"
+ tal:attributes="class string:z-prefs-level${item/level|nothing}">
+ <a tal:attributes="href string:${item/prefs/@@absolute_url}/">
+ <al:block tal:content="structure item/icon" />
+ <tal:block tal:content="item/title" />
+ </a>
+ </div>
+ </div>
+ <tal:block tal:repeat="item item/items">
+ <metal:block use-macro="view/template/macros/level"/>
+ </tal:block>
+ </metal:block>
+ </tal:block>
+</div>
Copied: z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/styles.css (from rev 92210, z3ext.preferences/trunk/src/z3ext/preferences/browser/styles.css)
===================================================================
--- z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/styles.css (rev 0)
+++ z3ext.preferences/tags/1.4.0/src/z3ext/preferences/browser/styles.css 2008-10-15 11:00:41 UTC (rev 92211)
@@ -0,0 +1,152 @@
+/* zrt-cssregistry: */
+
+ at media all {
+
+ #z-preferences {
+ padding: 1.5em;
+ border: borderWidth borderStyle globalBorderColor;
+ background-color: globalBackgroundColor;
+ margin: 2em 1.5em 1.5em 1.5em;
+ font-size: 110%;
+ }
+
+ #z-preferences h1 {
+ font-weight: bold;
+ }
+
+ #z-preferences table.z-prefs-layout {
+ width: 100%;
+ }
+
+ #z-preferences table.z-prefs-layout tr {
+ vertical-align: top;
+ }
+
+ #z-preferences .z-prefs-nav-wrapper {
+ padding-right: 1em;
+ width: 200px;
+ }
+
+ #z-preferences .z-prefs-nav {
+ border: borderWidth borderStyle globalBorderColor;
+ border-bottom: none;
+ background: contentBackgroundColor;
+ font-size: fontSmallSize;
+ }
+
+ #z-preferences .z-prefs-nav a {
+ text-decoration: none;
+ }
+
+ #z-preferences .z-prefs-nav-item {
+ padding: 0.8em 0.4em 0.5em 0.4em;
+ border-bottom: borderWidth borderStyle globalBorderColor;
+ }
+
+ #z-preferences .z-prefs-nav-item-selected {
+ padding: 0.8em 0.4em 0.5em 0.4em;
+ background-color: globalBackgroundColor;
+ border-bottom: borderWidth borderStyle globalBorderColor;
+ }
+
+ #z-preferences .z-prefs-nav-item:hover {
+ background-color: globalBackgroundColor;
+ }
+
+ #z-preferences .z-prefs-nav-item li span {
+ border: 0;
+ border-bottom: 1px dotted discreetColor;
+ }
+
+ ul.z-prefs-listing {
+ margin: 0.5em 0;
+ list-style: none;
+ list-style-image: none;
+ list-style-type: none;
+ }
+
+ ul.z-prefs-listing li {
+ clear: both;
+ margin-bottom: 0.5em;
+ list-style: none;
+ list-style-image: none;
+ }
+
+ ul.z-prefs-listing li .z-prefs-icon {
+ float: left;
+ padding-top: 8px;
+ padding-right: 0.5em;
+ height: 32px;
+ }
+
+ ul.z-prefs-listing li a,
+ ul.z-prefs-listing li .z-cp-details a {
+ color: linkColor;
+ border: 0;
+ border-bottom: 1px dotted discreetColor;
+ text-decoration: none;
+ }
+
+ ul.z-prefs-listing li a:visited,
+ ul.z-prefs-listing li .z-prefs-details a:visited {
+ color: linkColor;
+ background-color: transparent;
+ }
+
+ ul.z-prefs-listing li a:active,
+ ul.z-prefs-listing li .z-prefs-details a:active {
+ color: linkColor;
+ background-color: transparent;
+ }
+
+ ul.z-prefs-listing li span {
+ border: 0;
+ border-bottom: 1px dotted discreetColor;
+ }
+
+ ul.z-prefs-listing li .z-prefs-details span a {
+ border-bottom: 0px;
+ }
+
+ ul.z-prefs-listing li label {
+ font-weight: bold;
+ border-bottom: borderWidth dotted discreetColor;
+ }
+
+ ul.z-prefs-listing li {
+ border: 1px solid contentBackgroundColor;
+ }
+
+ ul.z-prefs-listing li .z-prefs-details div {
+ color: discreetColor;
+ font-size: fontSmallSize;
+ }
+
+ ul.z-prefs-listing li ul.z-prefs-listing {
+ margin-left: 1.5em;
+ font-size: 110%;
+ }
+
+ ul.z-prefs-listing li .z-prefs-details div span {
+ color: discreetColor;
+ font-size: fontSmallSize;
+ border: 0;
+ }
+
+ .z-prefs-level1 {
+ padding-left: 0.8em;
+ }
+
+ .z-prefs-level2 {
+ padding-left: 1.6em;
+ }
+
+ #z-preferences .z-form,
+ #z-preferences .z-form-add,
+ #z-preferences .z-form-edit {
+ border: borderWidth borderStyle globalExtraBorderColor;
+ margin-top: 0em;
+ padding: 1em;
+ background: contentBackgroundColor;
+ }
+}
More information about the Checkins
mailing list