From: Thierry Parmentelat Date: Mon, 2 Sep 2013 16:20:44 +0000 (+0200) Subject: try to gain some vertical space in topmenu : show 'logged in as' in x-small X-Git-Tag: myslice-0.2-1~28 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=208404a2dc21c6f9c083820df5117fa02fdef7ba try to gain some vertical space in topmenu : show 'logged in as' in x-small --- diff --git a/views/css/topmenu.css b/views/css/topmenu.css index 0b9f14f6..325b9657 100644 --- a/views/css/topmenu.css +++ b/views/css/topmenu.css @@ -9,3 +9,4 @@ button#logout { margin-left: 8px; margin-bottom: 10px; } +span.logged-in { font-size: x-small; } diff --git a/views/templates/widget-topmenu.html b/views/templates/widget-topmenu.html index eabd6f88..1b14c8a0 100644 --- a/views/templates/widget-topmenu.html +++ b/views/templates/widget-topmenu.html @@ -13,7 +13,7 @@
  • {{ d.label }}
  • {% else %}
  • {{ d.label }}
  • {% endif %} {% endfor %} {# logout.js will attach a click function on that button, which then retrieves the 'username' attribute #} - {% if username %} Logged in as {{ username }} + {% if username %} Logged in as {{ username }}