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

Give some space to the tabs, Add some top margin to the nav-pills class so we create some breathing space between the milestone overview and the tabs. Change 'No Maintainer' to 'No maintainer' Just to keep the capitalisation style consistent across the interface. Apply the muted class to all not-sortable table headings The class was missing from the Recipe and Maintainer columns in the recipes table; and from the Not updated and % done column in the maintainers table. Remove the strong tag from the recipe status information This is just to match the presentation of the milestone overview information in the base_toplevel.html template. Separate the footer from the bottom of the viewport, It's hard to see the footer on click on its links when they are so close to the bottom of the veiwport, so add some margin at the bottom of the footer <div>. Change the label of the recipes tab, From 'Recipes status' to 'Recipes upstream status' to match the label of the 'Upstream status' filter in the recipes table. Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
107 lines
4.0 KiB
HTML
107 lines
4.0 KiB
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
{% load staticfiles %}
|
|
|
|
{% load url from future %}
|
|
|
|
{% comment %}
|
|
|
|
rrs-web - top level page template
|
|
|
|
Copyright (C) 2015 Intel Corporation
|
|
Licensed under the MIT license, see COPYING.MIT for details
|
|
|
|
{% endcomment %}
|
|
|
|
{% block topfunctions %}
|
|
<ul class="nav">
|
|
<li class="divider-vertical" style="display; list-item;"/>
|
|
{% block release_selector %}
|
|
<li class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
|
Release: <b>{{ release_name }}</b>
|
|
<b class="caret"></b>
|
|
</a>
|
|
<ul class="dropdown-menu">
|
|
{% for r in all_releases %}
|
|
<li><a href="{% url this_url_name r.name r.name|add:"All" %}{{ extra_url_param }}">
|
|
{% if r.name = release_name %}<b>{% endif %}
|
|
{{ r.name }}
|
|
{% if r.name = release_name %}</b>{% endif %}
|
|
</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% endblock %}
|
|
{% block milestone_selector %}
|
|
<li class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
|
Milestone: <b>{{ milestone_name }}</b>
|
|
<b class="caret"></b>
|
|
</a>
|
|
<ul class="dropdown-menu">
|
|
{% for m in all_milestones %}
|
|
<li><a href="{% url this_url_name release_name m.name %}{{ extra_url_param }}">
|
|
{% if m.name = milestone_name %}<b>{% endif %}
|
|
{{ m.name }}
|
|
{% if m.name = milestone_name %}</b>{% endif %}
|
|
</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% endblock %}
|
|
</ul>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<link rel="stylesheet" href="{% static "css/rrs-additional.css" %}" />
|
|
|
|
<div class="navbar">
|
|
<div class="navbar-inner">
|
|
<span class="brand">{{ milestone_name }}</span>
|
|
<ul class="nav">
|
|
<li class="divider-vertical"></li>
|
|
<li class="lead" id="percentage"><strong>{{ recipes_percentage }}%</strong> done</li>
|
|
<li class="divider-vertical"></li>
|
|
<li class="lead" id="up-to-date-recipes">Up-to-date: <span class="text-success">{{ recipes_up_to_date }}</strong></li>
|
|
<li class="divider-vertical"></li>
|
|
<li class="lead" id="not-updated-recipes">Not updated: <span class="text-error">{{ recipes_not_updated }}</strong></li>
|
|
<li class="divider-vertical"></li>
|
|
<li class="lead" id="cant-be-updated-recipes">Can't be updated: <span class="muted">{{ recipes_cant_be_updated }}</strong></li>
|
|
<li class="divider-vertical"></li>
|
|
<li class="lead" id="unknown-recipes">Unknown: <span class="text-warning">{{ recipes_unknown }}</strong></li>
|
|
</ul>
|
|
<a href="{% url 'recipesreport' release_name milestone_name %}" class="btn pull-right">Export recipe list</a>
|
|
<ul class="nav">
|
|
{% block navs %}{% endblock %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
{% block content_top %}
|
|
<ul class="nav nav-pills">
|
|
{% if this_url_name == 'recipes' %}
|
|
<li class="active">
|
|
<a href="#">
|
|
{% else %}
|
|
<li>
|
|
<a href="{% url 'recipes' release_name milestone_name %}{{ extra_url_param }}">
|
|
{% endif %}
|
|
Recipes upstream status</a>
|
|
</li>
|
|
|
|
{% if this_url_name == 'maintainers' %}
|
|
<li class="active">
|
|
<a href="#">
|
|
{% else %}
|
|
<li>
|
|
<a href="{% url 'maintainers' release_name milestone_name %}">
|
|
{% endif %}
|
|
Maintainer statistics</a>
|
|
</li>
|
|
</ul>
|
|
{% endblock %}
|
|
|
|
{% block content_inner %}{% endblock %}
|
|
{% endblock %}
|