From c6866fb5a3d0d466f6c6d29df8cd02f0fe7e2938 Mon Sep 17 00:00:00 2001 From: Benjamin Bertrand <benjamin.bertrand@esss.se> Date: Tue, 26 Sep 2017 09:36:29 +0200 Subject: [PATCH] Override admin index Add button to return to main index --- app/templates/admin/index.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/templates/admin/index.html diff --git a/app/templates/admin/index.html b/app/templates/admin/index.html new file mode 100644 index 0000000..b121f3f --- /dev/null +++ b/app/templates/admin/index.html @@ -0,0 +1,10 @@ +{% extends "admin/master.html" %} + +{% block title %}Admin - ICS Inventory{% endblock %} + +{% block body %} +<h2>Use the admin interface with care</h2> + +<!-- flask-admin uses bootstrap 3 --> +<a class="btn btn-primary" href="{{ url_for('main.index') }}">ICS Inventory</a> +{% endblock %} -- GitLab