This commit is contained in:
David Taylor
2016-06-14 19:45:45 +01:00
parent 1163b117e4
commit f265da2f1d
2 changed files with 105 additions and 101 deletions

View File

@@ -22,15 +22,16 @@
{% paginator %} {% paginator %}
</div> </div>
{% endif %} {% endif %}
<table class="table table-responsive table-hover"> <div class="table-responsive">
<table class="table table-hover">
<thead> <thead>
<tr> <tr>
<th class="hiddenx-xs">#</th> <th>#</th>
<th>Start Date</th> <th>Start Date</th>
<th>Event Name</th> <th>Event Name</th>
<th>Client</th> <th>Client</th>
<th>Cost</th> <th>Cost</th>
<th class="hidden-xs">MIC</th> <th>MIC</th>
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
@@ -50,7 +51,7 @@
danger danger
{% endif %} {% endif %}
"> ">
<td class="hidden-xs"><a href="{% url 'event_detail' object.pk %}">N{{ object.pk|stringformat:"05d" }}</a><br> <td><a href="{% url 'event_detail' object.pk %}">N{{ object.pk|stringformat:"05d" }}</a><br>
<span class="text-muted">{{ object.get_status_display }}</span></td> <span class="text-muted">{{ object.get_status_display }}</span></td>
<td>{{ object.start_date }}</td> <td>{{ object.start_date }}</td>
<td>{{ object.name }}</td> <td>{{ object.name }}</td>
@@ -84,6 +85,7 @@
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
</div>
{% if is_paginated %} {% if is_paginated %}
<div class="col-md-6 col-md-offset-6 col-sm-12 text-right"> <div class="col-md-6 col-md-offset-6 col-sm-12 text-right">
{% paginator %} {% paginator %}

View File

@@ -12,7 +12,8 @@
{% paginator %} {% paginator %}
</div> </div>
{% endif %} {% endif %}
<table class="table table-responsive table-hover"> <div class="table-responsive">
<table class="table table-hover">
<thead> <thead>
<tr> <tr>
<th>#</th> <th>#</th>
@@ -53,6 +54,7 @@
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
</div>
{% if is_paginated %} {% if is_paginated %}
<div class="col-md-6 col-md-offset-6 col-sm-12 text-right"> <div class="col-md-6 col-md-offset-6 col-sm-12 text-right">
{% paginator %} {% paginator %}