accessibility-checker-api/templates/index.html

50 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<title>Acessibility Checker</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
label { display: block; }
input {
display: block;
width: calc(100% - 8px);
}
input[type="number"] {
width: 5em;
}
textarea {
display: block;
width: calc(100% - 8px);
height: 15em;
resize: vertical;
overflow: auto;
}
</style>
</head>
<body>
<h1>Acessibility Checker</h1>
<form action="{% url 'index' %}" method="POST">
{% csrf_token %}
<label for="urls">URLs</label>
<textarea id="urls" name="urls", placeholder="https://site1.abc
https://site2.xyz/some/page
http://example.com">https://seger.es.gov.br
https://www.es.gov.br
https://prodest.es.gov.br
https://labges.es.gov.br</textarea>
<div>
<label for="depth">Depth</label>
<input type="number" id="depth" name="depth" min="0" max="20" value="0">
</div>
<button type="submit">Check</button>
</form>
<p>
History:
</p>
{% include 'render_requested_reports_abridged.html' %}
<p>
More: <a href="{% url 'all' %}">HTML</a> <a href="{% url 'apiall' %}">JSON</a>
</p>
</body>
</html>