72 lines
2.1 KiB
HTML
72 lines
2.1 KiB
HTML
{% load staticfiles %}<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Utilisateurs UnivNautes</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
|
|
<link href="{% static "bootstrap/css/bootstrap.css" %}" rel="stylesheet">
|
|
<style>
|
|
body { padding-top: 60px; }
|
|
th { text-align: right; padding-right: 20px; vertical-align: top; }
|
|
.disabled { color: #ccc; }
|
|
ul.errorlist { list-style-type: none; margin: 0; }
|
|
ul.errorlist li { color: #f00; }
|
|
.helptext { font-size: 0.8em; font-style: italic; }
|
|
|
|
div.user-block {
|
|
position: relative;
|
|
margin: 15px 0;
|
|
padding: 0px 19px 14px;
|
|
background-color: #fff;
|
|
border: 2px solid #222;
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
border-radius: 4px;
|
|
}
|
|
span.user-descr {
|
|
color: #777;
|
|
}
|
|
|
|
</style>
|
|
<link href="{% static "bootstrap/css/bootstrap-responsive.css" %}" rel="stylesheet">
|
|
|
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
<!--[if lt IE 9]>
|
|
<script src="{% static "html5shiv/js/html5shiv.js" %}></script>
|
|
<![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>
|
|
|
|
<div class="navbar navbar-fixed-top">
|
|
<div class="navbar-inner">
|
|
<div class="container">
|
|
<span class="brand">Utilisateurs IdP UnivNautes — {% now "j F Y H:i" %}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container">
|
|
|
|
{% for user in users %}
|
|
<div class="user-block">
|
|
<h2>
|
|
Login : {{ user.name }}
|
|
{% if user.descr %}<span class="user-descr"> — {{ user.descr }}</span>{% endif %}
|
|
</h2>
|
|
{% if user.password %}<h4>Mot de passe : {{ user.password }}</h4>{% endif %}
|
|
<p>Expire le {{ user.expires }}</p>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|