From 19295f8158e6bd91dc58e1fce6fc2607d5db1c6c Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Mon, 16 Sep 2024 17:32:41 +0200 Subject: templates: disable sidebar in images and repos Disable sidebar interaction in Images and Repos views. --- ogcp/templates/actions/delete_repo.html | 2 ++ ogcp/templates/actions/image_config.html | 1 + ogcp/templates/actions/image_details.html | 1 + ogcp/templates/actions/list_images.html | 1 + ogcp/templates/actions/repo_details.html | 2 ++ ogcp/templates/actions/repos_add.html | 2 ++ ogcp/templates/actions/repos_update.html | 2 ++ ogcp/templates/images.html | 2 ++ ogcp/templates/repos.html | 2 ++ 9 files changed, 15 insertions(+) diff --git a/ogcp/templates/actions/delete_repo.html b/ogcp/templates/actions/delete_repo.html index 8c32a8c..16b378b 100644 --- a/ogcp/templates/actions/delete_repo.html +++ b/ogcp/templates/actions/delete_repo.html @@ -1,5 +1,7 @@ {% extends 'repos.html' %} {% import "bootstrap/wtf.html" as wtf %} + +{% set sidebar_state = 'disabled' %} {% set btn_back = true %} {% block nav_repos %} active{% endblock %} diff --git a/ogcp/templates/actions/image_config.html b/ogcp/templates/actions/image_config.html index f72a126..26fc737 100644 --- a/ogcp/templates/actions/image_config.html +++ b/ogcp/templates/actions/image_config.html @@ -1,6 +1,7 @@ {% extends 'images.html' %} {% import "bootstrap/wtf.html" as wtf %} +{% set sidebar_state = 'disabled' %} {% set btn_back = true %} {% block content %} diff --git a/ogcp/templates/actions/image_details.html b/ogcp/templates/actions/image_details.html index ab66503..941ca82 100644 --- a/ogcp/templates/actions/image_details.html +++ b/ogcp/templates/actions/image_details.html @@ -1,6 +1,7 @@ {% extends 'images.html' %} {% import "bootstrap/wtf.html" as wtf %} +{% set sidebar_state = 'disabled' %} {% set btn_back = true %} {% block content %} diff --git a/ogcp/templates/actions/list_images.html b/ogcp/templates/actions/list_images.html index 708431c..c7eaeeb 100644 --- a/ogcp/templates/actions/list_images.html +++ b/ogcp/templates/actions/list_images.html @@ -1,6 +1,7 @@ {% extends 'images.html' %} {% import "bootstrap/wtf.html" as wtf %} +{% set sidebar_state = 'disabled' %} {% set btn_back = true %} {% block content %} diff --git a/ogcp/templates/actions/repo_details.html b/ogcp/templates/actions/repo_details.html index 212a63b..d91f961 100644 --- a/ogcp/templates/actions/repo_details.html +++ b/ogcp/templates/actions/repo_details.html @@ -1,5 +1,7 @@ {% extends 'repos.html' %} {% import "bootstrap/wtf.html" as wtf %} + +{% set sidebar_state = 'disabled' %} {% set btn_back = true %} {% block nav_repos %} active{% endblock %} diff --git a/ogcp/templates/actions/repos_add.html b/ogcp/templates/actions/repos_add.html index 19f02bf..32ded5a 100644 --- a/ogcp/templates/actions/repos_add.html +++ b/ogcp/templates/actions/repos_add.html @@ -1,5 +1,7 @@ {% extends 'repos.html' %} {% import "bootstrap/wtf.html" as wtf %} + +{% set sidebar_state = 'disabled' %} {% set btn_back = true %} {% block nav_repos %} active{% endblock %} diff --git a/ogcp/templates/actions/repos_update.html b/ogcp/templates/actions/repos_update.html index 1278648..37f06cc 100644 --- a/ogcp/templates/actions/repos_update.html +++ b/ogcp/templates/actions/repos_update.html @@ -1,5 +1,7 @@ {% extends 'repos.html' %} {% import "bootstrap/wtf.html" as wtf %} + +{% set sidebar_state = 'disabled' %} {% set btn_back = true %} {% block nav_repos %} active{% endblock %} diff --git a/ogcp/templates/images.html b/ogcp/templates/images.html index 06d614a..a630c22 100644 --- a/ogcp/templates/images.html +++ b/ogcp/templates/images.html @@ -29,6 +29,7 @@ {% set parent_id = "repos-" ~ loop.index0 %}