pfidp/templates: fixes

This commit is contained in:
Thomas NOËL 2014-01-09 14:33:53 +01:00
parent 8015f287c2
commit 0cc4ff6fd5
2 changed files with 13 additions and 7 deletions

View File

@ -25,7 +25,7 @@
<![endif]-->
<script type="text/javascript" src="{% static "jquery/js/jquery-1.10.2.min.js" %}"></script>
<script type="text/javascript" src="{% static "bootstrap/js/bootstrap.min.js" %}"></script>
</head>
<body>
@ -51,7 +51,6 @@
{% for message in messages %}
<div class="alert alert-block">
<a class="close" data-dismiss="alert" href="#">×</a>
<!-- h4 class="alert-heading">Warning!</h4 -->
{{ message }}
</div>
{% endfor %}

View File

@ -20,11 +20,18 @@
<table class="table table-condensed table-striped" id="usersTable">
<thead>
<tr>
<th class="type-string">login</th>
<th class="type-string">actif?</th>
<th class="type-string">expiration</th>
<th class="type-string">nom complet</th>
<th></th>
<th data-sort="string">login</th>
<th data-sort="string">actif?</th>
<th data-sort="string">expiration</th>
<th data-sort="string">nom complet</th>
<th><input type="checkbox" id="check-all" /></th>
<script>
$('#check-all').click(function (event) {
$('input[name="users"]').each(function () {
this.click();
});
});
</script>
</tr>
</thead>
<tbody>