-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbase.html
More file actions
54 lines (54 loc) · 2.4 KB
/
base.html
File metadata and controls
54 lines (54 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta property="og:type" content="website" />
<meta property="og:url" content="https://crackmes.one" />
<meta property="og:title" content="{% block title %}Crackmes.one{% endblock %}"/>
<meta property="og:image" content="/static/favicons/crackmes-logo.png"/>
<meta name="theme-color" content="#9acc14">
<link rel="icon" type="image/x-icon" href="/static/favicons/crackmes-logo.png">
<link rel="stylesheet" href="/static/css/spectre.min.css">
<link rel="stylesheet" href="/static/css/spectre-exp.min.css">
<link rel="stylesheet" href="/static/css/spectre-icons.min.css">
<link rel="stylesheet" href="/static/css/custom.css">
<script src='https://www.google.com/recaptcha/api.js'></script>
<title>{% block page_title %}Crackmes.one{% endblock %}</title>
{% block head %}{% endblock %}
</head>
<body>
<script>
function toggleSidebar(id) {
var sidebar = document.getElementById(id);
if (sidebar) sidebar.classList.add('active');
}
function closeSidebar() {
document.querySelectorAll('.off-canvas-sidebar.active').forEach(function(s) {
s.classList.remove('active');
});
if (window.location.hash) {
history.replaceState(null, '', window.location.pathname + window.location.search);
}
}
function toggleNavDropdown(el) {
var dropdown = el.closest('.nav-dropdown');
if (dropdown) {
dropdown.classList.toggle('active');
el.setAttribute('aria-expanded', dropdown.classList.contains('active'));
}
}
</script>
{% include 'partial/menu.html' %}
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<h3>{{ message }}</h3>
{% endfor %}
{% endif %}
{% endwith %}
{% block content %}{% endblock %}
{% block foot %}{% endblock %}
</body>
</html>