diff --git a/themis/looks/browser/__init__.py b/themis/looks/browser/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/themis/looks/browser/logo.py b/themis/looks/browser/logo.py new file mode 100644 index 0000000..bbc64a4 --- /dev/null +++ b/themis/looks/browser/logo.py @@ -0,0 +1,5 @@ +from plone.app.layout.viewlets.common import LogoViewlet +from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile + +class ThemisLogoViewlet(LogoViewlet): + render = ViewPageTemplateFile('templates/logo.pt') diff --git a/themis/looks/browser/templates/logo.pt b/themis/looks/browser/templates/logo.pt new file mode 100644 index 0000000..c3c96ee --- /dev/null +++ b/themis/looks/browser/templates/logo.pt @@ -0,0 +1,9 @@ + + diff --git a/themis/looks/configure.zcml b/themis/looks/configure.zcml index 5e1f3c6..71988d2 100644 --- a/themis/looks/configure.zcml +++ b/themis/looks/configure.zcml @@ -3,13 +3,22 @@ xmlns:five="http://namespaces.zope.org/five" xmlns:i18n="http://namespaces.zope.org/i18n" xmlns:browser="http://namespaces.zope.org/browser" + xmlns:genericsetup="http://namespaces.zope.org/genericsetup" i18n_domain="themis.looks"> - + + + + + + diff --git a/themis/looks/profiles/default/metadata.xml b/themis/looks/profiles/default/metadata.xml new file mode 100644 index 0000000..05fa4b8 --- /dev/null +++ b/themis/looks/profiles/default/metadata.xml @@ -0,0 +1,3 @@ + + 1 + diff --git a/themis/looks/profiles/default/viewlets.xml b/themis/looks/profiles/default/viewlets.xml new file mode 100644 index 0000000..4c10b3e --- /dev/null +++ b/themis/looks/profiles/default/viewlets.xml @@ -0,0 +1,10 @@ + + + + + + + +