From 22dcea19ff74871b7200bfc7f976836f436c5342 Mon Sep 17 00:00:00 2001 From: Daniel GarcĂ­a Moreno Date: Tue, 8 Jun 2021 11:33:30 +0200 Subject: Add sidebar and command bar to base template Modify the base template to add the sidebar and command bar, implemented just in the scopes view. This patch also modifies the "actions/mode.html" template to be shown in the scopes page. Any other action that should be inside the scopes should do the same, add the scopes and clients to the template context and use the "scopes.html" as base in those actions. The notification has been also changed to use a toast notification instead of the usual alert to avoid changing the layout on error. --- ogcp/templates/actions/mode.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ogcp/templates/actions') diff --git a/ogcp/templates/actions/mode.html b/ogcp/templates/actions/mode.html index 0fd3266..3adce8f 100644 --- a/ogcp/templates/actions/mode.html +++ b/ogcp/templates/actions/mode.html @@ -1,4 +1,4 @@ -{% extends 'base.html' %} +{% extends 'scopes.html' %} {% import "bootstrap/wtf.html" as wtf %} {% block content %} @@ -20,4 +20,3 @@ extra_classes="m-5") }} {% endblock %} - -- cgit v1.2.3-18-g5258