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/nav.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'ogcp/templates/nav.html') diff --git a/ogcp/templates/nav.html b/ogcp/templates/nav.html index 39b0ac2..f2ca3b5 100644 --- a/ogcp/templates/nav.html +++ b/ogcp/templates/nav.html @@ -6,13 +6,25 @@