diff options
Diffstat (limited to 'ogcp/templates/macros.html')
-rw-r--r-- | ogcp/templates/macros.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html index c6cd15e..4047e87 100644 --- a/ogcp/templates/macros.html +++ b/ogcp/templates/macros.html @@ -36,13 +36,12 @@ {% if scope.get("selected", False) %}checked{% endif %} name="scope-server" hidden/> {% elif scope["type"] == "center" %} - {% if selection_mode != "commands" %} <input id="{{ input_id }}" class="form-check-input" type="checkbox" form="scopesForm" value="{{ scope["id"] }}" {% if state %}style="filter: grayscale(100%);" onclick="return false;"{% endif %} {% if scope.get("selected", False) %}checked{% endif %} + {% if selection_mode == "commands" %}disabled="disabled"{% endif %} name="scope-center" /> - {% endif %} {% elif scope["type"] == "room" %} {% set parent_room = scope.name + "-" + scope.id|string %} <input id="{{ input_id }}" class="form-check-input" type="checkbox" form="scopesForm" |