diff options
Diffstat (limited to 'templates/base_toplevel.html')
-rw-r--r-- | templates/base_toplevel.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/templates/base_toplevel.html b/templates/base_toplevel.html new file mode 100644 index 0000000000..aad44cb676 --- /dev/null +++ b/templates/base_toplevel.html @@ -0,0 +1,59 @@ +{% extends "base.html" %} +{% load i18n %} + +{% load url from future %} +{% comment %} + + layerindex-web - top level page template + + Copyright (C) 2013 Intel Corporation + Licensed under the MIT license, see COPYING.MIT for details + +{% endcomment %} + +{% block content %} + + <div class="container-fluid"> + <div class="row-fluid"> + + <div class="navbar"> + <div class="navbar-inner"> + <ul class="nav"> + {% block branch_selector %} + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown"> + Branch: <b>{{ url_branch }}</b> + <b class="caret"></b> + </a> + <ul class="dropdown-menu"> + {% for branch in all_branches %} + <li><a href="{% url this_url_name branch.name %}"> + {% if branch.name = url_branch %}<b>{% endif %} + {{ branch.name }} + {% if branch.short_description %} + ({{ branch.short_description }}) + {% endif %} + {% if branch.name = url_branch %}</b>{% endif %} + </a></li> + {% endfor %} + {% if oe_classic %} + <li class="divider"></li> + <li><a href="{% url 'classic' %}">OE-Classic</a></li> + {% endif %} + </ul> + </li> + {% endblock %} + </ul> + + <ul class="nav"> + {% block navs %}{% endblock %} + </ul> + </div> + </div> + + {% block content_inner %}{% endblock %} + + </div> + </div> + +{% endblock %}
\ No newline at end of file |