2014-01-23 02:46:16 +01:00
|
|
|
<% include header.tt %>
|
2014-01-23 00:25:33 +01:00
|
|
|
<% include sidebar.tt %>
|
2014-01-20 01:08:03 +01:00
|
|
|
|
|
|
|
<div id="page">
|
2014-01-22 17:01:34 +01:00
|
|
|
|
2014-01-23 02:46:16 +01:00
|
|
|
<div id="domaines">
|
2014-01-22 17:01:34 +01:00
|
|
|
|
2014-01-23 02:46:16 +01:00
|
|
|
<h3>Domaines gérés</h3>
|
|
|
|
<table class="table" >
|
2014-01-22 17:01:34 +01:00
|
|
|
<tr>
|
|
|
|
<th>domaine</th>
|
|
|
|
<th>utilisateur</th>
|
|
|
|
<th>supprimer domaine</th>
|
|
|
|
<th>supprimer utilisateur</th>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<% FOREACH pair IN alldomains.pairs %>
|
|
|
|
<tr>
|
|
|
|
<td><% pair.key %></td>
|
|
|
|
<td><% pair.value %></td>
|
|
|
|
|
|
|
|
<td>
|
2014-01-23 21:30:52 +01:00
|
|
|
<a href="/domain/del/<% pair.key %>"><button type="button" class="btn btn-danger">Supprimer le domaine</button></a>
|
2014-01-22 17:01:34 +01:00
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
2014-01-23 21:30:52 +01:00
|
|
|
<a href="/user/del/<% pair.value %>"><button type="button" class="btn btn-danger">Supprimer l'utilisateur</button></a>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
<% END %>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="utilisateurs">
|
|
|
|
|
|
|
|
<h3>Utilisateurs enregistrés</h3>
|
|
|
|
<table class="table" >
|
|
|
|
<tr>
|
|
|
|
<th>utilisateur</th>
|
|
|
|
<th>supprimer</th>
|
|
|
|
<th>administrateur</th>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<% FOREACH pair IN allusers.pairs %>
|
|
|
|
<tr>
|
|
|
|
<td><% pair.key %></td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
<a href="/user/del/<% pair.key %>"><button type="button" class="btn btn-danger">Supprimer l'utilisateur</button></a>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
<% IF pair.value == 1 %>
|
|
|
|
<a href="/user/unsetadmin/<% pair.key %>"><button type="button" class="btn btn-danger">Passer utilisateur</button></a>
|
|
|
|
<% ELSE %>
|
|
|
|
<a href="/user/setadmin/<% pair.key %>"><button type="button" class="btn btn-primary">Passer administrateur</button></a>
|
|
|
|
<% END %>
|
2014-01-22 17:01:34 +01:00
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
<%END%>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2014-01-20 01:08:03 +01:00
|
|
|
</div>
|
|
|
|
|
2014-01-23 02:46:16 +01:00
|
|
|
</div> <!-- fin de colonne -->
|
|
|
|
</div> <!-- fin de ligne -->
|