Skip to content

Commit

Permalink
Gráfico general.
Browse files Browse the repository at this point in the history
  • Loading branch information
camargozzini committed May 6, 2014
1 parent ec09b70 commit 31f43c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions deldichoalhecho_theme/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
{% block content %}
<div class="jumbotron">
{% include "jumbotron.html" %}
{% include "summary.html" with summary=summary %}
</div>
<div class="container">
<div class="panel-group" id="categories">
Expand Down
6 changes: 3 additions & 3 deletions deldichoalhecho_theme/templates/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

<div class="progress">
<div class="progress-bar progress-bar-success" style="width: {{summary.accomplished}}%">
<span class="sr-only">{{summary.accomplished}}% Complete (success)</span>
<span class="">{{summary.accomplished}}% Cumplido</span>
</div>
<div class="progress-bar progress-bar-warning" style="width: {{summary.in_progress}}%">
<span class="sr-only">{{summary.in_progress}}% Complete (warning)</span>
<span class="sr-only">{{summary.in_progress}}% En proceso</span>
</div>
<div class="progress-bar progress-bar-danger" style="width: {{summary.no_progress}}%">
<span class="sr-only">{{summary.no_progress}}% Complete (danger)</span>
<span class="sr-only">{{summary.no_progress}}% Sin avance</span>
</div>
</div>

0 comments on commit 31f43c3

Please sign in to comment.