# HG changeset patch # User rougeronj # Date 1418291637 -3600 # Node ID 064f4cdc48c3ce76d1f8d208ebe87fd517fb86a5 # Parent 5d838f456d84f51f385aafb85348cc24e8342bbe Set up css convention for the main titles of the pages and add translation support in main pages diff -r 5d838f456d84 -r 064f4cdc48c3 src/hdalab/static/hdalab/css/common.css --- a/src/hdalab/static/hdalab/css/common.css Wed Dec 10 15:57:12 2014 +0100 +++ b/src/hdalab/static/hdalab/css/common.css Thu Dec 11 10:53:57 2014 +0100 @@ -265,3 +265,28 @@ .row:after { clear: both; } +#content .all-title { + margin: 0px 0 20px; +} +#content .all-title:before, +#content .all-title:after { + content: " "; + display: table; +} +#content .all-title:after { + clear: both; +} +.all-title h1{ + font-size: 20px; + font-size: 2rem; + font-weight: bold; + font-family: 'FranklinGothic', Arial, Helvetica, sans-serif; + letter-spacing: -0.04em; + text-transform: uppercase; +} +.all-title h1:before { + content: "/"; + font-weight: bold; + margin-right: 3px; + position: relative; +} diff -r 5d838f456d84 -r 064f4cdc48c3 src/hdalab/static/hdalab/css/facettes.css --- a/src/hdalab/static/hdalab/css/facettes.css Wed Dec 10 15:57:12 2014 +0100 +++ b/src/hdalab/static/hdalab/css/facettes.css Thu Dec 11 10:53:57 2014 +0100 @@ -45,10 +45,6 @@ border-bottom-right-radius: 4px } -#hdatitle { - float: left; width: 475px; margin: 5px 0; font-size: 20px; -} - #sessionname { color: #600000; font-size: 22px; } diff -r 5d838f456d84 -r 064f4cdc48c3 src/hdalab/static/hdalab/css/index.css --- a/src/hdalab/static/hdalab/css/index.css Wed Dec 10 15:57:12 2014 +0100 +++ b/src/hdalab/static/hdalab/css/index.css Thu Dec 11 10:53:57 2014 +0100 @@ -1,30 +1,5 @@ /* PAGES -----------------------------------------------------------------------------------------------------*/ -#content .all-title { - margin: 0px 0 20px; -} -#content .all-title:before, -#content .all-title:after { - content: " "; - display: table; -} -#content .all-title:after { - clear: both; -} -#content h3{ - font-size: 15px; - font-size: 1.5rem; - font-weight: 300; - font-family: 'FranklinGothic', Arial, Helvetica, sans-serif; - letter-spacing: -0.04em; - text-transform: uppercase; -} -#content h3:before { - content: "/"; - font-weight: bold; - margin-right: 3px; - position: relative; -} .bloc-appli-left, .bloc-appli-middle, .bloc-appli-right { diff -r 5d838f456d84 -r 064f4cdc48c3 src/hdalab/templates/categories.html --- a/src/hdalab/templates/categories.html Wed Dec 10 15:57:12 2014 +0100 +++ b/src/hdalab/templates/categories.html Thu Dec 11 10:53:57 2014 +0100 @@ -1,7 +1,8 @@ {% extends "base.html" %} +{% load i18n %} {% load static %} -{% block title %}{{block.super}} > Recherche par arbre{% endblock %} +{% block title %}{{block.super}} > {% trans "Recherche par arbre" %}{% endblock %} {% block css_import %} {{block.super}} @@ -30,8 +31,10 @@ {% block categories_actif %}actif{% endblock %} {% block main_content %} +
Cette interface expérimentale présente les ressources d'Histoire des Arts, ordonnées selon l'arborescence des catégories de Wikipédia. diff -r 5d838f456d84 -r 064f4cdc48c3 src/hdalab/templates/facettes.html --- a/src/hdalab/templates/facettes.html Wed Dec 10 15:57:12 2014 +0100 +++ b/src/hdalab/templates/facettes.html Thu Dec 11 10:53:57 2014 +0100 @@ -1,8 +1,7 @@ {% extends "base.html" %} +{% load i18n %} {% load static %} -{% load i18n %} - {% block title %}{{block.super}} > {% trans "Recherche par facettes" %}{% endblock %} {% block css_import %} @@ -40,8 +39,8 @@ {% block facettes_actif %}actif{% endblock %} {% block main_content %} -
Le portail Histoire des arts a pour vocation de mettre à la disposition de publics prescripteurs — via un site Internet — une sélection de ressources culturelles et éducatives riches en lien avec le programme officiel de l’enseignement de l’Histoire des arts. Le volet HDA-Lab de ce projet s’inscrit dans le cadre d’une collaboration entre l’Institut de Recherche et d'Innovation (IRI) et le Ministère de la Culture et de la Communication. Ce projet de recherche et développement prévoit la réalisation d’une preuve de concept destinée à montrer le potentiel heuristique du tagging sémantique.
diff -r 5d838f456d84 -r 064f4cdc48c3 src/hdalab/templates/profile_home.html --- a/src/hdalab/templates/profile_home.html Wed Dec 10 15:57:12 2014 +0100 +++ b/src/hdalab/templates/profile_home.html Thu Dec 11 10:53:57 2014 +0100 @@ -29,7 +29,9 @@ {% endblock %} {% block main_content %} -Nouveau Renkan - Modification du mot de passe
Mes renkans :
diff -r 5d838f456d84 -r 064f4cdc48c3 src/hdalab/templates/renkan_list.html --- a/src/hdalab/templates/renkan_list.html Wed Dec 10 15:57:12 2014 +0100 +++ b/src/hdalab/templates/renkan_list.html Thu Dec 11 10:53:57 2014 +0100 @@ -28,7 +28,10 @@ {% endblock %} {% block main_content %} -{% if page.has_previous %}{% trans 'Previous' %}{% endif %} {% if page.has_previous and page.has_next %} - {% endif %}{% if page.has_next %}{% trans 'Next' %}{% endif %}
diff -r 5d838f456d84 -r 064f4cdc48c3 src/hdalab/templates/thesaurus.html --- a/src/hdalab/templates/thesaurus.html Wed Dec 10 15:57:12 2014 +0100 +++ b/src/hdalab/templates/thesaurus.html Thu Dec 11 10:53:57 2014 +0100 @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load i18n %} {% load static %} {% block title %}{{block.super}} > Recherche par arbre{% endblock %} @@ -28,6 +29,9 @@ {% block thesaurus_actif %}actif{% endblock %} {% block main_content %} +Cette interface présente deux extraits de thésaurus utilisés par le ministère de la Culture et de la Communication :