comparison templates/sat_website/base.html @ 27:eda4deefecd1

reorganisation of the menu using submenus
author souliane <souliane@mailoo.org>
date Wed, 21 Jan 2015 20:07:20 +0100
parents 3df49721008c
children 30a1edf90fae
comparison
equal deleted inserted replaced
26:3df49721008c 27:eda4deefecd1
26 <html lang="{{ LANGUAGE_CODE }}"> 26 <html lang="{{ LANGUAGE_CODE }}">
27 <head> 27 <head>
28 <meta charset="utf-8"> 28 <meta charset="utf-8">
29 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 29 <meta http-equiv="X-UA-Compatible" content="IE=edge">
30 <meta name="viewport" content="width=device-width, initial-scale=1"> 30 <meta name="viewport" content="width=device-width, initial-scale=1">
31 <link href="{% static "bootstrap/css/bootstrap.min.css" %}" rel="stylesheet"> 31 <link rel="stylesheet" href="{% static "bootstrap/css/bootstrap.min.css" %}">
32 <link rel="stylesheet" href="{% static "css/sat_website.css" %}"> 32 <link rel="stylesheet" href="{% static "css/sat_website.css" %}">
33 <link rel="icon" type="image/png" href="{% static "images/sat_logo_32.png" %}"> 33 <link rel="icon" type="image/png" href="{% static "images/sat_logo_32.png" %}">
34 <title>{% block title %}{% trans "Salut à Toi: the multi-frontends, multi-purposes communication tool" %}{% endblock %}</title> 34 <title>{% block title %}{% trans "Salut à Toi: the multi-frontends, multi-purposes communication tool" %}{% endblock %}</title>
35 </head> 35 </head>
36 <body> 36 <body>
47 <a class="navbar-brand" href="overview.html"> 47 <a class="navbar-brand" href="overview.html">
48 Salut à Toi 48 Salut à Toi
49 </a> 49 </a>
50 </div> 50 </div>
51 <div id="navbar" class="collapse navbar-collapse"> 51 <div id="navbar" class="collapse navbar-collapse">
52 <ul class="nav navbar-nav"> 52 {% include "sat_website/menu.html" with style="nav navbar-nav" categories=categories %}
53 {% for cat_url,cat_name in categories.items %} 53 {% include "sat_website/menu.html" with style="nav navbar-nav pull-right" categories=categories_right %}
54 <li><a href="{{ cat_url }}.html">{{ cat_name }}</a></li>
55 {% endfor %}
56 </ul>
57 <ul class="nav navbar-nav pull-right">
58 <li><a href="https://www.libervia.org"><strong>{% trans "Try online demo" %}</strong></a> </li>
59 {% if latest_dl_path and latest_version %}
60 <li><a href="{{ latest_dl_path }}"><strong>{% trans "Download SàT" %} {{ latest_version }}</strong></a> </li>
61 {% endif %}
62 </ul>
63 </div> 54 </div>
64 </div> 55 </div>
65 </nav> 56 </nav>
66 57
67 {% block content %}{% endblock %} 58 {% block content %}{% endblock %}