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>
174 lines
6.2 KiB
HTML
174 lines
6.2 KiB
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
{% load staticfiles %}
|
|
|
|
{% comment %}
|
|
|
|
rrs-web - recipe detail page template
|
|
|
|
Copyright (C) 2015 Intel Corporation
|
|
Licensed under the MIT license, see COPYING.MIT for details
|
|
|
|
{% endcomment %}
|
|
|
|
{% autoescape on %}
|
|
{% block title_append %} - {{ recipe.pn }}{% endblock %}
|
|
{% endautoescape %}
|
|
|
|
{% block topfunctions %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<link rel="stylesheet" href="{% static "css/rrs-additional.css" %}" />
|
|
{% autoescape on %}
|
|
<div class="page-header">
|
|
<h1>
|
|
{{ recipe.name }} {{ recipe.pv }}
|
|
</h1>
|
|
</div>
|
|
|
|
<div class="navbar">
|
|
<div class="navbar-inner">
|
|
<ul class="nav">
|
|
{% if upstream_status == "Up-to-date" %}
|
|
<li class="lead">Upstream status: <span class="text-success">{{ upstream_status }}</span></li>
|
|
{% elif upstream_status == "Not updated" %}
|
|
<li class="lead">Upstream status: <span class="text-error">{{ upstream_status }}</span></li>
|
|
{% elif upstream_status == "Can't be updated" %}
|
|
<li class="lead">Upstream status: <span class="muted">{{ upstream_status }}</span></li>
|
|
{% else %}
|
|
<li class="lead">Upstream status: <span class="text-warning">{{ upstream_status }}</span></li>
|
|
{% endif %}
|
|
{% if upstream_status == "Not updated" or upstream_status == "Can't be updated" %}
|
|
<li class="divider-vertical"></li>
|
|
<li class="lead">Upstream version: <span>{{ upstream_version }}</span></li>
|
|
{% endif %}
|
|
<li class="divider-vertical"></li>
|
|
<li class="lead">Maintainer: <span><a href="{% url recipes release_name milestone_name %}?maintainer_name={{ maintainer_name|urlencode }}">{{ maintainer_name }}</a></span></li>
|
|
<li class="divider-vertical"></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row-fluid">
|
|
<div class="span8">
|
|
{% if upstream_no_update_reason %}
|
|
<h2>Reason why this recipe can't be updated</h2>
|
|
<p class="lead">{{ upstream_no_update_reason }}</p>
|
|
{% endif %}
|
|
|
|
<h2>Updates</h2>
|
|
{% if recipe_upgrade_detail_count == 0 %}
|
|
<div class="alert alert-info">
|
|
There are no updates prior to <strong>{{ milestone_name }}</strong>
|
|
</div>
|
|
{% else %}
|
|
<table class="table table-striped table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<th>Title</th>
|
|
<th>Version</th>
|
|
<th>Milestone</th>
|
|
<th>Date</th>
|
|
<th>Maintainer</th>
|
|
<th>Commit</th>
|
|
</tr>
|
|
{% for rud in recipe_upgrade_details %}
|
|
<tr>
|
|
<td>{{ rud.title }}</td>
|
|
<td>{{ rud.version }}</td>
|
|
{% if rud.milestone_name %}
|
|
<td><a href="{% url recipes rud.release_name rud.milestone_name %}">{{ rud.milestone_name }}</a></td>
|
|
{% else %}
|
|
<td>{{ rud.milestone_name }}</td>
|
|
{% endif %}
|
|
<td>{{ rud.date }}</td>
|
|
|
|
{% if rud.is_recipe_maintainer %}
|
|
<td><a href="{% url recipes rud.release_name rud.milestone_name %}?maintainer_name={{ rud.maintainer_name|urlencode }}">{{ rud.maintainer_name }}</a></td>
|
|
{% else %}
|
|
<td>{{ rud.maintainer_name }}</a></td>
|
|
{% endif %}
|
|
<td><a href="{{ rud.commit_url }}">{{ rud.commit }}</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<div class="span4">
|
|
<h2>About {{ recipe.pn }}</h2>
|
|
<div class="well well-transparent">
|
|
<dl>
|
|
<dt>Summary</dt>
|
|
<dd>{{ recipe.summary }}</dd>
|
|
<dt>Section</dt>
|
|
<dd>{{ recipe.section }}</dd>
|
|
<dt>License</dt>
|
|
<dd>{{ recipe.license }}</dd>
|
|
<dt>Recipe file</dt>
|
|
<dd>
|
|
{% if recipe.vcs_web_url %}
|
|
<a href="{{ recipe.vcs_web_url }}">{{ recipe.full_path }}</a>
|
|
{% else %}
|
|
{{ recipe.full_path }}
|
|
{% endif %}
|
|
</dd>
|
|
<dt>Layer</dd>
|
|
<dd><a href="{{ recipe_layer_branch_url }}">{{ recipe.layerbranch.layer.name }} ({{ recipe.layerbranch.branch.name}} branch)</a></dd>
|
|
|
|
{% if recipe.homepage %}
|
|
<dt>Homepage</dt>
|
|
<dd>{% if recipe.homepage %}<a href="{{ recipe.homepage }}">{{ recipe.homepage }}</a>{% endif %}</dd>
|
|
{% endif %}
|
|
|
|
{% if recipe.bugtracker %}
|
|
<dt>Bug tracker</dt>
|
|
<dd><a href="{{ recipe.bugtracker }}">{{ recipe.bugtracker }}</a></dd>
|
|
{% endif %}
|
|
|
|
{% if recipe.src_uri %}
|
|
<dt>Source URI</dt>
|
|
<dd><a href="{{ recipe.src_uri }}">{{ recipe.src_uri }}</a></dd>
|
|
{% endif %}
|
|
|
|
{% if recipe_provides %}
|
|
<dt>Provides</dt>
|
|
<dd>
|
|
<ul class="unstyled">
|
|
{% for p in recipe_provides %}
|
|
<li>{{ p }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</dd>
|
|
{% endif %}
|
|
|
|
{% if recipe_depends %}
|
|
<dt>Depends</dt>
|
|
<dd>
|
|
<ul class="unstyled">
|
|
{% for d in recipe_depends %}
|
|
<li>{{ d }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</dd>
|
|
{% endif %}
|
|
|
|
{% if recipe_distros %}
|
|
<dt>Distributions</dt>
|
|
<dd>
|
|
<ul class="unstyled">
|
|
{% for d in recipe_distros %}
|
|
<li>{{ d }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</dd>
|
|
{% endif %}
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endautoescape %}
|
|
{% endblock %}
|