2014-01-23 02:46:16 +01:00
|
|
|
<% include header.tt %>
|
2014-01-23 00:25:33 +01:00
|
|
|
<% include sidebar.tt %>
|
2014-01-21 20:06:10 +01:00
|
|
|
|
|
|
|
<div id="page">
|
|
|
|
|
2014-01-21 00:16:26 +01:00
|
|
|
<!-- Permettra une mise en forme plus propre. -->
|
|
|
|
<% IF creationSuccess == 1 %>
|
2014-01-23 02:46:16 +01:00
|
|
|
<div class="alert alert-success">
|
|
|
|
<p><strong>Bien !</strong> Le domaine « <% domainName %> » a bien été créé.
|
|
|
|
<span class="glyphicon glyphicon-ok"></span>
|
2014-01-21 00:16:26 +01:00
|
|
|
</p>
|
2014-01-23 02:46:16 +01:00
|
|
|
</div>
|
2014-01-21 00:16:26 +01:00
|
|
|
<% ELSIF creationFailure == 1 %>
|
2014-01-23 02:46:16 +01:00
|
|
|
<div class="alert alert-danger">
|
|
|
|
<p><strong>Oh !</strong> Le domaine « <% domainName %> » n'a pu être créé.
|
|
|
|
<span class="glyphicon glyphicon-remove"></span>
|
2014-01-21 00:16:26 +01:00
|
|
|
</p>
|
2014-01-23 02:46:16 +01:00
|
|
|
</div>
|
2014-01-21 00:16:26 +01:00
|
|
|
<% END %>
|
|
|
|
|
2014-01-21 20:06:10 +01:00
|
|
|
<% IF domains && domains.size %>
|
|
|
|
<h3>Vos domaines :</h3>
|
2014-01-23 02:46:16 +01:00
|
|
|
<table class="table">
|
2014-01-21 20:06:10 +01:00
|
|
|
<% FOREACH domain in domains %>
|
|
|
|
<tr>
|
|
|
|
<td>
|
2014-01-23 02:46:16 +01:00
|
|
|
<a href="/domain/details/<% domain %>" ><% domain %></a>
|
2014-01-21 20:06:10 +01:00
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
2014-01-23 02:46:16 +01:00
|
|
|
<a href="/domain/del/<% domain %>">Supprimer</a>
|
2014-01-21 20:06:10 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% END %>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
<% ELSE %>
|
2014-01-23 02:46:16 +01:00
|
|
|
<p class="text-danger">Pas encore de nom de domaine ?</p>
|
|
|
|
<p>Réservez-en un ! \o/</p>
|
2014-01-21 20:06:10 +01:00
|
|
|
<% END %>
|
|
|
|
|
2014-01-23 02:46:16 +01:00
|
|
|
<h3>Ajouter un nouveau domaine :</h3>
|
2014-01-21 20:06:10 +01:00
|
|
|
|
2014-01-23 02:46:16 +01:00
|
|
|
<form class="form" action='/domain/add/' method="post" >
|
2014-01-21 20:06:10 +01:00
|
|
|
<input type='text' name='domain'/>
|
2014-01-23 02:46:16 +01:00
|
|
|
<input type='submit' name='submit' value="Créer mon domaine!" />
|
2014-01-21 20:06:10 +01:00
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
2014-01-23 02:46:16 +01:00
|
|
|
|
|
|
|
</div> <!-- fin de colonne -->
|
|
|
|
</div> <!-- fin de ligne -->
|