From ea0ce480c70a5eff54bfcb4f33eb339e6b831234 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Tue, 23 Aug 2022 16:15:23 +0200 Subject: Add a room to a center using the scopes tree With this commit users can select a center from the scopes tree, and then add a room to that center. --- ogcp/templates/macros.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ogcp/templates') diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html index f67b1a6..0283d26 100644 --- a/ogcp/templates/macros.html +++ b/ogcp/templates/macros.html @@ -28,6 +28,12 @@ value="{{ scope["server_ip_port"] }}" onclick="return false;" {% if scope.get("selected", False) %}checked{% endif %} name="scope-server" hidden/> + {% elif scope["type"] == "center" %} + {% elif scope["type"] == "room" %}