2014-01-23 02:46:16 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-2 col-sm-offset-1">
|
2014-01-23 00:25:33 +01:00
|
|
|
|
2014-01-23 02:46:16 +01:00
|
|
|
<div class="panel panel-primary">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">Navigation</h3>
|
|
|
|
</div>
|
2014-01-23 00:25:33 +01:00
|
|
|
|
2014-01-23 02:46:16 +01:00
|
|
|
<div class="panel-body">
|
|
|
|
<% IF login.defined %>
|
2014-01-23 00:25:33 +01:00
|
|
|
|
2014-01-23 02:46:16 +01:00
|
|
|
Salut <% login %> !
|
|
|
|
<hr />
|
2014-01-23 00:25:33 +01:00
|
|
|
|
2014-01-23 02:46:16 +01:00
|
|
|
<div class="list-group">
|
|
|
|
<a href="/user/logout" class="list-group-item active">Déconnexion</a>
|
|
|
|
<a href='/home' class="list-group-item active">Ma page</a>
|
2014-01-23 00:25:33 +01:00
|
|
|
|
2014-01-23 02:46:16 +01:00
|
|
|
<% IF admin == 1 %>
|
|
|
|
<a href='/admin' class="list-group-item ">Administration</a>
|
|
|
|
<% END %>
|
2014-01-23 00:25:33 +01:00
|
|
|
|
2014-01-23 02:46:16 +01:00
|
|
|
<% IF domain.defined %>
|
|
|
|
<a href="/domain/del/<% domain %>" class="list-group-item ">Supprimer la zone</a>
|
|
|
|
<% END %>
|
|
|
|
</div>
|
2014-01-23 00:25:33 +01:00
|
|
|
|
2014-01-23 02:46:16 +01:00
|
|
|
<% IF domains %>
|
|
|
|
<hr />
|
|
|
|
<p>Mes domaines</p>
|
|
|
|
<% FOREACH domain IN domains %>
|
|
|
|
<a href="/domain/details/<% domain %>"><% domain %></a><br />
|
|
|
|
<% END %>
|
|
|
|
<% END %>
|
|
|
|
|
|
|
|
<% ELSE %>
|
|
|
|
<form role="form" action="/user/login" method="post" accept-charset="utf-8">
|
|
|
|
<div class="form-group">
|
|
|
|
<fieldset>
|
|
|
|
<legend>Se connecter:</legend>
|
|
|
|
<label for="login">Votre identifiant : </label>
|
|
|
|
<input type="text" name="login" value="" />
|
|
|
|
|
|
|
|
<label for="password">Votre mot de passe : </label>
|
|
|
|
<input type="password" name="password" value="" />
|
|
|
|
<p><input type="submit" value="Connexion →" /></p>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<% END %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div><!-- /.col-sm-2 -->
|
|
|
|
<div class="col-sm-8">
|