healthchecks_healthchecks/templates/front/signal_captcha.html
2022-10-28 08:28:32 +03:00

45 lines
1.3 KiB
HTML

{% extends "base.html" %}
{% load compress static hc_extras %}
{% block content %}
<div class="row">
<div class="col-sm-12">
<h1>Signal CAPTCHA</h1>
{% if result %}
<p>Result:</p>
<pre>{{ result }}</pre>
<hr />
{% endif %}
<p>
First, solve a CAPTCHA
<a href="https://signalcaptchas.org/challenge/generate.html" target="_blank">here</a>,
then paste it below:
</p>
<form method="post">
{% csrf_token %}
<div class="form-group">
<label for="challenge">Challenge</label>
<input
id="challenge"
name="challenge"
required
class="form-control"
value="{{ challenge }}" />
</div>
<div class="form-group">
<label for="captcha">CAPTCHA</label>
<textarea
id="captcha"
name="captcha"
required
class="form-control"
rows="10"></textarea>
</div>
<button type="submit" class="btn btn-primary btn-lg pull-right">Submit</button>
</form>
</div>
</div>
{% endblock %}