summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/repos.html
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-09-16 17:32:41 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-09-16 17:32:41 +0200
commit19295f8158e6bd91dc58e1fce6fc2607d5db1c6c (patch)
treebede17aadf9050b1364122fbde93a6c950fa73c7 /ogcp/templates/repos.html
parentf03077edb70e939bfb447fea4cf46340f736b657 (diff)
templates: disable sidebar in images and repos
Disable sidebar interaction in Images and Repos views.
Diffstat (limited to 'ogcp/templates/repos.html')
-rw-r--r--ogcp/templates/repos.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/templates/repos.html b/ogcp/templates/repos.html
index 7983930..fd050c0 100644
--- a/ogcp/templates/repos.html
+++ b/ogcp/templates/repos.html
@@ -18,6 +18,7 @@
{% set repos_list = repos["json"]["repositories"] %}
<li class="nav-item">
<input id="{{ server_ip_port }}"class="form-check-input" type="checkbox" form="reposForm"
+ {% if sidebar_state %}style="filter: grayscale(100%);" onclick="return false;"{% endif %}
value="{{ server_ip_port }}" name="repos-server" />
<a class="nav-link {% if not repos_list %}disabled{% endif %}" href="#server{{loop.index}}"
{% if repos_list %}data-toggle="collapse"{% endif %}>
@@ -27,6 +28,7 @@
{% for r in repos_list %}
<li class="nav-item">
<input class="form-check-input" type="checkbox" form="reposForm"
+ {% if sidebar_state %}style="filter: grayscale(100%);" onclick="return false;"{% endif %}
id="repo{{ r["id"] }}"
data-server="{{server_ip_port}}"
value="{{ r["id"] }}"