Commit 4738fbd269a7352011e9a82abe1030d40ae496c0

Authored by Gustavo
1 parent 161db30f

Started bulletin table that shows user performance

Showing 1 changed file with 33 additions and 0 deletions   Show diff stats
bulletin/templates/bulletin/view.html
... ... @@ -57,6 +57,39 @@
57 57 <hr />
58 58  
59 59 <div class="row">
  60 + <div class="col-md-12">
  61 + <b><h5> {% trans "Check your goals" %}:</b></h5>
  62 + <table class="table table-bordered">
  63 + <thead>
  64 + <tr>
  65 + <th style="text-align:center;vertical-align:middle" colspan="1" rowspan="2">Meta</th>
  66 + <th style="text-align:center;vertical-align:middle" colspan="1" rowspan="2">Média da Turma</th>
  67 + <th style="text-align:center" colspan="3">Dados Individuais</th>
  68 + </tr>
  69 + <tr>
  70 + <th style="text-align:center" colspan="">Desejada</th>
  71 + <th style="text-align:center">Estabelecida</th>
  72 + <th style="text-align:center">Alcançada</th>
  73 + </tr>
  74 + </thead>
  75 + <tbody>
  76 + {% for meta in metas%}
  77 + <tr>
  78 + <td>{{ meta.description }}</td>
  79 + <td></td>
  80 + <td style="text-align:center">{{ meta.desejada }} %</td>
  81 + <td style="text-align:center"> %</td>
  82 + <td style="text-align:center">%</td>
  83 + </tr>
  84 +
  85 + {% endfor %}
  86 + </tbody>
  87 + </table>
  88 + </div>
  89 + </div>
  90 + </div>
  91 +
  92 + <div class="row">
60 93 <div class="col-md-8 col-md-offset-2 alert-warning bulletin-warning">
61 94 <div class="col-md-2">
62 95 <img src="{% static 'img/warning.png' %}" class="img-responsive" />
... ...