author | Thierry Florac <thierry.florac@onf.fr> |
Fri, 30 Nov 2018 14:47:53 +0100 | |
changeset 270 | 41f43b3456db |
parent 269 | 036ea10813a5 |
child 271 | 06ffd6495af4 |
--- a/buildout.cfg Fri Nov 30 14:37:05 2018 +0100 +++ b/buildout.cfg Fri Nov 30 14:47:53 2018 +0100 @@ -79,4 +79,4 @@ eggs = pyams_default_theme [test] [versions] -pyams_default_theme = 0.1.17 +pyams_default_theme = 0.1.18
--- a/docs/HISTORY.txt Fri Nov 30 14:37:05 2018 +0100 +++ b/docs/HISTORY.txt Fri Nov 30 14:47:53 2018 +0100 @@ -1,6 +1,14 @@ History ======= +0.1.18 +------ + - added renderers to simple navigation and site summary portlets + - added search results portlet + - updated breadcrumbs and tags content providers + - updated renderers templates + - updated CSS + 0.1.17 ------ - added customizable label to contact button
--- a/setup.py Fri Nov 30 14:37:05 2018 +0100 +++ b/setup.py Fri Nov 30 14:47:53 2018 +0100 @@ -22,7 +22,7 @@ README = os.path.join(DOCS, 'README.txt') HISTORY = os.path.join(DOCS, 'HISTORY.txt') -version = '0.1.17' +version = '0.1.18' long_description = open(README).read() + '\n\n' + open(HISTORY).read() tests_require = []
--- a/src/pyams_default_theme.egg-info/PKG-INFO Fri Nov 30 14:37:05 2018 +0100 +++ b/src/pyams_default_theme.egg-info/PKG-INFO Fri Nov 30 14:47:53 2018 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pyams-default-theme -Version: 0.1.17 +Version: 0.1.18 Summary: PyAMS default theme Home-page: http://hg.ztfy.org/pyams/pyams_default_theme Author: Thierry Florac @@ -11,6 +11,14 @@ History ======= + 0.1.18 + ------ + - added renderers to simple navigation and site summary portlets + - added search results portlet + - updated breadcrumbs and tags content providers + - updated renderers templates + - updated CSS + 0.1.17 ------ - added customizable label to contact button
--- a/src/pyams_default_theme.egg-info/SOURCES.txt Fri Nov 30 14:37:05 2018 +0100 +++ b/src/pyams_default_theme.egg-info/SOURCES.txt Fri Nov 30 14:47:53 2018 +0100 @@ -68,6 +68,7 @@ src/pyams_default_theme/component/paragraph/templates/milestone-default.pt src/pyams_default_theme/component/paragraph/templates/pictogram-default.pt src/pyams_default_theme/component/paragraph/templates/raw-default.pt +src/pyams_default_theme/component/paragraph/templates/raw-source-code.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 @@ -99,10 +100,18 @@ src/pyams_default_theme/features/menu/portlet/navigation/interfaces.py src/pyams_default_theme/features/menu/portlet/navigation/templates/double-select.pt src/pyams_default_theme/features/menu/portlet/navigation/templates/double-vertical.pt +src/pyams_default_theme/features/menu/portlet/navigation/templates/simple-carousel.pt src/pyams_default_theme/features/menu/portlet/navigation/templates/simple-horizontal-tabs.pt src/pyams_default_theme/features/menu/portlet/navigation/templates/simple-horizontal.pt +src/pyams_default_theme/features/menu/portlet/navigation/templates/simple-panels.pt src/pyams_default_theme/features/renderer/__init__.py src/pyams_default_theme/features/search/__init__.py +src/pyams_default_theme/features/search/portlet/__init__.py +src/pyams_default_theme/features/search/portlet/interfaces.py +src/pyams_default_theme/features/search/portlet/templates/search-results.pt +src/pyams_default_theme/features/share/__init__.py +src/pyams_default_theme/features/share/portlet/__init__.py +src/pyams_default_theme/features/share/portlet/templates/toolbox.pt src/pyams_default_theme/features/sitemap/__init__.py src/pyams_default_theme/features/sitemap/templates/humans.pt src/pyams_default_theme/features/sitemap/templates/robots.pt @@ -118,6 +127,7 @@ src/pyams_default_theme/resources/css/ext/ekko-lightbox.css src/pyams_default_theme/resources/css/ext/ekko-lightbox.min.css src/pyams_default_theme/resources/img/dot.png +src/pyams_default_theme/resources/img/print-button.svg src/pyams_default_theme/resources/js/pyams-default.js src/pyams_default_theme/resources/js/pyams-default.min.js src/pyams_default_theme/resources/js/ext/ekko-lightbox.js @@ -148,9 +158,11 @@ src/pyams_default_theme/shared/site/folder.py src/pyams_default_theme/shared/site/link.py src/pyams_default_theme/shared/site/portlet/__init__.py +src/pyams_default_theme/shared/site/portlet/templates/site-panels.pt src/pyams_default_theme/shared/site/portlet/templates/site-summary.pt src/pyams_default_theme/shared/view/__init__.py src/pyams_default_theme/shared/view/portlet/__init__.py +src/pyams_default_theme/shared/view/portlet/interfaces.py src/pyams_default_theme/shared/view/portlet/templates/view-items-list.pt src/pyams_default_theme/shared/view/templates/render.pt src/pyams_default_theme/templates/index.pt
--- a/src/pyams_default_theme/locales/fr/LC_MESSAGES/pyams_default_theme.po Fri Nov 30 14:37:05 2018 +0100 +++ b/src/pyams_default_theme/locales/fr/LC_MESSAGES/pyams_default_theme.po Fri Nov 30 14:47:53 2018 +0100 @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE 1.0\n" -"POT-Creation-Date: 2018-11-20 16:05+0100\n" +"POT-Creation-Date: 2018-11-30 11:12+0100\n" "PO-Revision-Date: 2017-06-07 12:41+0200\n" "Last-Translator: Thierry Florac <tflorac@ulthar.net>\n" "Language-Team: French\n" @@ -29,10 +29,14 @@ msgstr "Carousel horizontal" #: src/pyams_default_theme/component/gallery/templates/renderer-carousel.pt:32 +#: src/pyams_default_theme/shared/view/portlet/templates/view-items-list.pt:47 +#: src/pyams_default_theme/features/menu/portlet/navigation/templates/simple-carousel.pt:32 msgid "Previous" msgstr "Précédent" #: src/pyams_default_theme/component/gallery/templates/renderer-carousel.pt:36 +#: src/pyams_default_theme/shared/view/portlet/templates/view-items-list.pt:53 +#: src/pyams_default_theme/features/menu/portlet/navigation/templates/simple-carousel.pt:37 msgid "Next" msgstr "Suivant" @@ -48,19 +52,19 @@ msgid "Vertical list" msgstr "Liste verticale" -#: src/pyams_default_theme/component/illustration/__init__.py:170 +#: src/pyams_default_theme/component/illustration/__init__.py:162 msgid "Centered illustration before text" msgstr "Illustration centrée avant le texte" -#: src/pyams_default_theme/component/illustration/__init__.py:181 +#: src/pyams_default_theme/component/illustration/__init__.py:173 msgid "Small illustration on the left" msgstr "Illustration sur la gauche" -#: src/pyams_default_theme/component/illustration/__init__.py:195 +#: src/pyams_default_theme/component/illustration/__init__.py:187 msgid "Small illustration on the right" msgstr "Illustration sur la droite" -#: src/pyams_default_theme/component/illustration/__init__.py:209 +#: src/pyams_default_theme/component/illustration/__init__.py:201 msgid "Centered illustration after text" msgstr "Illustration centrée après le texte" @@ -117,11 +121,15 @@ msgid "Default verbatim renderer" msgstr "Encadré en pleine largeur (par défaut)" -#: src/pyams_default_theme/component/paragraph/html.py:35 +#: src/pyams_default_theme/component/paragraph/html.py:40 msgid "Default raw HTML renderer" -msgstr "Par défaut" +msgstr "Code HTML brut (par défaut)" -#: src/pyams_default_theme/component/paragraph/html.py:49 +#: src/pyams_default_theme/component/paragraph/html.py:65 +msgid "Formatted source code renderer" +msgstr "Code source formatté" + +#: src/pyams_default_theme/component/paragraph/html.py:97 msgid "Default rich text renderer" msgstr "Par défaut" @@ -138,14 +146,18 @@ msgid "Don't use default map configuration" msgstr "Ne pas utiliser la configuration de carte par défaut" -#: src/pyams_default_theme/component/paragraph/portlet/__init__.py:40 +#: src/pyams_default_theme/component/paragraph/portlet/__init__.py:39 msgid "Default paragraphs renderer" msgstr "Par défaut" -#: src/pyams_default_theme/component/paragraph/portlet/__init__.py:67 +#: src/pyams_default_theme/component/paragraph/portlet/__init__.py:96 msgid "Default paragraphs navigation" msgstr "Par défaut" +#: src/pyams_default_theme/component/paragraph/portlet/templates/content.pt:13 +msgid "Previous and next topics" +msgstr "Contenus précédent et suivant" + #: src/pyams_default_theme/component/paragraph/interfaces/map.py:34 msgid "Don't use default configuration?" msgstr "Ne pas utiliser la configuration par défaut ?" @@ -297,7 +309,8 @@ "sélectionnés" #: src/pyams_default_theme/shared/common/summary.py:38 -#: src/pyams_default_theme/shared/site/link.py:65 +#: src/pyams_default_theme/shared/site/link.py:70 +#: src/pyams_default_theme/shared/site/link.py:108 msgid "Consult content" msgstr "Accéder au contenu" @@ -305,7 +318,7 @@ msgid "Default title renderer" msgstr "Par défaut" -#: src/pyams_default_theme/shared/common/portlet/head.py:38 +#: src/pyams_default_theme/shared/common/portlet/head.py:33 msgid "Default header renderer" msgstr "Par défaut" @@ -319,10 +332,35 @@ "ATTENTION : la sélection des éléments affichés dans cet aperçu ne tient pas " "compte du contexte éventuellement paramétré dans la vue" -#: src/pyams_default_theme/shared/view/portlet/__init__.py:38 +#: src/pyams_default_theme/shared/view/portlet/__init__.py:48 msgid "Simple vertical view" msgstr "Liste verticale simple" +#: src/pyams_default_theme/shared/view/portlet/interfaces.py:24 +msgid "Display illustrations?" +msgstr "Afficher les illustrations ?" + +#: src/pyams_default_theme/shared/view/portlet/interfaces.py:25 +msgid "If 'no', view contents will not display illustrations" +msgstr "Si 'non', l'illustration associée aux contenus ne sera pas affichée" + +#: src/pyams_default_theme/shared/view/portlet/interfaces.py:29 +msgid "Paginate?" +msgstr "Pagination ?" + +#: src/pyams_default_theme/shared/view/portlet/interfaces.py:30 +msgid "If 'no', results pagination will be disabled" +msgstr "" +"Si 'non', les résultats de la recherche ne seront pas oraganisés par pages" + +#: src/pyams_default_theme/shared/view/portlet/interfaces.py:34 +msgid "Page size" +msgstr "Taille des pages" + +#: src/pyams_default_theme/shared/view/portlet/interfaces.py:35 +msgid "Number of items per page, if pagination is enabled" +msgstr "Nombre de résultats par page, si la pagination est activée" + #: src/pyams_default_theme/shared/imagemap/__init__.py:52 msgid "Default imagemap renderer" msgstr "Par défaut" @@ -332,14 +370,19 @@ msgstr "Aperçu des zones cliquables" #: src/pyams_default_theme/shared/site/folder.py:60 -#: src/pyams_default_theme/features/search/__init__.py:64 +#: src/pyams_default_theme/features/search/__init__.py:77 msgid "Consult folder" msgstr "Consulter la rubrique" -#: src/pyams_default_theme/shared/site/portlet/__init__.py:35 +#: src/pyams_default_theme/shared/site/portlet/__init__.py:48 msgid "Site container summary" msgstr "Par défaut" +#: src/pyams_default_theme/shared/site/portlet/__init__.py:58 +#: src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:86 +msgid "Vertical panels with panoramic illustrations" +msgstr "Panneaux verticaux avec illustrations panoramiques" + #: src/pyams_default_theme/shared/logo/__init__.py:34 msgid "Default logos renderer" msgstr "Par défaut" @@ -352,19 +395,32 @@ msgid "Hidden content" msgstr "NON affiché" -#: src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:49 +#: src/pyams_default_theme/features/share/portlet/__init__.py:35 +msgid "Default toolbox" +msgstr "Par défaut" + +#: src/pyams_default_theme/features/share/portlet/templates/toolbox.pt:7 +#: src/pyams_default_theme/features/share/portlet/templates/toolbox.pt:9 +msgid "Print page" +msgstr "Imprimer la page" + +#: src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:53 msgid "Horizontal list with vertical illustrations" msgstr "Liste horizontale avec illustrations verticales (par défaut)" -#: src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:59 +#: src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:64 msgid "Horizontal list with tabs and horizontal illustrations" msgstr "Liste horizontale avec onglets et illustrations panoramiques" -#: src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:72 +#: src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:75 +msgid "Horizontal carousel with full width illustrations" +msgstr "Carousel horizontal avec illustrations en pleine largeur" + +#: src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:100 msgid "Vertical list with small horizontal menus illustrations" msgstr "Liste verticale avec illustrations horizontales" -#: src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:95 +#: src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:123 msgid "Double-level selection navigation" msgstr "Navigation par sélection à deux niveaux" @@ -404,31 +460,87 @@ msgid "PyAMS simple footer with links" msgstr "PyAMS: pied de page simple avec liens" -#: src/pyams_default_theme/features/header/interfaces.py:26 +#: src/pyams_default_theme/features/search/portlet/__init__.py:52 +msgid "Default search results" +msgstr "Affichage des résultats, sans facette (par défaut)" + +#: src/pyams_default_theme/features/search/portlet/interfaces.py:24 +msgid "Display results count?" +msgstr "Afficher le nombre de résultats ?" + +#: src/pyams_default_theme/features/search/portlet/interfaces.py:25 +msgid "If 'no', results count will not be displayed" +msgstr "Si 'non', le nombre de résultats ne sera pas affiché" + +#: src/pyams_default_theme/features/search/portlet/interfaces.py:29 +msgid "Allow results sorting?" +msgstr "Autoriser le tri ?" + +#: src/pyams_default_theme/features/search/portlet/interfaces.py:30 +msgid "If 'no', results will not be sortable" +msgstr "Si 'non', les résultats ne pourront pas être triés par l'utilisateur" + +#: src/pyams_default_theme/features/search/portlet/interfaces.py:34 +msgid "Allow pagination?" +msgstr "Autoriser la pagination ?" + +#: src/pyams_default_theme/features/search/portlet/interfaces.py:35 +msgid "If 'no', results will not be paginated" +msgstr "Si 'non', les résultats seront affichés sur une seule page" + +#: src/pyams_default_theme/features/search/portlet/templates/search-results.pt:10 +msgid "${count} result(s) found" +msgstr "${count} résultat(s) trouvé(s)" + +#: src/pyams_default_theme/features/search/portlet/templates/search-results.pt:13 +msgid "No result found!" +msgstr "Aucun résultat." + +#: src/pyams_default_theme/features/header/interfaces.py:28 +msgid "Apply on root?" +msgstr "Appliquer sur l'accueil ?" + +#: src/pyams_default_theme/features/header/interfaces.py:29 +msgid "" +"If 'no', header settings will not be applied on site root but only on inner " +"sites" +msgstr "" +"Si 'non', l'en-tête de page ne sera pas utilisé à l'accueil du site, mais " +"pourra être hérité dans les pages intérieures" + +#: src/pyams_default_theme/features/header/interfaces.py:34 msgid "Banner image" msgstr "Bandeau" -#: src/pyams_default_theme/features/header/interfaces.py:27 +#: src/pyams_default_theme/features/header/interfaces.py:35 msgid "Image displayed as header background" msgstr "Image affichée en tête de page" -#: src/pyams_default_theme/features/header/interfaces.py:30 +#: src/pyams_default_theme/features/header/interfaces.py:38 msgid "Logo" msgstr "Logo" -#: src/pyams_default_theme/features/header/interfaces.py:31 +#: src/pyams_default_theme/features/header/interfaces.py:39 msgid "Logo displayed in header" msgstr "Logo superposé au bandeau" +#: src/pyams_default_theme/features/header/interfaces.py:42 +msgid "Search form target" +msgstr "Cible de la recherche" + +#: src/pyams_default_theme/features/header/interfaces.py:43 +msgid "Site or folder handling site search" +msgstr "Site ou rubrique qui prend en charge la recherche" + #: src/pyams_default_theme/features/header/zmi/__init__.py:70 msgid "Top menus" msgstr "Menus de navigation" -#: src/pyams_default_theme/features/header/skin/__init__.py:111 +#: src/pyams_default_theme/features/header/skin/__init__.py:120 msgid "Hidden header" msgstr "NON affiché" -#: src/pyams_default_theme/features/header/skin/__init__.py:134 +#: src/pyams_default_theme/features/header/skin/__init__.py:143 msgid "PyAMS simple header with banner and tabs" msgstr "PyAMS: en-tête simple avec bandeau et onglets de navigation" @@ -436,20 +548,22 @@ msgid "Toggle navigation" msgstr "Menu de navigation" +#: src/pyams_default_theme/features/header/skin/templates/simple-header.pt:57 +msgid "Search..." +msgstr "Recherche..." + +#: src/pyams_default_theme/features/header/skin/templates/simple-header.pt:59 +msgid "Search" +msgstr "Chercher" + #~ msgid "Top tabs" #~ msgstr "Onglets de navigation" -#~ msgid "Show illustration?" -#~ msgstr "Afficher l'illustration ?" - #~ msgid "If 'no', illustration will not be displayed" #~ msgstr "" #~ "Si 'non', l'illustration ne sera pas affichée même si un contenu a été " #~ "fourni" -#~ msgid "Search..." -#~ msgstr "Chercher..." - #~ msgid "Hide menu" #~ msgstr "Masquer le menu"
--- a/src/pyams_default_theme/locales/pyams_default_theme.pot Fri Nov 30 14:37:05 2018 +0100 +++ b/src/pyams_default_theme/locales/pyams_default_theme.pot Fri Nov 30 14:47:53 2018 +0100 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE 1.0\n" -"POT-Creation-Date: 2018-11-20 16:05+0100\n" +"POT-Creation-Date: 2018-11-30 11:12+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -29,10 +29,14 @@ msgstr "" #: ./src/pyams_default_theme/component/gallery/templates/renderer-carousel.pt:32 +#: ./src/pyams_default_theme/shared/view/portlet/templates/view-items-list.pt:47 +#: ./src/pyams_default_theme/features/menu/portlet/navigation/templates/simple-carousel.pt:32 msgid "Previous" msgstr "" #: ./src/pyams_default_theme/component/gallery/templates/renderer-carousel.pt:36 +#: ./src/pyams_default_theme/shared/view/portlet/templates/view-items-list.pt:53 +#: ./src/pyams_default_theme/features/menu/portlet/navigation/templates/simple-carousel.pt:37 msgid "Next" msgstr "" @@ -48,19 +52,19 @@ msgid "Vertical list" msgstr "" -#: ./src/pyams_default_theme/component/illustration/__init__.py:170 +#: ./src/pyams_default_theme/component/illustration/__init__.py:162 msgid "Centered illustration before text" msgstr "" -#: ./src/pyams_default_theme/component/illustration/__init__.py:181 +#: ./src/pyams_default_theme/component/illustration/__init__.py:173 msgid "Small illustration on the left" msgstr "" -#: ./src/pyams_default_theme/component/illustration/__init__.py:195 +#: ./src/pyams_default_theme/component/illustration/__init__.py:187 msgid "Small illustration on the right" msgstr "" -#: ./src/pyams_default_theme/component/illustration/__init__.py:209 +#: ./src/pyams_default_theme/component/illustration/__init__.py:201 msgid "Centered illustration after text" msgstr "" @@ -115,11 +119,15 @@ msgid "Default verbatim renderer" msgstr "" -#: ./src/pyams_default_theme/component/paragraph/html.py:35 +#: ./src/pyams_default_theme/component/paragraph/html.py:40 msgid "Default raw HTML renderer" msgstr "" -#: ./src/pyams_default_theme/component/paragraph/html.py:49 +#: ./src/pyams_default_theme/component/paragraph/html.py:65 +msgid "Formatted source code renderer" +msgstr "" + +#: ./src/pyams_default_theme/component/paragraph/html.py:97 msgid "Default rich text renderer" msgstr "" @@ -136,14 +144,18 @@ msgid "Don't use default map configuration" msgstr "" -#: ./src/pyams_default_theme/component/paragraph/portlet/__init__.py:40 +#: ./src/pyams_default_theme/component/paragraph/portlet/__init__.py:39 msgid "Default paragraphs renderer" msgstr "" -#: ./src/pyams_default_theme/component/paragraph/portlet/__init__.py:67 +#: ./src/pyams_default_theme/component/paragraph/portlet/__init__.py:96 msgid "Default paragraphs navigation" msgstr "" +#: ./src/pyams_default_theme/component/paragraph/portlet/templates/content.pt:13 +msgid "Previous and next topics" +msgstr "" + #: ./src/pyams_default_theme/component/paragraph/interfaces/map.py:34 msgid "Don't use default configuration?" msgstr "" @@ -277,7 +289,8 @@ msgstr "" #: ./src/pyams_default_theme/shared/common/summary.py:38 -#: ./src/pyams_default_theme/shared/site/link.py:65 +#: ./src/pyams_default_theme/shared/site/link.py:70 +#: ./src/pyams_default_theme/shared/site/link.py:108 msgid "Consult content" msgstr "" @@ -285,7 +298,7 @@ msgid "Default title renderer" msgstr "" -#: ./src/pyams_default_theme/shared/common/portlet/head.py:38 +#: ./src/pyams_default_theme/shared/common/portlet/head.py:33 msgid "Default header renderer" msgstr "" @@ -297,10 +310,34 @@ msgid "WARNING: items displayed in this preview are out of context!!" msgstr "" -#: ./src/pyams_default_theme/shared/view/portlet/__init__.py:38 +#: ./src/pyams_default_theme/shared/view/portlet/__init__.py:48 msgid "Simple vertical view" msgstr "" +#: ./src/pyams_default_theme/shared/view/portlet/interfaces.py:24 +msgid "Display illustrations?" +msgstr "" + +#: ./src/pyams_default_theme/shared/view/portlet/interfaces.py:25 +msgid "If 'no', view contents will not display illustrations" +msgstr "" + +#: ./src/pyams_default_theme/shared/view/portlet/interfaces.py:29 +msgid "Paginate?" +msgstr "" + +#: ./src/pyams_default_theme/shared/view/portlet/interfaces.py:30 +msgid "If 'no', results pagination will be disabled" +msgstr "" + +#: ./src/pyams_default_theme/shared/view/portlet/interfaces.py:34 +msgid "Page size" +msgstr "" + +#: ./src/pyams_default_theme/shared/view/portlet/interfaces.py:35 +msgid "Number of items per page, if pagination is enabled" +msgstr "" + #: ./src/pyams_default_theme/shared/imagemap/__init__.py:52 msgid "Default imagemap renderer" msgstr "" @@ -310,14 +347,19 @@ msgstr "" #: ./src/pyams_default_theme/shared/site/folder.py:60 -#: ./src/pyams_default_theme/features/search/__init__.py:64 +#: ./src/pyams_default_theme/features/search/__init__.py:77 msgid "Consult folder" msgstr "" -#: ./src/pyams_default_theme/shared/site/portlet/__init__.py:35 +#: ./src/pyams_default_theme/shared/site/portlet/__init__.py:48 msgid "Site container summary" msgstr "" +#: ./src/pyams_default_theme/shared/site/portlet/__init__.py:58 +#: ./src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:86 +msgid "Vertical panels with panoramic illustrations" +msgstr "" + #: ./src/pyams_default_theme/shared/logo/__init__.py:34 msgid "Default logos renderer" msgstr "" @@ -330,19 +372,32 @@ msgid "Hidden content" msgstr "" -#: ./src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:49 +#: ./src/pyams_default_theme/features/share/portlet/__init__.py:35 +msgid "Default toolbox" +msgstr "" + +#: ./src/pyams_default_theme/features/share/portlet/templates/toolbox.pt:7 +#: ./src/pyams_default_theme/features/share/portlet/templates/toolbox.pt:9 +msgid "Print page" +msgstr "" + +#: ./src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:53 msgid "Horizontal list with vertical illustrations" msgstr "" -#: ./src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:59 +#: ./src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:64 msgid "Horizontal list with tabs and horizontal illustrations" msgstr "" -#: ./src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:72 +#: ./src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:75 +msgid "Horizontal carousel with full width illustrations" +msgstr "" + +#: ./src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:100 msgid "Vertical list with small horizontal menus illustrations" msgstr "" -#: ./src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:95 +#: ./src/pyams_default_theme/features/menu/portlet/navigation/__init__.py:123 msgid "Double-level selection navigation" msgstr "" @@ -382,34 +437,96 @@ msgid "PyAMS simple footer with links" msgstr "" -#: ./src/pyams_default_theme/features/header/interfaces.py:26 +#: ./src/pyams_default_theme/features/search/portlet/__init__.py:52 +msgid "Default search results" +msgstr "" + +#: ./src/pyams_default_theme/features/search/portlet/interfaces.py:24 +msgid "Display results count?" +msgstr "" + +#: ./src/pyams_default_theme/features/search/portlet/interfaces.py:25 +msgid "If 'no', results count will not be displayed" +msgstr "" + +#: ./src/pyams_default_theme/features/search/portlet/interfaces.py:29 +msgid "Allow results sorting?" +msgstr "" + +#: ./src/pyams_default_theme/features/search/portlet/interfaces.py:30 +msgid "If 'no', results will not be sortable" +msgstr "" + +#: ./src/pyams_default_theme/features/search/portlet/interfaces.py:34 +msgid "Allow pagination?" +msgstr "" + +#: ./src/pyams_default_theme/features/search/portlet/interfaces.py:35 +msgid "If 'no', results will not be paginated" +msgstr "" + +#: ./src/pyams_default_theme/features/search/portlet/templates/search-results.pt:10 +msgid "${count} result(s) found" +msgstr "" + +#: ./src/pyams_default_theme/features/search/portlet/templates/search-results.pt:13 +msgid "No result found!" +msgstr "" + +#: ./src/pyams_default_theme/features/header/interfaces.py:28 +msgid "Apply on root?" +msgstr "" + +#: ./src/pyams_default_theme/features/header/interfaces.py:29 +msgid "" +"If 'no', header settings will not be applied on site root but only on inner " +"sites" +msgstr "" + +#: ./src/pyams_default_theme/features/header/interfaces.py:34 msgid "Banner image" msgstr "" -#: ./src/pyams_default_theme/features/header/interfaces.py:27 +#: ./src/pyams_default_theme/features/header/interfaces.py:35 msgid "Image displayed as header background" msgstr "" -#: ./src/pyams_default_theme/features/header/interfaces.py:30 +#: ./src/pyams_default_theme/features/header/interfaces.py:38 msgid "Logo" msgstr "" -#: ./src/pyams_default_theme/features/header/interfaces.py:31 +#: ./src/pyams_default_theme/features/header/interfaces.py:39 msgid "Logo displayed in header" msgstr "" +#: ./src/pyams_default_theme/features/header/interfaces.py:42 +msgid "Search form target" +msgstr "" + +#: ./src/pyams_default_theme/features/header/interfaces.py:43 +msgid "Site or folder handling site search" +msgstr "" + #: ./src/pyams_default_theme/features/header/zmi/__init__.py:70 msgid "Top menus" msgstr "" -#: ./src/pyams_default_theme/features/header/skin/__init__.py:111 +#: ./src/pyams_default_theme/features/header/skin/__init__.py:120 msgid "Hidden header" msgstr "" -#: ./src/pyams_default_theme/features/header/skin/__init__.py:134 +#: ./src/pyams_default_theme/features/header/skin/__init__.py:143 msgid "PyAMS simple header with banner and tabs" msgstr "" #: ./src/pyams_default_theme/features/header/skin/templates/simple-header.pt:13 msgid "Toggle navigation" msgstr "" + +#: ./src/pyams_default_theme/features/header/skin/templates/simple-header.pt:57 +msgid "Search..." +msgstr "" + +#: ./src/pyams_default_theme/features/header/skin/templates/simple-header.pt:59 +msgid "Search" +msgstr ""
--- a/src/pyams_default_theme/resources/css/pyams-default.css Fri Nov 30 14:37:05 2018 +0100 +++ b/src/pyams_default_theme/resources/css/pyams-default.css Fri Nov 30 14:47:53 2018 +0100 @@ -285,4 +285,10 @@ .verbatim .panel-body .author { margin-top: 0.5em; } +/** + * Source code + */ +.source pre { + font-family: 'Anonymous Pro', monospace; +} /*# sourceMappingURL=pyams-default.css.map */ \ No newline at end of file
--- a/src/pyams_default_theme/resources/css/pyams-default.css.map Fri Nov 30 14:37:05 2018 +0100 +++ b/src/pyams_default_theme/resources/css/pyams-default.css.map Fri Nov 30 14:47:53 2018 +0100 @@ -1,1 +1,1 @@ -{"version":3,"sources":["../less/pyams-default.less"],"names":[],"mappings":"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","file":"pyams-default.css"} \ No newline at end of file +{"version":3,"sources":["../less/pyams-default.less"],"names":[],"mappings":"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","file":"pyams-default.css"} \ No newline at end of file
--- a/src/pyams_default_theme/resources/css/pyams-default.min.css Fri Nov 30 14:37:05 2018 +0100 +++ b/src/pyams_default_theme/resources/css/pyams-default.min.css Fri Nov 30 14:47:53 2018 +0100 @@ -1,1 +1,1 @@ -.margin-bottom-10{margin-bottom:10px}.margin-bottom-20{margin-bottom:20px}body{font-family:Lato,Helvetica,Arial,sans-serif;margin:0 auto;overflow-x:hidden}h1,h2,h3,h4,h5,h6{font-family:Oswald,Helvetica,Arial,Sans-Serif}hr.simple{margin-top:10px;margin-bottom:10px}hr.noborder{border:0}.header-simple .regularbanner{position:relative}.header-simple .regularbanner img.regularbanner__media,.header-simple .regularbanner picture.regularbanner__media{width:100%}.header-simple .regularbanner img.logo,.header-simple .regularbanner picture.logo{position:absolute;top:10px;left:10px;max-height:calc(100% - 20px)}.affix{top:0;width:100%;z-index:9999!important;opacity:.95;transition:all .5s ease-in-out}.affix~.container-fluid{position:relative;top:50px}.navbar{margin-bottom:20px;background-color:#fff;border:1px solid #39413b;font-family:Oswald,Helvetica,Arial,Sans-Serif;transition:all .5s ease-in-out}.navbar a,.navbar a:active,.navbar a:visited{color:#39413b}.navbar .icon-bar,.navbar li.active{background-color:#a5bcaa}.navbar.affix{background-color:#39413b}.navbar.affix a{color:#fff}.navbar.affix .dropdown-menu a{color:#39413b}.navbar.affix:hover a:hover{color:#39413b}.navbar.affix .icon-bar{background-color:#fff}.breadcrumb{margin-bottom:1rem}.page-header{margin-top:2rem}@media only screen and (min-width:1200px){.portal-page .slot.col-lg-0{display:none}}@media only screen and (min-width:992px) and (max-width:1199px){.portal-page .slot.col-md-0{display:none}}@media only screen and (min-width:768px) and (max-width:991px){.portal-page .slot.col-sm-0{display:none}}@media only screen and (max-width:767px){.portal-page .slot.col-xs-0{display:none}}.toolbox{display:flex;flex-direction:column}.toolbox button{text-align:left;display:flex;align-items:center}.toolbox button i.fa{display:inline-block;margin-right:1rem}@media only screen and (min-width:1340px){.col-lg-12 .portlet>section.wrapper{margin-left:calc(0vw);margin-right:calc(0vw)}}@media only screen and (min-width:1052px){.col-md-12 .portlet>section.wrapper{margin-left:calc(0vw);margin-right:calc(0vw)}}@media only screen and (max-width:1051px){.col-sm-12 .portlet>section.wrapper{margin-left:calc(0vw);margin-right:calc(0vw)}}@media only screen and (max-width:767px){.navbar.affix .dropdown-menu{background-color:#39413b}.navbar.affix .dropdown-menu a{color:#fff}.col-xs-12 .portlet>section.wrapper{margin-left:calc(0vw);margin-right:calc(0vw)}}.summary .thumbnail.pull-left{margin-right:15px}blockquote{margin-top:2rem;border:1px solid #ddd;border-left:5px solid #ddd}blockquote.pull-right{padding:0 15px;text-align:left;border:1px solid #ddd;border-left:5px solid #ddd}.panels{margin-top:2rem}.search-results .breadcrumb:empty{margin:0;padding:0}.search-results .thumbnail.pull-left{margin-right:3rem}.search-results .tags span{margin:0 .2rem}.illustration{margin-bottom:1rem}.illustration .author{padding-top:.2em;font-size:.9em;font-style:italic}.gallery{display:flex;flex-wrap:wrap}.gallery .legend{margin-bottom:.2em}.gallery img{box-shadow:0 2px 6px 2px rgba(0,0,0,.75);margin-bottom:5px;filter:grayscale();transition:all ease-in-out .5s}.gallery img:hover{filter:none}.gallery .author{margin-bottom:15px;text-align:right;font-style:italic;font-size:.8em}.ekko-lightbox{position:fixed;top:0!important;height:100vh}.ekko-lightbox .modal-footer{padding-top:0;text-align:right!important;font-style:italic;font-size:.8em}.video-wrapper iframe{width:100%}.milestones{display:flex;justify-content:space-around}.milestones .arrow{font-weight:700;font-size:1.5em}.contact-card .photo.pull-left{margin-right:1em}.contact-card .photo.pull-right{margin-left:1em}.contact-card .address{margin-top:.5em;margin-bottom:.5em}.verbatim .panel-body{position:relative;margin-left:50px}.verbatim .panel-body::before{content:'«';position:absolute;left:-30px;top:0;font-size:4em}.verbatim .panel-body .author{margin-top:.5em} +.margin-bottom-10{margin-bottom:10px}.margin-bottom-20{margin-bottom:20px}body{font-family:Lato,Helvetica,Arial,sans-serif;margin:0 auto;overflow-x:hidden}h1,h2,h3,h4,h5,h6{font-family:Oswald,Helvetica,Arial,Sans-Serif}hr.simple{margin-top:10px;margin-bottom:10px}hr.noborder{border:0}.header-simple .regularbanner{position:relative}.header-simple .regularbanner img.regularbanner__media,.header-simple .regularbanner picture.regularbanner__media{width:100%}.header-simple .regularbanner img.logo,.header-simple .regularbanner picture.logo{position:absolute;top:10px;left:10px;max-height:calc(100% - 20px)}.affix{top:0;width:100%;z-index:9999!important;opacity:.95;transition:all .5s ease-in-out}.affix~.container-fluid{position:relative;top:50px}.navbar{margin-bottom:20px;background-color:#fff;border:1px solid #39413b;font-family:Oswald,Helvetica,Arial,Sans-Serif;transition:all .5s ease-in-out}.navbar a,.navbar a:active,.navbar a:visited{color:#39413b}.navbar .icon-bar,.navbar li.active{background-color:#a5bcaa}.navbar.affix{background-color:#39413b}.navbar.affix a{color:#fff}.navbar.affix .dropdown-menu a{color:#39413b}.navbar.affix:hover a:hover{color:#39413b}.navbar.affix .icon-bar{background-color:#fff}.breadcrumb{margin-bottom:1rem}.page-header{margin-top:2rem}@media only screen and (min-width:1200px){.portal-page .slot.col-lg-0{display:none}}@media only screen and (min-width:992px) and (max-width:1199px){.portal-page .slot.col-md-0{display:none}}@media only screen and (min-width:768px) and (max-width:991px){.portal-page .slot.col-sm-0{display:none}}@media only screen and (max-width:767px){.portal-page .slot.col-xs-0{display:none}}.toolbox{display:flex;flex-direction:column}.toolbox button{text-align:left;display:flex;align-items:center}.toolbox button i.fa{display:inline-block;margin-right:1rem}@media only screen and (min-width:1340px){.col-lg-12 .portlet>section.wrapper{margin-left:calc(0vw);margin-right:calc(0vw)}}@media only screen and (min-width:1052px){.col-md-12 .portlet>section.wrapper{margin-left:calc(0vw);margin-right:calc(0vw)}}@media only screen and (max-width:1051px){.col-sm-12 .portlet>section.wrapper{margin-left:calc(0vw);margin-right:calc(0vw)}}@media only screen and (max-width:767px){.navbar.affix .dropdown-menu{background-color:#39413b}.navbar.affix .dropdown-menu a{color:#fff}.col-xs-12 .portlet>section.wrapper{margin-left:calc(0vw);margin-right:calc(0vw)}}.summary .thumbnail.pull-left{margin-right:15px}blockquote{margin-top:2rem;border:1px solid #ddd;border-left:5px solid #ddd}blockquote.pull-right{padding:0 15px;text-align:left;border:1px solid #ddd;border-left:5px solid #ddd}.panels{margin-top:2rem}.search-results .breadcrumb:empty{margin:0;padding:0}.search-results .thumbnail.pull-left{margin-right:3rem}.search-results .tags span{margin:0 .2rem}.illustration{margin-bottom:1rem}.illustration .author{padding-top:.2em;font-size:.9em;font-style:italic}.gallery{display:flex;flex-wrap:wrap}.gallery .legend{margin-bottom:.2em}.gallery img{box-shadow:0 2px 6px 2px rgba(0,0,0,.75);margin-bottom:5px;filter:grayscale();transition:all ease-in-out .5s}.gallery img:hover{filter:none}.gallery .author{margin-bottom:15px;text-align:right;font-style:italic;font-size:.8em}.ekko-lightbox{position:fixed;top:0!important;height:100vh}.ekko-lightbox .modal-footer{padding-top:0;text-align:right!important;font-style:italic;font-size:.8em}.video-wrapper iframe{width:100%}.milestones{display:flex;justify-content:space-around}.milestones .arrow{font-weight:700;font-size:1.5em}.contact-card .photo.pull-left{margin-right:1em}.contact-card .photo.pull-right{margin-left:1em}.contact-card .address{margin-top:.5em;margin-bottom:.5em}.verbatim .panel-body{position:relative;margin-left:50px}.verbatim .panel-body::before{content:'«';position:absolute;left:-30px;top:0;font-size:4em}.verbatim .panel-body .author{margin-top:.5em}.source pre{font-family:'Anonymous Pro',monospace}
--- a/src/pyams_default_theme/resources/less/pyams-default.less Fri Nov 30 14:37:05 2018 +0100 +++ b/src/pyams_default_theme/resources/less/pyams-default.less Fri Nov 30 14:47:53 2018 +0100 @@ -375,3 +375,14 @@ } } } + + +/** + * Source code + */ + +.source { + pre { + font-family: 'Anonymous Pro', monospace; + } +}