+++ /dev/null
-{% extends "admin_base.html" %}
-
-{% load formatters %}
-
-{% block body %}
-
-<div class="row">
- <div class="offset10 span3">
- <form method="get">
- <div class="input">
- <input class="span3" name="filter" type="search" placeholder="search" value="{{ filter }}">
- </div>
- </form>
- </div>
-</div>
-
-<table class="zebra-striped id-sorted">
- <thead>
- <tr>
- <th>ID</th>
- <th>Uniq</th>
- <th>Real Name</th>
- <th>Admin</th>
- <th>Affiliation</th>
- <th>State</th>
- <th>Quota</th>
- <th>Updated</th>
- </tr>
- </thead>
- <tbody>
- {% for user in users %}
- <tr>
- <td><a href="{% url pithos.im.views.users_info user.id %}">{{ user.id }}</a></td>
- <td><a href="{% url pithos.im.views.users_info user.id %}">{{ user.uniq }}</a></td>
- <td>{{ user.realname }}</td>
- <td>{{ user.is_admin }}</td>
- <td>{{ user.affiliation }}</td>
- <td>{{ user.state }}</td>
- <td>{{ user.quota|GiB }} GiB</td>
- <td>{{ user.updated }}</td>
- </tr>
- {% endfor %}
- </tbody>
-</table>
-
-{% if pages|length > 1 %}
-<div class="pagination">
- <ul>
- {% if prev %}
- <li class="prev"><a href="?page={{ prev }}{% if filter %}&filter={{ filter }}{% endif %}">← Previous</a></li>
- {% else %}
- <li class="prev disabled"><a href="#">← Previous</a></li>
- {% endif %}
-
- {% for p in pages %}
- <li{% if page == p %} class="active"{% endif %}><a href="?page={{ p }}{% if filter %}&filter={{ filter }}{% endif %}">{{ p }}</a></li>
- {% endfor %}
-
- {% if next %}
- <li class="next"><a href="?page={{ next }}{% if filter %}&filter={{ filter }}{% endif %}">→ Next</a></li>
- {% else %}
- <li class="next disabled"><a href="#">→ Next</a></li>
- {% endif %}
- </ul>
-</div>
-{% endif %}
-
-<a class="btn success" href="{% url pithos.im.views.users_create %}">Create a user</a>
-<a class="btn success" href="{% url pithos.im.views.users_export %}">Export</a>
-
-<br /><br />
-{% endblock body %}