60dafbda04
* Update upload.html * Update _captcha.html * Update view.html * Update main.css * Update home.html * Update main.css * Update main.css * Update view.html * Update main.css * Update main.css
11 lignes
498 o
HTML
11 lignes
498 o
HTML
{{define "captcha"}}
|
|
{{/* unset if user doesn't need captcha */}}
|
|
{{if ne .CaptchaID ""}}
|
|
<div class="form-group captcha-container">
|
|
<h3>{{call $.T "captcha"}}</h3>
|
|
<input type="text" name="captchaID" value="{{.CaptchaID}}" hidden>
|
|
<img src="/captcha/{{.CaptchaID}}.png"><br>
|
|
<input class="form-input up-input" type="text" name="solution" id="solution" class="form-control" style="width: 240px;" placeholder="{{call $.T "captcha"}}" autocomplete="off" required>
|
|
</div>
|
|
{{end}}
|
|
{{end}}
|