Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/templates/layouts/partials/helpers/captcha.jet.html
kilo 615ff10dc8 Fix some html errors (#1549)
* Remove useless / that created html error

* Slightly bigger font for torrent name on view.html, padding fixes

* Set kilo.js to look for span class name instead of name to remove HTML error

* Change span name into class to remove html errors

* remove name attribute

* remove link to user profile is Anon or invalid userid

* fix duplicate class attribute

* remove useless center, remove useless attribute, remove useless yield errors & bad name attribute

* turn name attribute into ID

* JS changes to go along

* fix travis

* Delete OldNav.jet.html

* Create oldNav.jet.html

* turn <li> into <span>

* Update classic.css

* Update main.css

* Update g.css

* Update tomorrow.css

* Update tomorrow.css

* Update classic_colors.css
2017-09-11 21:59:17 +02:00

17 lignes
733 o
HTML

{{block captcha(captchaid="")}}
{* unset if user doesn't need captcha *}
{{if captchaid != ""}}
<div class="form-group captcha-container" style="width: 240px;margin: auto;">
<h3>{{ T("captcha")}}</h3>
<input type="text" name="captchaID" value="{{captchaid}}" hidden/>
<img src="/captcha/{{captchaid}}.png" alt="captcha">
<br/>
<audio src="/captcha/{{captchaid}}.wav" controls style="width: 240px;">
<a href="/captcha/{{captchaid}}.wav?lang={{ T("language_code") }}">
{{ T("captcha_audio") }}
</a>
</audio>
<input class="form-input up-input form-control" type="text" name="solution" id="solution" style="display:block;" placeholder="{{ T("captcha")}}" autocomplete="off" required />
</div>
{{end}}
{{end}}