summaryrefslogtreecommitdiffstats
path: root/virtualenv
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2014-01-09 13:33:53 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2014-01-09 13:33:53 (GMT)
commit0cc4ff6fd5dd44488425b5b53625ef7a09c59c08 (patch)
tree284a63164801fe384523f3935ca40e46aefd8d8f /virtualenv
parent8015f287c2fbb688e9e8c980e0ec2bdcdc823d40 (diff)
downloadunivnautes-old-0cc4ff6fd5dd44488425b5b53625ef7a09c59c08.zip
univnautes-old-0cc4ff6fd5dd44488425b5b53625ef7a09c59c08.tar.gz
univnautes-old-0cc4ff6fd5dd44488425b5b53625ef7a09c59c08.tar.bz2
pfidp/templates: fixes
Diffstat (limited to 'virtualenv')
-rw-r--r--virtualenv/pfidp/templates/users_admin/base.html3
-rw-r--r--virtualenv/pfidp/templates/users_admin/index.html17
2 files changed, 13 insertions, 7 deletions
diff --git a/virtualenv/pfidp/templates/users_admin/base.html b/virtualenv/pfidp/templates/users_admin/base.html
index 023b8bc..e65948e 100644
--- a/virtualenv/pfidp/templates/users_admin/base.html
+++ b/virtualenv/pfidp/templates/users_admin/base.html
@@ -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 %}
diff --git a/virtualenv/pfidp/templates/users_admin/index.html b/virtualenv/pfidp/templates/users_admin/index.html
index 0962ea9..c20dd24 100644
--- a/virtualenv/pfidp/templates/users_admin/index.html
+++ b/virtualenv/pfidp/templates/users_admin/index.html
@@ -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>