mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49: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
a2e5ef75eb
commit
dc4d4f8aa9
|
@ -90,6 +90,10 @@ th > a, th.muted {
|
|||
color: #c09853;
|
||||
}
|
||||
|
||||
.totalRow {
|
||||
background-color: #fcf8e3;
|
||||
}
|
||||
|
||||
/* status styles */
|
||||
|
||||
.well{
|
||||
|
|
|
@ -105,21 +105,36 @@
|
|||
</tbody>
|
||||
<tfoot id="statistics-table-foot">
|
||||
<tr class="totalRow">
|
||||
<th id="totalCell">Total</th>
|
||||
<th id="totalAssigned" class="totalCol"></th>
|
||||
<th id="totalUptoDate" class="totalCol"></th>
|
||||
<th class="totalCol"></th>
|
||||
<th class="totalCol"></th>
|
||||
<th class="totalCol"></th>
|
||||
<th id="totalPercentage"></th>
|
||||
<td id="totalCell">Total</td>
|
||||
<td>
|
||||
<a id="totalAssigned" class="totalCol" href="{% url 'recipes' release_name milestone_name %}">
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<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 %}
|
||||
{% if current_interval == forloop.counter0 %}
|
||||
<th class="current-wk">
|
||||
<td class="current-wk">
|
||||
{% else %}
|
||||
<th class="totalCol">
|
||||
<td class="totalCol">
|
||||
{% endif %}
|
||||
{{ i }}
|
||||
</th>
|
||||
</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
@ -160,7 +175,7 @@ $(document).ready(function() {
|
|||
$('#statistics-table').show()
|
||||
$('#no_maintainers_alert').hide()
|
||||
|
||||
count = 0
|
||||
count = -1
|
||||
$('tr:visible').each(function() {
|
||||
count++
|
||||
});
|
||||
|
@ -223,7 +238,6 @@ $(document).ready(function() {
|
|||
tempInt2 = parseInt($("#totalAssigned").html())
|
||||
tempInt1 = ((tempInt1/tempInt2).toFixed(2))*100
|
||||
$("#totalPercentage").html(tempInt1 +'%')
|
||||
|
||||
}
|
||||
|
||||
{% if maintainer_count > 0 %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user