Mercurial > farol > farol
comparison farol/templates/base.j2 @ 7:8f41bb7f4681
Move the Document management routines to a document Blueprint
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Thu, 25 Sep 2014 17:03:35 +0200 |
parents | bb7334ff114a |
children | 2ce3676c9b2e |
comparison
equal
deleted
inserted
replaced
6:bb7334ff114a | 7:8f41bb7f4681 |
---|---|
43 <span class="sr-only">Toggle navigation</span> | 43 <span class="sr-only">Toggle navigation</span> |
44 <span class="icon-bar"></span> | 44 <span class="icon-bar"></span> |
45 <span class="icon-bar"></span> | 45 <span class="icon-bar"></span> |
46 <span class="icon-bar"></span> | 46 <span class="icon-bar"></span> |
47 </button> | 47 </button> |
48 <a class="navbar-brand" href="{{ url_for('document') }}">Farol</a> | 48 <a class="navbar-brand" href="{{ url_for('welcome') }}">Farol</a> |
49 </div> | 49 </div> |
50 | 50 |
51 {# Collect the nav links, forms, and other content for toggling #} | 51 {# Collect the nav links, forms, and other content for toggling #} |
52 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | 52 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> |
53 <ul class="nav navbar-nav"> | 53 <ul class="nav navbar-nav"> |
54 <li{% if active == 'new' %} class="active"{% endif %}><a href="{{ url_for('new') }}">New</a></li> | 54 <li{% if active == 'new' %} class="active"{% endif %}><a href="{{ url_for('new') }}">New</a></li> |
55 {% if has_current %} | |
56 <li{% if active == 'document' %} class="active"{% endif %}><a href="{{ url_for('document.view') }}">Document</a></li> | |
57 {% endif %} | |
55 {% if products %} | 58 {% if products %} |
56 <li class="dropdown{{ ' active' if active == 'product' }}"> | 59 <li class="dropdown{{ ' active' if active == 'product' }}"> |
57 <a href="#" class="dropdown-toggle" data-toggle="dropdown">Products <span class="caret"></span></a> | 60 <a href="#" class="dropdown-toggle" data-toggle="dropdown">Products <span class="caret"></span></a> |
58 <ul class="dropdown-menu" role="menu"> | 61 <ul class="dropdown-menu" role="menu"> |
59 {% for name, productid in products %} | 62 {% for name, productid in products %} |