aboutsummaryrefslogtreecommitdiff
path: root/app/templates/base.html
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-03 22:42:47 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-06-03 22:42:47 +0530
commitf8a9c42b1011f5137a9f7a61566e7e5f1df60b1a (patch)
treeb1a33c1aef995d1429fee6dea6a3470c71fef677 /app/templates/base.html
parent983f87755905371e8f82bd83cd1a635d1d3ad44e (diff)
added base template
Diffstat (limited to 'app/templates/base.html')
-rw-r--r--app/templates/base.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/templates/base.html b/app/templates/base.html
new file mode 100644
index 0000000..1ffc560
--- /dev/null
+++ b/app/templates/base.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ {% block head %}
+ <link rel="stylesheet" href="{{ url_for('static',filename='css/style.css') }}" />
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" />
+ <script src="https://unpkg.com/htmx.org@1.4.1"></script>
+ <title>Extinguish | {% block title %}{% endblock %}</title>
+ {% endblock %}
+</head>
+<body class="d-flex flex-column h-100">
+ <nav class="navbar navbar-dark bg-primary">
+ <div class="container-fluid">
+ <span class="navbar-brand mb-0">Extinguish</span>
+ </div>
+ </nav>
+ <div id="content">{% block content %}{% endblock %}</div>
+ <footer class="footer mt-auto py-3 bg-light fixed-bottom" style="padding: 0 15px;">
+ {% block footer %}
+ &copy; Sample Copyright By <a href="http://domain.invalid/">you</a>.
+ {% endblock %}
+ </footer>
+</body>
+</html> \ No newline at end of file