Update myapp/templates/base.html
Browse files- myapp/templates/base.html +37 -0
myapp/templates/base.html
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% load static %}
|
| 2 |
+
<!DOCTYPE html>
|
| 3 |
+
<html lang="en">
|
| 4 |
+
|
| 5 |
+
<head>
|
| 6 |
+
<meta charset="UTF-8">
|
| 7 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<style>
|
| 10 |
+
@tailwind base;
|
| 11 |
+
@tailwind components;
|
| 12 |
+
@tailwind utilities;
|
| 13 |
+
|
| 14 |
+
@layer base {
|
| 15 |
+
|
| 16 |
+
html,
|
| 17 |
+
body {
|
| 18 |
+
@apply !m-0 !p-0;
|
| 19 |
+
}
|
| 20 |
+
}
|
| 21 |
+
</style>
|
| 22 |
+
<link rel="stylesheet" type="text/css" href="{% static 'css/styles.css' %}">
|
| 23 |
+
<link rel="icon" type="image/x-icon" href="{% static 'assets/favicon.ico' %}?v=2">
|
| 24 |
+
<title>{% block title %}Smart Traffic System{% endblock %}</title>
|
| 25 |
+
</head>
|
| 26 |
+
|
| 27 |
+
<body>
|
| 28 |
+
{% include 'partials/navbar.html' %}
|
| 29 |
+
|
| 30 |
+
{% block content %}
|
| 31 |
+
{% endblock %}
|
| 32 |
+
|
| 33 |
+
{% block extra_js %}
|
| 34 |
+
{% endblock %}
|
| 35 |
+
</body>
|
| 36 |
+
|
| 37 |
+
</html>
|