diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-03 22:42:47 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-03 22:42:47 +0530 |
commit | f8a9c42b1011f5137a9f7a61566e7e5f1df60b1a (patch) | |
tree | b1a33c1aef995d1429fee6dea6a3470c71fef677 | |
parent | 983f87755905371e8f82bd83cd1a635d1d3ad44e (diff) |
added base template
-rw-r--r-- | app/templates/base.html | 24 |
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 %} + © Sample Copyright By <a href="http://domain.invalid/">you</a>. + {% endblock %} + </footer> +</body> +</html>
\ No newline at end of file |