2014-01-23 02:46:16 +01:00
|
|
|
<% include header.tt %>
|
2014-01-23 00:25:33 +01:00
|
|
|
<% include sidebar.tt %>
|
2014-01-24 22:37:02 +01:00
|
|
|
<% include error.tt %>
|
2014-01-21 20:06:10 +01:00
|
|
|
|
|
|
|
<div id="page">
|
|
|
|
|
|
|
|
<% 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>
|
2015-10-13 19:06:37 +02:00
|
|
|
<td><% domain.domain %></td>
|
2014-01-23 21:30:52 +01:00
|
|
|
|
2014-01-21 20:06:10 +01:00
|
|
|
<td>
|
2015-10-13 19:06:37 +02:00
|
|
|
<a href="/domain/details/<% domain.domain %>" ><button type="button" class="btn btn-primary">Détails</button></a>
|
2014-01-21 20:06:10 +01:00
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
2015-12-28 17:53:41 +01:00
|
|
|
<a href="/domain/del/<% domain.domain %>" onclick="return confirm('Êtes-vous sûr ?');">
|
2015-12-22 22:31:14 +01:00
|
|
|
<button type="button" class="btn btn-danger">
|
|
|
|
Supprimer
|
|
|
|
</button>
|
|
|
|
</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 %>
|
|
|
|
|
2015-12-22 22:31:14 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-4 col-sm-offset-1">
|
|
|
|
<h3>Ajouter un nouveau domaine :</h3>
|
|
|
|
<form class="form" action='/domain/add/' method="post" >
|
|
|
|
<% IF domainName.defined %>
|
|
|
|
<input type='text' name='domain' value="<% domainName %>" />
|
|
|
|
<% ELSE %>
|
|
|
|
<input type='text' name='domain' />
|
|
|
|
<% END %>
|
|
|
|
<select name='tld' class='form-control' >
|
|
|
|
<% FOREACH dom in provideddomains %>
|
|
|
|
<option><% dom %></option>
|
|
|
|
<% END %>
|
|
|
|
</select>
|
|
|
|
<input type='submit' name='submit' value="Créer mon domaine!"
|
|
|
|
class='btn btn-primary' />
|
|
|
|
</form>
|
2015-12-28 01:29:24 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-sm-4 col-sm-offset-1">
|
|
|
|
<h3>Changer son mot de passe :</h3>
|
|
|
|
|
|
|
|
<form class="form" action='/user/changepasswd' method="post" >
|
|
|
|
<input type='password' name='password'/>
|
|
|
|
<input type='submit' name='submit' value="Changer mon mot de passe"
|
|
|
|
class='btn btn-primary' />
|
|
|
|
</form>
|
2015-12-22 22:31:14 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-01-21 20:06:10 +01:00
|
|
|
|
2015-12-28 01:29:24 +01:00
|
|
|
|
2014-01-21 20:06:10 +01:00
|
|
|
</div>
|
2014-01-23 02:46:16 +01:00
|
|
|
|
|
|
|
</div> <!-- fin de colonne -->
|
|
|
|
</div> <!-- fin de ligne -->
|