From: Eric Mc Sween Date: Wed, 27 Oct 2010 18:43:30 +0000 (-0400) Subject: Ajout d'un sous-menu dans les briques qui en ont un. (#569) X-Git-Url: http://git.auf.org/?p=auf_savoirs_en_partage_django.git;a=commitdiff_plain;h=9619910d0ddd35ba79b493dcfe3eb8c624771f73 Ajout d'un sous-menu dans les briques qui en ont un. (#569) --- diff --git a/auf_savoirs_en_partage/media/css/global.css b/auf_savoirs_en_partage/media/css/global.css index e96f5bd..595ff8e 100644 --- a/auf_savoirs_en_partage/media/css/global.css +++ b/auf_savoirs_en_partage/media/css/global.css @@ -84,7 +84,15 @@ div.boite-recherche p a:hover { color:#97012c; text-decoration:none;} #col-menu a:hover { cursor:pointer; text-decoration:underline; } #col-menu .actif a { color:#97012c; font-weight:bold; } -#contenu { width:744px; margin:100px 0px 50px 0px; padding:0; float:left;background:url(../img/contenu-bkg-middle.png) repeat-y 0 0; } +#contenu { + position: relative; + width:744px; + margin:100px 0px 50px 0px; + padding:0; + float:left; + background:url(../img/contenu-bkg-middle.png) repeat-y 0 0; +} + #tabs { margin-left: 8px; margin-right: 8px; } #contenu h4 { padding: 0 25px; margin-bottom:0.4em; font-size:2.2em; font-weight:normal; letter-spacing:-1px; } #contenu h4 a { text-decoration:none; color:black; } @@ -118,7 +126,9 @@ ul.liste-de-l-accueil a.la-date { color:black; } ul.liste-de-l-accueil .le-titre {display: block; font-size:1.2em; font-weight:bold; margin: .25em 0;} ul.liste-de-l-accueil .le-resume {font-size:1.1em;} ul.liste-de-l-accueil .le-resume a { display:inline;} -ul.sous-menu li { display:inline; padding:0px 10px 0px 0px; font-size: 1.1em; } +ul.sous-menu li, ul.actions li { display:inline; padding:0px 10px 0px 0px; font-size: 1.1em; } + +ul.actions { position: absolute; top: 15px; right: 20px; } .resultats { width:744px; display:inline; margin:0; padding:0; float:left; margin-top:100px; margin-bottom:50px; margin-left:0; background:url(../img/contenu-bkg-middle.png) repeat-y 0 0;} .resultats a:hover{text-decoration:none;} diff --git a/auf_savoirs_en_partage/templates/chercheurs/actions.html b/auf_savoirs_en_partage/templates/chercheurs/actions.html new file mode 100644 index 0000000..1722670 --- /dev/null +++ b/auf_savoirs_en_partage/templates/chercheurs/actions.html @@ -0,0 +1,4 @@ +{% if not user_chercheur %} +
  • Inscription
  • +{% endif %} +
  • Espace chercheur
  • diff --git a/auf_savoirs_en_partage/templates/chercheurs/rechercher.html b/auf_savoirs_en_partage/templates/chercheurs/rechercher.html index dee4863..678dc85 100644 --- a/auf_savoirs_en_partage/templates/chercheurs/rechercher.html +++ b/auf_savoirs_en_partage/templates/chercheurs/rechercher.html @@ -5,6 +5,9 @@ {% autopaginate chercheurs 20 %}

    Répertoire des chercheurs

    +
    @@ -38,4 +41,3 @@
    {% paginate %}
    - diff --git a/auf_savoirs_en_partage/templates/savoirs/actualite_index.html b/auf_savoirs_en_partage/templates/savoirs/actualite_index.html index c5fa79d..37d5943 100644 --- a/auf_savoirs_en_partage/templates/savoirs/actualite_index.html +++ b/auf_savoirs_en_partage/templates/savoirs/actualite_index.html @@ -5,6 +5,9 @@ {% block contenu %} {% autopaginate actualites %}

    Actualités

    +
    diff --git a/auf_savoirs_en_partage/templates/savoirs/evenement_actions.html b/auf_savoirs_en_partage/templates/savoirs/evenement_actions.html new file mode 100644 index 0000000..7086d47 --- /dev/null +++ b/auf_savoirs_en_partage/templates/savoirs/evenement_actions.html @@ -0,0 +1,2 @@ +
  • Soumettre un événement
  • +{% comment %}
  • S'abonner
  • {% endcomment %} diff --git a/auf_savoirs_en_partage/templates/savoirs/evenement_index.html b/auf_savoirs_en_partage/templates/savoirs/evenement_index.html index 88a5534..d4b7ad8 100644 --- a/auf_savoirs_en_partage/templates/savoirs/evenement_index.html +++ b/auf_savoirs_en_partage/templates/savoirs/evenement_index.html @@ -3,6 +3,10 @@ {% block contenu %}

    Agenda

    +
      + {% include "savoirs/evenement_actions.html" %} +
    • +
    diff --git a/auf_savoirs_en_partage/templates/savoirs/index.html b/auf_savoirs_en_partage/templates/savoirs/index.html index 05837f0..b19ce49 100644 --- a/auf_savoirs_en_partage/templates/savoirs/index.html +++ b/auf_savoirs_en_partage/templates/savoirs/index.html @@ -30,10 +30,7 @@