From 82322411b554798ff20b47bfbcbbc6caee1b2d48 Mon Sep 17 00:00:00 2001 From: Tom Teichler <tom.teichler@teckids.org> Date: Tue, 10 Sep 2019 22:09:26 +0200 Subject: [PATCH] Add template. Advances #89. --- .../core/templates/core/dynamic_content.html | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 biscuit/core/templates/core/dynamic_content.html diff --git a/biscuit/core/templates/core/dynamic_content.html b/biscuit/core/templates/core/dynamic_content.html new file mode 100644 index 000000000..dac4ca71d --- /dev/null +++ b/biscuit/core/templates/core/dynamic_content.html @@ -0,0 +1,27 @@ +{# -*- engine:django -*- #} + +{% extends "core/base.html" %} + +{% load font_awesome %} + +{% block content %} + + <div class="d-flex justify-content-between"> + <div> + <h2>{{ current_head }}</h2> + </div> + <div class="btn-group" role="group" aria-label="URL actions"> + <a href="{{ url_prev }}?{{ request.GET.urlencode }}" class="btn btn-secondary"> + {% fa 'arrow-left' %} + </a> + <a href="{{ url_next }}?{{ request.GET.urlencode }}" class="btn btn-secondary"> + {% fa 'arrow-right' %} + </a> + </div> + </div> + + {% block current_content %} + + {% endblock %} + +{% endblock %} -- GitLab