aboutsummaryrefslogtreecommitdiffstats
path: root/templates/list-domains.html
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2013-01-20 03:04:17 +0100
committerGuilhem Moulin <guilhem.moulin@fripost.org>2013-01-20 03:04:17 +0100
commit35c4ad13a52bdcaab251358e4b7df99dd852c76d (patch)
tree8fcafeae85ae97332a6a5e9d0ff2abcd178e537b /templates/list-domains.html
parentf7701a60f217ab154fe53a5d13bbd223f6182150 (diff)
New domains.
Diffstat (limited to 'templates/list-domains.html')
-rw-r--r--templates/list-domains.html15
1 files changed, 12 insertions, 3 deletions
diff --git a/templates/list-domains.html b/templates/list-domains.html
index 5ebdd05..5edb4fc 100644
--- a/templates/list-domains.html
+++ b/templates/list-domains.html
@@ -33,9 +33,18 @@
<tbody>
<TMPL_LOOP NAME=domains>
<TMPL_IF NAME=__even__><tr class="odd"><TMPL_ELSE><tr></TMPL_IF>
- <td><span class="domain"><a href="<TMPL_VAR NAME=domainURI>/"><TMPL_VAR NAME=domain></a></span></td>
- <td><TMPL_IF NAME=description><TMPL_VAR NAME=description><TMPL_ELSE><span class="none">(none)</span></TMPL_IF></td>
- <td><TMPL_IF NAME=isactive><span class="active">&#x2714;</span><TMPL_ELSE><span class="inactive">&#x2718;</span></TMPL_IF></td>
+ <td><span class="domain"><TMPL_UNLESS NAME=ispending><a href="<TMPL_VAR NAME=domainURI>/"></TMPL_UNLESS><TMPL_VAR NAME=domain><TMPL_UNLESS NAME=ispending></a></TMPL_UNLESS></span></td>
+ <td><TMPL_IF NAME=ispending
+ ><form class="unlock" method="post" action="?"
+ ><input type="text" name="unlock" size="32"
+ ><input type="hidden" name="domain" value="<TMPL_VAR NAME=domain>"
+ /><input type="submit" name="submit" value="Unlock domain"
+ /></form
+ ><TMPL_ELSE><TMPL_IF NAME=description><TMPL_VAR NAME=description><TMPL_ELSE><span class="none">(none)</span></TMPL_IF
+ ></TMPL_IF></td>
+ <td><TMPL_IF NAME=ispending><span class="pending">&#x2691;</span>
+ <TMPL_ELSE><TMPL_IF NAME=isactive><span class="active">&#x2714;</span>
+ <TMPL_ELSE><span class="inactive">&#x2718;</span></TMPL_IF></TMPL_IF></td>
</tr>
</TMPL_LOOP>
</tbody>