Now tables in /user/list/ and /admin/ have a scroll bar when screen is now wide enough

This commit is contained in:
Peidong Liu 2016-05-06 23:15:46 +08:00
parent 04049fa536
commit aaee153da3
2 changed files with 6 additions and 2 deletions

View File

@ -135,6 +135,7 @@
</div>
</div>
</div>
<div class="table table-responsive">
<table id="myGroupTable" class="table table-striped table-bordered">
<thead>
<tr>
@ -153,7 +154,7 @@
<th> {{ group['quotas'][quota['name']] }} </th>
{% endfor %}
<th><a class="btn btn-xs btn-info" data-toggle="modal" data-target="#ModifyGroupModal_{{ group['name'] }}">Edit</a>&nbsp;
{% if group['name'] in [ "root", "primary", "admin", "fundation" ] %}
{% if group['name'] in [ "root", "primary", "admin", "fundation" ] %}
<a class="btn btn-xs btn-default" href="javascript:void(0)">Delete</a>&nbsp;
{% else %}
<a class="btn btn-xs btn-danger" href="/group/delete/{{group['name']}}">Delete</a>&nbsp;
@ -197,6 +198,7 @@
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>

View File

@ -71,6 +71,7 @@
</div>
</div>
</div>
<div class="table table-responsive">
<table id="myDataTable" class="table table-striped table-bordered">
<thead>
<tr>
@ -176,7 +177,8 @@
</div>
</div>
</table>
</div>
</div>
</div>
</div>