changeset 109:ce64f90e58c4

Some styling
author Benoît Allard <benoit.allard@greenbone.net>
date Wed, 15 Oct 2014 08:58:47 +0200
parents 4ea7966dcc99
children f68944a92b5e
files farol/templates/base.j2
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/farol/templates/base.j2	Tue Oct 14 16:52:55 2014 +0200
+++ b/farol/templates/base.j2	Wed Oct 15 08:58:47 2014 +0200
@@ -47,7 +47,7 @@
           <span class="icon-bar"></span>
           <span class="icon-bar"></span>
         </button>
-        <a class="navbar-brand" href="{{ url_for('welcome') }}">Farol</a>
+        <a class="navbar-brand" href="{{ url_for('welcome') }}" title="A Security Advisory Management Platform">Farol</a>
       </div>
 
       {# Collect the nav links, forms, and other content for toggling #}
@@ -61,6 +61,10 @@
           <li class="dropdown{{ ' active' if active == 'product' }}">
             <a href="#" class="dropdown-toggle" data-toggle="dropdown">Products <span class="caret"></span></a>
             <ul class="dropdown-menu" role="menu">
+              <li role="presentation">
+                <a role="menuitem" tabindex="-1" href="{{ url_for('producttree.view') }}">View Product Tree</a>
+              </li>
+              <li role="presentation" class="divider"></li>
               {% for name, productid in products %}
                 <li><a href="{{ url_for('producttree.view_product', productid=productid) }}">{{ name }}</a></li>
               {% endfor %}
@@ -98,7 +102,8 @@
           <li class="dropdown">
             <a href="#" class="dropdown-toggle" data-toggle="dropdown">Cache <span class="caret"></span></a>
             <ul class="dropdown-menu" role="menu">
-              <li role="presentation"{{ ' class="disabled"' if not has_current }}><a role="menuitem" tabindex="-1" href="{{ url_for('cache.save') }}">Save {{ current_id }}</a>
+              <li role="presentation"{{ ' class="disabled"' if not has_current }}>
+                <a role="menuitem" tabindex="-1" href="{{ url_for('cache.save') }}">Save {{ current_id }}</a>
               </li>
               <li role="presentation" class="divider"></li>
               {% for element in cache | sort %}

http://farol.wald.intevation.org