summaryrefslogtreecommitdiffstats
path: root/ogcp
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp')
-rw-r--r--ogcp/templates/macros.html20
1 files changed, 0 insertions, 20 deletions
diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html
index f7ebf2f..4ae5982 100644
--- a/ogcp/templates/macros.html
+++ b/ogcp/templates/macros.html
@@ -1,23 +1,3 @@
-{% macro print_scopes_tree(scopes) -%}
-
- <ul class="list-group list-group-flush">
- {% for scope in scopes %}
- <li class="list-group-item state--{{ scope['state'] | lower }}">
- <input class="form-check-input" type="checkbox" form="scopesForm"
- value="{{ " ".join(scope["ip"]) }}"
- {% if scope.get("selected", False) %}checked{% endif %}
- name="{{ scope["name"] }}_{{ scope["id"] }}">
- {{ scope["name"] }}
- {% if "state" in scope %}
- -- STATE: {{ scope["state"] }}
- {% endif %}
- {{ print_scopes_tree(scope["scope"]) }}
- </li>
- {% endfor %}
- </ul>
-
-{% endmacro %}
-
{% macro scopes_tree_collapse(scopes) -%}
<ul id="scopes" class="nav flex-column nav-pills">