diff options
author | 2013-07-18 09:28:25 +0100 | |
---|---|---|
committer | 2013-09-05 00:31:23 +0100 | |
commit | 1643aef67d828ff7ca47f63409f23852f8e75e83 (patch) | |
tree | 94383faa89834c8c90042fcc2718733bcb991991 /templates/base.html | |
parent | 97361ae37ec6bc0491a419d6cd67435511a036be (diff) | |
download | openembedded-core-contrib-1643aef67d828ff7ca47f63409f23852f8e75e83.tar.gz |
Navigation improvements
* Drop the front page - this just gets in the way. Redirect to the
layers list instead. This has meant adding a touch more text to the
about page and adding the FAQ link to the footer.
* Use a separate navbar to hold the branch selector and the main
top-level pages (Layers, Recipes, Machines) instead of tabs
* All pages depending on a branch selection are now under
branch/<branchname>/ so we don't need to have the branch selection on
every page.
* Use breadcrumbs on recipe detail and layer detail pages instead of
tabs
* Add title to recipe detail page
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/templates/base.html b/templates/base.html index 525327c2aa..c6ba512a48 100644 --- a/templates/base.html +++ b/templates/base.html @@ -30,31 +30,6 @@ <div class="container-fluid"> <a class="brand" href="{% url frontpage %}">OpenEmbedded metadata index</a> - <ul class="nav"> - {% block branch_selector %} - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown"> - Branch: <b>{{ current_branch }}</b> - <b class="caret"></b> - </a> - <ul class="dropdown-menu"> - {% for branch in all_branches %} - <li><a href="{% url switch_branch branch.name %}"> - {% if branch.name = current_branch %}<b>{% endif %} - {{ branch.name }} - {% if branch.short_description %} - ({{ branch.short_description }}) - {% endif %} - {% if branch.name = current_branch %}</b>{% endif %} - </a></li> - {% endfor %} - {% if oe_classic %} - <li><a href="{% url classic %}">OE-Classic</a></li> - {% endif %} - </ul> - </li> - {% endblock %} - </ul> {% if user.is_authenticated %} <div class="btn-group pull-right"> {% if perms.layerindex.publish_layer %} @@ -90,7 +65,7 @@ </a> <ul class="dropdown-menu"> <li><a href="{% url bulk_change %}">Bulk Change</a></li> - <li><a href="{% url duplicates %}">Duplicates</a></li> + <li><a href="{% url duplicates 'master' %}">Duplicates</a></li> </ul> </li> <li class="divider-vertical"></li> @@ -117,6 +92,7 @@ <div class="footer"> <a href="{% url history_list %}">change history</a> • <a href="{% url about %}">about this site</a> + • <a href="http://www.openembedded.org/Layers_FAQ">FAQ</a> </div> {% endblock %} |