Obsolete
/
dnsmanagerv1
Archived
3
0
Fork 0
This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues/pull-requests.
dnsmanagerv1/www/views/home.tt

51 lines
935 B
Plaintext
Raw Normal View History

2014-01-21 20:06:10 +01:00
<div id="sidebar">
Welcome <% login %> !
<br />
<a href="/user/logout">Déconnexion</a>
<br />
<% IF admin == 1 %>
<a href='/admin'>Page d'administration</a>
<br />
<% END %>
<a href='/'>Accueil</a>
</div>
<div id="page">
<% IF domains && domains.size %>
<h3>Vos domaines :</h3>
<br />
<table>
<% FOREACH domain in domains %>
<tr>
<td>
<a href="/domain/details/<%domain%>" ><%domain%></a>
</td>
<td>
<a href="/domain/del/<%domain%>">Supprimer</a>
</td>
</tr>
<% END %>
</table>
<br/>
<% ELSE %>
Vous n'avez pas encore de noms de domaines… réservez-en un ! \o/
<% END %>
<h3>Ajouter un nouveau domaine.</h3>
<form action='/domain/add/' method="post" >
<input type='text' name='domain'/>
<input type='submit' name='submit'/>
</form>
</div>