From: Stefan Bund Date: Fri, 23 Oct 2009 10:07:30 +0000 (+0200) Subject: viewlet customization X-Git-Url: http://g0dil.de/git?p=zope-bootstrap.git;a=commitdiff_plain;h=64a690477fe77fcb43865536976f74f34c7d743e viewlet customization --- diff --git a/src/koehsel.theme/koehsel/theme/configure.zcml b/src/koehsel.theme/koehsel/theme/configure.zcml index 6ce72ed..9b98b1e 100644 --- a/src/koehsel.theme/koehsel/theme/configure.zcml +++ b/src/koehsel.theme/koehsel/theme/configure.zcml @@ -6,6 +6,7 @@ + diff --git a/src/koehsel.theme/koehsel/theme/profiles/default/viewlets.xml b/src/koehsel.theme/koehsel/theme/profiles/default/viewlets.xml index 96bc25d..6fe1f96 100644 --- a/src/koehsel.theme/koehsel/theme/profiles/default/viewlets.xml +++ b/src/koehsel.theme/koehsel/theme/profiles/default/viewlets.xml @@ -1,10 +1,13 @@ + + + - + diff --git a/src/koehsel.theme/koehsel/theme/skins/koehsel_theme_custom_images/logo.jpg b/src/koehsel.theme/koehsel/theme/skins/koehsel_theme_custom_images/logo.jpg index 6109f9b..fae12c7 100644 Binary files a/src/koehsel.theme/koehsel/theme/skins/koehsel_theme_custom_images/logo.jpg and b/src/koehsel.theme/koehsel/theme/skins/koehsel_theme_custom_images/logo.jpg differ diff --git a/src/koehsel.theme/koehsel/theme/viewlets/__init__.py b/src/koehsel.theme/koehsel/theme/viewlets/__init__.py new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/koehsel.theme/koehsel/theme/viewlets/__init__.py @@ -0,0 +1 @@ + diff --git a/src/koehsel.theme/koehsel/theme/viewlets/common.py b/src/koehsel.theme/koehsel/theme/viewlets/common.py new file mode 100644 index 0000000..6410eb3 --- /dev/null +++ b/src/koehsel.theme/koehsel/theme/viewlets/common.py @@ -0,0 +1,5 @@ +from plone.app.layout.viewlets import common as base +from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile + +class PersonalBarViewlet(base.PersonalBarViewlet): + index = ViewPageTemplateFile('personal_bar.pt') diff --git a/src/koehsel.theme/koehsel/theme/viewlets/configure.zcml b/src/koehsel.theme/koehsel/theme/viewlets/configure.zcml new file mode 100644 index 0000000..de2c58f --- /dev/null +++ b/src/koehsel.theme/koehsel/theme/viewlets/configure.zcml @@ -0,0 +1,33 @@ + + + + + + + + + + + diff --git a/src/koehsel.theme/koehsel/theme/viewlets/personal_bar.pt b/src/koehsel.theme/koehsel/theme/viewlets/personal_bar.pt new file mode 100644 index 0000000..7858aef --- /dev/null +++ b/src/koehsel.theme/koehsel/theme/viewlets/personal_bar.pt @@ -0,0 +1,37 @@ +
+ +
Personal tools
+ + +