mirror of https://git.48k.eu/ogcp
Remove dead code in macro.html
scopes_tree_collapse() replaces this dead code.multi-ogserver
parent
31b1e92077
commit
5fbcff64f2
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue