mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00

We don't want to see the navbar on this page because otherwise it lets you select branches and click on Stats etc. which doesn't make any sense in this context. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
65 lines
2.4 KiB
HTML
65 lines
2.4 KiB
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% 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">
|
|
|
|
{% block navbar %}
|
|
<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 %}{{ extra_url_param }}">
|
|
{% if branch.name == url_branch %}<b>{% endif %}
|
|
{{ branch }}
|
|
{% if branch.name == url_branch %}</b>{% endif %}
|
|
</a></li>
|
|
{% endfor %}
|
|
{% if comparison_branches %}
|
|
<li class="divider"></li>
|
|
{% for branch in comparison_branches %}
|
|
<li><a href="{% url 'comparison_recipe_search' branch.name %}">
|
|
{% if branch.name == url_branch %}<b>{% endif %}
|
|
{{ branch }}
|
|
{% if branch.name == url_branch %}</b>{% endif %}
|
|
</a></li>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</ul>
|
|
</li>
|
|
{% endblock %}
|
|
</ul>
|
|
|
|
<ul class="nav">
|
|
{% block navs %}{% endblock %}
|
|
</ul>
|
|
{% block navs_extra %}{% endblock %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block content_inner %}{% endblock %}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|