summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default/backbone/queryDialog.html
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-25 20:35:22 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-25 20:35:22 +0100
commit300015755556d198287bc810571645e0640ee22f (patch)
tree1df478dd559dd5440bf4dde8e4ae91756a9ff05c /module/web/templates/default/backbone/queryDialog.html
parentsimple rendering for settings page (diff)
downloadpyload-300015755556d198287bc810571645e0640ee22f.tar.xz
nicer captcha dialog
Diffstat (limited to 'module/web/templates/default/backbone/queryDialog.html')
-rwxr-xr-xmodule/web/templates/default/backbone/queryDialog.html20
1 files changed, 12 insertions, 8 deletions
diff --git a/module/web/templates/default/backbone/queryDialog.html b/module/web/templates/default/backbone/queryDialog.html
index eb05c20e2..fd6eb55ee 100755
--- a/module/web/templates/default/backbone/queryDialog.html
+++ b/module/web/templates/default/backbone/queryDialog.html
@@ -8,19 +8,23 @@
{% block content %}
<form class="form-horizontal" action="#">
<legend><% description %></legend>
+ <%= if captcha %>
<div class="control-group">
- <%= if captcha %>
- <label class="control-label" for="inputField">
- <img src="data:image/<% type %>;base64,<% captcha %>">
+ <label class="control-label" for="captchaImage">
+ Captcha Image
</label>
- <% else %>
- <label class="control-label" for="inputField">
- <% content %>
- </label>
- <%/if%>
+ <div class="controls">
+ <img id="captchaImage" src="data:image/<% type %>;base64,<% captcha %>">
+ </div>
+ </div>
+ <div class="control-group">
+ <label class="control-label" for="inputField">Captcha Text</label>
<div class="controls" id="inputField">
</div>
</div>
+ <% else %>
+ <% content %>
+ <%/if%>
</form>
{% endblock %}
{% block buttons %}