summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/base.html
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-08-31 11:57:16 +0200
committerRoberto Hueso Gómez <rhueso@soleta.eu>2020-08-31 11:58:38 +0200
commit01efd71022b3e2a69d75f389878fb07daf996cf0 (patch)
treec80075d439133abee04bec3f7b3f00713ee36a3a /ogcp/templates/base.html
parentdf2e425b346b95c6493a684025374b956349a0da (diff)
Add frontend basic structure
This adds base.html and nav.html templates as well as its dependencies on Bootstrap and jQuery.
Diffstat (limited to 'ogcp/templates/base.html')
-rw-r--r--ogcp/templates/base.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html
new file mode 100644
index 0000000..21389a9
--- /dev/null
+++ b/ogcp/templates/base.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ {% block head %}
+ <script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script>
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}" />
+ <script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
+ <title>{% block title %}{% endblock %} - OpenGnsys</title>
+ {% endblock %}
+</head>
+<body>
+ {% include 'nav.html' %}
+ {% block nav %}{% endblock %}
+ <div id="content">{% block content %}{% endblock %}</div>
+ <div id="footer">
+ {% block footer %}{% endblock %}
+ </div>
+</body>
+</html>