mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
templates/rrs/maintainers.html: Added links to recipe page.
rrs/static/css/rrs-additional.css: Added formating to the table footer. Added links to recipe page using the update status filter in the header. Changed the <th> tags in the footer to <td>. Added color to the footer format instead of bold. Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
parent
573d2deb71
commit
920564d556
|
@ -90,6 +90,10 @@ th > a, th.muted {
|
||||||
color: #c09853;
|
color: #c09853;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.totalRow {
|
||||||
|
background-color: #fcf8e3;
|
||||||
|
}
|
||||||
|
|
||||||
/* status styles */
|
/* status styles */
|
||||||
|
|
||||||
.well{
|
.well{
|
||||||
|
|
|
@ -105,21 +105,36 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot id="statistics-table-foot">
|
<tfoot id="statistics-table-foot">
|
||||||
<tr class="totalRow">
|
<tr class="totalRow">
|
||||||
<th id="totalCell">Total</th>
|
<td id="totalCell">Total</td>
|
||||||
<th id="totalAssigned" class="totalCol"></th>
|
<td>
|
||||||
<th id="totalUptoDate" class="totalCol"></th>
|
<a id="totalAssigned" class="totalCol" href="{% url 'recipes' release_name milestone_name %}">
|
||||||
<th class="totalCol"></th>
|
</a>
|
||||||
<th class="totalCol"></th>
|
</td>
|
||||||
<th class="totalCol"></th>
|
<td>
|
||||||
<th id="totalPercentage"></th>
|
<a id="totalUptoDate" class="totalCol" href="{% url 'recipes' release_name milestone_name %}?upstream_status={{ "Up-to-date"|urlencode }}">
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a class="totalCol" href="{% url 'recipes' release_name milestone_name %}?upstream_status={{ "Not updated"|urlencode }}">
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a class="totalCol" href="{% url 'recipes' release_name milestone_name %}?upstream_status={{ "Can't be updated"|urlencode }}">
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a class="totalCol" href="{% url 'recipes' release_name milestone_name %}?upstream_status={{ "Unknown"|urlencode }}">
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td id="totalPercentage"></td>
|
||||||
{% for i in intervals %}
|
{% for i in intervals %}
|
||||||
{% if current_interval == forloop.counter0 %}
|
{% if current_interval == forloop.counter0 %}
|
||||||
<th class="current-wk">
|
<td class="current-wk">
|
||||||
{% else %}
|
{% else %}
|
||||||
<th class="totalCol">
|
<td class="totalCol">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ i }}
|
{{ i }}
|
||||||
</th>
|
</td>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
|
@ -160,7 +175,7 @@ $(document).ready(function() {
|
||||||
$('#statistics-table').show()
|
$('#statistics-table').show()
|
||||||
$('#no_maintainers_alert').hide()
|
$('#no_maintainers_alert').hide()
|
||||||
|
|
||||||
count = 0
|
count = -1
|
||||||
$('tr:visible').each(function() {
|
$('tr:visible').each(function() {
|
||||||
count++
|
count++
|
||||||
});
|
});
|
||||||
|
@ -223,7 +238,6 @@ $(document).ready(function() {
|
||||||
tempInt2 = parseInt($("#totalAssigned").html())
|
tempInt2 = parseInt($("#totalAssigned").html())
|
||||||
tempInt1 = ((tempInt1/tempInt2).toFixed(2))*100
|
tempInt1 = ((tempInt1/tempInt2).toFixed(2))*100
|
||||||
$("#totalPercentage").html(tempInt1 +'%')
|
$("#totalPercentage").html(tempInt1 +'%')
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
{% if maintainer_count > 0 %}
|
{% if maintainer_count > 0 %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user