summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ogcp/templates/macros.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html
index 96561db..e91a2ef 100644
--- a/ogcp/templates/macros.html
+++ b/ogcp/templates/macros.html
@@ -24,7 +24,8 @@
<li id="{{ scope["name"]|replace(".", "_")|replace(" ", "_") }}_{{ scope["id"] }}" class="nav-item">
{% if " ".join(scope["ip"]) %}
<input class="form-check-input" type="checkbox" form="scopesForm"
- value="{{ " ".join(scope["ip"]) }}" {{ state }}
+ value="{{ " ".join(scope["ip"]) }}"
+ {% if state %}style="filter: grayscale(100%);" onclick="return false;"{% endif %}
{% if scope.get("selected", False) %}checked{% endif %}
name="{{ scope["name"] }}_{{ scope["id"] }}" />
{% endif %}