You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.8 KiB
52 lines
1.8 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Security 1</title>
|
|
<link href="/static/css/bootstrap.min.css" rel="stylesheet" type="text/css">
|
|
<link href="/static/css/style.css" rel="stylesheet" type="text/css">
|
|
<script type="text/javascript" src="/static/js/jquery-2.1.0.min.js"></script>
|
|
<script type="text/javascript" src="/static/js/jquery.base64.min.js"></script>
|
|
<script type="text/javascript" src="/static/js/quiz.js"></script>
|
|
</head>
|
|
<body>
|
|
<form method="POST" id="form-quiz">
|
|
{% csrf_token %}
|
|
|
|
<div class="row-fluid">
|
|
<div class="well span2" style="position: fixed">
|
|
<p>Ingelogd als <strong>{{ user }}</strong>.</p>
|
|
|
|
<ul>
|
|
<li><a href="/sql">SQL Injection</a></li>
|
|
<li><a href="/xss">Cross-site Scripting</a></li>
|
|
<li><a href="/path">Insecure Direct Object References</a></li>
|
|
<li><a href="/wachtwoorden">Wachtwoorden</a></li>
|
|
</ul>
|
|
|
|
Moeilijkheidsgraad:
|
|
<select id="difficulty">
|
|
<option value="easy">Makkelijk (hints zichtbaar)</option>
|
|
<option value="normal">Normaal (hints optioneel)</option>
|
|
<option value="hard">Moeilijk (geen hints)</option>
|
|
</select>
|
|
|
|
<a href="/logout" class="btn">Uitloggen</a>
|
|
<button class="btn-primary" type="submit" id="save-button">Opslaan</button>
|
|
<div class="alert alert-info" id="js-message" style="display: none;"></div>
|
|
</div>
|
|
|
|
<div id="quiz" class="span8 offset2">
|
|
{% if messages %}
|
|
{% for message in messages %}
|
|
<div class="alert alert-info">{{ message }}</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|
|
|