-
-
Notifications
You must be signed in to change notification settings - Fork 309
Expand file tree
/
Copy pathbase.html
More file actions
36 lines (31 loc) · 1.28 KB
/
Copy pathbase.html
File metadata and controls
36 lines (31 loc) · 1.28 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
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}VulnerableCode.io{% endblock %}</title>
<link rel="icon" href="{% static 'images/favicon.ico' %}" />
<link rel="stylesheet" href="{% static 'css/bulma.css' %}" />
<link rel="stylesheet" href="{% static 'css/custom.css' %}" />
<link rel="stylesheet" href="{% static 'css/font-awesome.css' %}" />
<link rel="stylesheet" href="{% static 'css/bulma-tooltip.css' %}" />
{% block extrahead %}{% endblock %}
</head>
<body class="Site">
<div class="container max-desktop-width is-fullheight">
{% include "navbar.html" %}
{% block content %}{% endblock %}
{% include "footer.html" %}
</div>
<script>
// Since django can not determine the client’s time zone automatically.
// Store client's timezone in cookies to enable localization.
// https://docs.djangoproject.com/en/5.1/topics/i18n/timezones/#selecting-the-current-time-zone
const currentTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
document.cookie = "user_timezone=" + currentTimeZone;
</script>
{% block scripts %}
{% endblock %}
</body>
</html>