diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-09-16 17:32:41 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-09-16 17:32:41 +0200 |
commit | 19295f8158e6bd91dc58e1fce6fc2607d5db1c6c (patch) | |
tree | bede17aadf9050b1364122fbde93a6c950fa73c7 /ogcp/templates/images.html | |
parent | f03077edb70e939bfb447fea4cf46340f736b657 (diff) |
templates: disable sidebar in images and repos
Disable sidebar interaction in Images and Repos views.
Diffstat (limited to 'ogcp/templates/images.html')
-rw-r--r-- | ogcp/templates/images.html | 2 |
1 files changed, 2 insertions, 0 deletions
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 %} <li class="nav-item"> <input class="form-check-input" type="checkbox" form="imagesForm" + {% if sidebar_state %}style="filter: grayscale(100%);" onclick="return false;"{% endif %} id="{{ server_str }}" value="{{ server_str }}" onclick="return false;" name="image-server" hidden/> <a class="nav-link" data-toggle="collapse" data-target="#repos-{{ loop.index0 }}"> @@ -44,6 +45,7 @@ {% for image in repo_data["images"] %} <li id="{{ image["name"] }}_{{ image["id"] }}" class="nav-item"> <input class="form-check-input" type="checkbox" form="imagesForm" + {% if sidebar_state %}style="filter: grayscale(100%);" onclick="return false;"{% endif %} data-server="{{ server_str }}" value="{{ image["id"] }}" {% if image.get("selected", False) %}checked{% endif %} name="{{ image["name"] }}_{{ image["id"] }}" |