--- a/docs/HISTORY.txt Sun Mar 11 10:56:47 2018 +0100
+++ b/docs/HISTORY.txt Sun Mar 11 11:23:22 2018 +0100
@@ -1,6 +1,10 @@
History
=======
+0.1.3
+-----
+ - updated default theme layout
+
0.1.2
-----
- moved javascript extensions to page head
--- a/src/pyams_default_theme.egg-info/PKG-INFO Sun Mar 11 10:56:47 2018 +0100
+++ b/src/pyams_default_theme.egg-info/PKG-INFO Sun Mar 11 11:23:22 2018 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pyams-default-theme
-Version: 0.1.2
+Version: 0.1.3
Summary: PyAMS default theme
Home-page: http://hg.ztfy.org/pyams/pyams_default_theme
Author: Thierry Florac
--- a/src/pyams_default_theme.egg-info/SOURCES.txt Sun Mar 11 10:56:47 2018 +0100
+++ b/src/pyams_default_theme.egg-info/SOURCES.txt Sun Mar 11 11:23:22 2018 +0100
@@ -16,8 +16,38 @@
src/pyams_default_theme.egg-info/not-zip-safe
src/pyams_default_theme.egg-info/requires.txt
src/pyams_default_theme.egg-info/top_level.txt
+src/pyams_default_theme/component/__init__.py
+src/pyams_default_theme/component/association/__init__.py
+src/pyams_default_theme/component/association/templates/association-default.pt
+src/pyams_default_theme/component/gallery/__init__.py
+src/pyams_default_theme/component/gallery/templates/renderer-default.pt
+src/pyams_default_theme/component/illustration/__init__.py
+src/pyams_default_theme/component/illustration/interfaces/__init__.py
+src/pyams_default_theme/component/illustration/templates/illustration-default.pt
+src/pyams_default_theme/component/illustration/templates/illustration-left.pt
+src/pyams_default_theme/component/illustration/templates/illustration-right.pt
+src/pyams_default_theme/component/paragraph/__init__.py
+src/pyams_default_theme/component/paragraph/contact.py
+src/pyams_default_theme/component/paragraph/frame.py
+src/pyams_default_theme/component/paragraph/header.py
+src/pyams_default_theme/component/paragraph/keypoint.py
+src/pyams_default_theme/component/paragraph/verbatim.py
+src/pyams_default_theme/component/paragraph/video.py
+src/pyams_default_theme/component/paragraph/interfaces/__init__.py
+src/pyams_default_theme/component/paragraph/interfaces/contact.py
+src/pyams_default_theme/component/paragraph/interfaces/frame.py
+src/pyams_default_theme/component/paragraph/interfaces/verbatim.py
+src/pyams_default_theme/component/paragraph/templates/contact-default.pt
+src/pyams_default_theme/component/paragraph/templates/frame-default.pt
+src/pyams_default_theme/component/paragraph/templates/frame-left.pt
+src/pyams_default_theme/component/paragraph/templates/frame-right.pt
+src/pyams_default_theme/component/paragraph/templates/header-default.pt
+src/pyams_default_theme/component/paragraph/templates/keypoints-default.pt
+src/pyams_default_theme/component/paragraph/templates/verbatim-default.pt
+src/pyams_default_theme/component/paragraph/templates/verbatim-left.pt
+src/pyams_default_theme/component/paragraph/templates/verbatim-right.pt
+src/pyams_default_theme/component/paragraph/templates/video-default.pt
src/pyams_default_theme/doctests/README.txt
-src/pyams_default_theme/interfaces/__init__.py
src/pyams_default_theme/locales/pyams_default_theme.pot
src/pyams_default_theme/locales/fr/LC_MESSAGES/pyams_default_theme.mo
src/pyams_default_theme/locales/fr/LC_MESSAGES/pyams_default_theme.po
@@ -27,6 +57,9 @@
src/pyams_default_theme/resources/js/pyams-default.js
src/pyams_default_theme/resources/js/pyams-default.min.js
src/pyams_default_theme/resources/less/pyams-default.less
+src/pyams_default_theme/shared/__init__.py
+src/pyams_default_theme/shared/logo/__init__.py
+src/pyams_default_theme/shared/logo/templates/logos-default.pt
src/pyams_default_theme/templates/index.pt
src/pyams_default_theme/templates/layout.pt
src/pyams_default_theme/tests/__init__.py
--- a/src/pyams_default_theme/configuration.py Sun Mar 11 10:56:47 2018 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-#
-# Copyright (c) 2008-2015 Thierry Florac <tflorac AT ulthar.net>
-# 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.
-#
-
-__docformat__ = 'restructuredtext'
-
-
-# import standard library
-import pkg_resources
-
-# import interfaces
-from pyams_default_theme.layer import IPyAMSDefaultLayer
-from pyams_skin.interfaces.configuration import IStaticConfiguration
-from pyams_utils.interfaces.site import IStaticConfigurationManager
-
-# import packages
-from pyams_content.root import SiteRootStaticConfiguration as SiteRootStaticConfigurationBase
-from pyams_utils.adapter import adapter_config
-from zope.interface import Interface
-
-from pyams_default_theme import _
-
-
-@adapter_config(context=(IStaticConfigurationManager, IPyAMSDefaultLayer, Interface), provides=IStaticConfiguration)
-class StaticConfiguration(SiteRootStaticConfigurationBase):
- """PyAMS default skin static configuration"""
-
- application_package = 'pyams_default_theme'
- application_name = 'PyAMS'
-
- version_location = 'menus'
-
- include_header = False
- include_top_links = False
- include_site_search = True
- site_search_placeholder = _("Search...")
- site_search_handler = '#search.html'
- include_mobile_search = True
- mobile_search_placeholder = _("Search...")
- mobile_search_handler = '#search.html'
- include_user_activity = True
- include_user_shortcuts = True
- include_logout_button = True
- include_minify_button = True
- include_flags = False
- include_menus = False
- include_ribbon = False
- include_reload_button = False
- body_css_class = 'minified hidden-menu'
-
- @property
- def version(self):
- return pkg_resources.get_distribution(self.application_package).version
Binary file src/pyams_default_theme/locales/fr/LC_MESSAGES/pyams_default_theme.mo has changed
--- a/src/pyams_default_theme/locales/fr/LC_MESSAGES/pyams_default_theme.po Sun Mar 11 10:56:47 2018 +0100
+++ b/src/pyams_default_theme/locales/fr/LC_MESSAGES/pyams_default_theme.po Sun Mar 11 11:23:22 2018 +0100
@@ -133,16 +133,18 @@
"Relative width used by this frame, relative to it's parent, given as columns "
"count; full width counts for 12 columns"
msgstr ""
-"Largeur relative de ce paragraphe par rapport à son parent. Cette largeur est indiquée "
-"en nombre de colonnes, la largeur totale correspondant à 12 colonnes."
+"Largeur relative de ce paragraphe par rapport à son parent. Cette largeur "
+"est indiquée en nombre de colonnes, la largeur totale correspondant à 12 "
+"colonnes."
#: src/pyams_default_theme/component/paragraph/interfaces/verbatim.py:58
msgid ""
"Relative width used by this paragraph, relative to it's parent, given as "
"columns count; full width counts for 12 columns"
msgstr ""
-"Largeur relative de ce paragraphe par rapport à son parent. Cette largeur est indiquée "
-"en nombre de colonnes, la largeur totale correspondant à 12 colonnes."
+"Largeur relative de ce paragraphe par rapport à son parent. Cette largeur "
+"est indiquée en nombre de colonnes, la largeur totale correspondant à 12 "
+"colonnes."
#: src/pyams_default_theme/component/paragraph/interfaces/contact.py:40
msgid "Show photo?"