diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-25 20:35:22 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-25 20:35:22 +0100 |
commit | 300015755556d198287bc810571645e0640ee22f (patch) | |
tree | 1df478dd559dd5440bf4dde8e4ae91756a9ff05c | |
parent | simple rendering for settings page (diff) | |
download | pyload-300015755556d198287bc810571645e0640ee22f.tar.xz |
nicer captcha dialog
-rwxr-xr-x | module/web/templates/default/backbone/queryDialog.html | 20 |
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 %} |