1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Files
netbox-community-netbox/netbox/templates/base.html

38 lines
1.2 KiB
HTML
Raw Normal View History

{% load static %} {% load helpers %}
2016-03-01 11:23:03 -05:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>{% block title %}Home{% endblock %} | NetBox</title>
<link
rel="stylesheet"
href="{% static 'netbox.css'%}"
onerror="window.location='{% url 'media_failure' %}?filename=netbox.css'"
/>
<link rel="icon" type="image/png" href="{% static 'netbox.ico' %}" />
<meta charset="UTF-8" />
<meta
name="viewport"
content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"
/>
<script
2021-04-20 01:18:24 -07:00
type="text/javascript"
src="{% static 'netbox.js' %}"
2021-04-15 16:52:30 -07:00
onerror="window.location='{% url 'media_failure' %}?filename=netbox.js'">
</script>
2021-04-20 01:18:24 -07:00
{% block head %}{% endblock %}
</head>
2021-04-25 20:11:46 -07:00
{% with color_mode=preferences|get_key:'ui.colormode' %}
<body{%if color_mode == 'dark'%} data-netbox-color-mode="dark"{% elif color_mode == 'light' %} data-netbox-color-mode="light"{% endif %}>
2021-04-20 01:18:24 -07:00
{% block layout %}{% endblock %}
{% block javascript %}{% endblock %}
{% include './messages.html' %}
2021-04-20 01:18:24 -07:00
<div id="netbox-data" style="display: none!important; visibility: hidden!important">
{% block data %}{% endblock %}
</div>
</body>
2021-04-25 20:11:46 -07:00
{% endwith %}
2016-03-01 11:23:03 -05:00
</html>