|
8 | 8 | {% origin %} |
9 | 9 | <h2>Nomination status</h2> |
10 | 10 |
|
11 | | - <table class="table table-condensed table-striped"> |
| 11 | + <div class="table-responsive"> |
| 12 | + <table class="table table-condensed table-striped table-hover col-sm-10"> |
12 | 13 | <thead> |
13 | 14 | <tr> |
14 | | - <th>Position</th> |
15 | | - <th>Accepted</th> |
16 | | - <th>Declined</th> |
17 | | - <th>Pending</th> |
18 | | - <th>Questionnaire response</th> |
19 | | - <th>Total</th> |
| 15 | + <th class="col-sm-3">Position</th> |
| 16 | + <th class="col-sm-1">Nominations</th> |
| 17 | + <th class="col-sm-1">Unique Nominees</th> |
| 18 | + <th class="col-sm-1">Accepted</th> |
| 19 | + <th class="col-sm-1">Declined</th> |
| 20 | + <th class="col-sm-1">Pending</th> |
| 21 | + <th class="col-sm-1">Questionnaire responses</th> |
| 22 | + <th class="col-sm-1">Comments</th> |
20 | 23 | </tr> |
21 | 24 | </thead> |
22 | 25 | <tbody> |
23 | 26 | {% for item in stats %} |
24 | 27 | <tr> |
25 | 28 | <td>{{ item.position__name }}</td> |
| 29 | + <td>{{ item.nominations }}</td> |
| 30 | + <td>{{ item.nominees }}</td> |
26 | 31 | <td>{{ item.accepted }}</td> |
27 | 32 | <td>{{ item.declined }}</td> |
28 | 33 | <td>{{ item.pending }}</td> |
29 | 34 | <td>{{ item.questionnaire }}</td> |
30 | | - <td>{{ item.total }}</td> |
| 35 | + <td>{{ item.comments }}</td> |
31 | 36 | </tr> |
32 | 37 | {% endfor %} |
33 | 38 | </tbody> |
| 39 | + <tfoot> |
| 40 | + <tr> |
| 41 | + <th>Totals</th> |
| 42 | + <th>{{ totals.nominations }}</th> |
| 43 | + <th>{{ totals.nominees }}</th> |
| 44 | + <th>{{ totals.accepted }}</th> |
| 45 | + <th>{{ totals.declined }}</th> |
| 46 | + <th>{{ totals.pending }}</th> |
| 47 | + <th>{{ totals.questionnaire }}</th> |
| 48 | + <th>{{ totals.comments }}</th> |
| 49 | + </tr> |
| 50 | + <tr> |
| 51 | + <th>Unique Nominee Totals</th> |
| 52 | + <th>-</th> |
| 53 | + <th>{{ unique_totals.nominees }}</th> |
| 54 | + <th>{{ unique_totals.accepted }}</th> |
| 55 | + <th>{{ unique_totals.declined }}</th> |
| 56 | + <th>{{ unique_totals.pending }}</th> |
| 57 | + <th>-</th> |
| 58 | + <th>-</th> |
| 59 | + </tr> |
| 60 | + </tfoot> |
34 | 61 | </table> |
| 62 | + </div> |
35 | 63 |
|
36 | 64 | <h2>Nominees by position</h2> |
37 | 65 |
|
@@ -66,11 +94,12 @@ <h2>Nominees by position</h2> |
66 | 94 | </form> |
67 | 95 |
|
68 | 96 |
|
| 97 | + <div class="table-responsive"> |
69 | 98 | {% if is_chair and nomcom.group.state_id == 'active' %} |
70 | 99 | <form class="form-inline" id="batch-action-form" method="post">{% csrf_token %} |
71 | 100 | {% endif %} |
72 | 101 |
|
73 | | - <table class="table table-condensed table-striped"> |
| 102 | + <table class="table table-condensed table-striped table-hover"> |
74 | 103 | <thead> |
75 | 104 | <tr> |
76 | 105 | {% if is_chair and nomcom.group.state_id == 'active' %}<th colspan="2"><span class="fa fa-check"></span></th>{% endif %} |
@@ -117,5 +146,6 @@ <h2>Nominees by position</h2> |
117 | 146 | </form> |
118 | 147 | {% endif %} |
119 | 148 | {% endif %} |
| 149 | + </div> |
120 | 150 |
|
121 | 151 | {% endblock %} |
0 commit comments