diff options
Diffstat (limited to 'templates/list-domains.html')
-rw-r--r-- | templates/list-domains.html | 15 |
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">✔</span><TMPL_ELSE><span class="inactive">✘</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">⚑</span> + <TMPL_ELSE><TMPL_IF NAME=isactive><span class="active">✔</span> + <TMPL_ELSE><span class="inactive">✘</span></TMPL_IF></TMPL_IF></td> </tr> </TMPL_LOOP> </tbody> |