diff options
author | Mariano Lopez <mariano.lopez@linux.intel.com> | 2015-04-09 17:04:35 -0500 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-05-04 23:57:52 +1200 |
commit | dc4d4f8aa99a8f12e0b47d6dffcb4d1c36689a08 (patch) | |
tree | 3b267407f7fa89d8c7c414552f9ddeb50a60f904 /templates | |
parent | a2e5ef75ebfea65c87252369b00b32e07c31160c (diff) | |
download | openembedded-core-contrib-dc4d4f8aa99a8f12e0b47d6dffcb4d1c36689a08.tar.gz |
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>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/rrs/maintainers.html | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/templates/rrs/maintainers.html b/templates/rrs/maintainers.html index b4ef50b086..c64f734b7c 100644 --- a/templates/rrs/maintainers.html +++ b/templates/rrs/maintainers.html @@ -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 %} |