diff --git a/ogcp/static/css/soleta.css b/ogcp/static/css/soleta.css index ca49897..d17674c 100644 --- a/ogcp/static/css/soleta.css +++ b/ogcp/static/css/soleta.css @@ -14,3 +14,17 @@ html, body { .toast { margin: 10px; } + +.nav { + position: relative; +} + +.nav-item { + padding-left: 20px; + position: relative; +} + +.nav-link { + padding: 0; +} + diff --git a/ogcp/templates/commands.html b/ogcp/templates/commands.html index 27af1b1..1e7dc84 100644 --- a/ogcp/templates/commands.html +++ b/ogcp/templates/commands.html @@ -12,7 +12,7 @@ {% endblock %} {% block sidebar %} - {{ macros.print_scopes_tree(scopes["scope"]) }} + {{ macros.scopes_tree_collapse(scopes) }} {% endblock %} {% block commands %} diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html index 3bde877..60b26a7 100644 --- a/ogcp/templates/macros.html +++ b/ogcp/templates/macros.html @@ -18,3 +18,32 @@ {% endmacro %} +{% macro scopes_tree_collapse(scopes) -%} + + + +{% endmacro %} + +{% macro scopes_tree_collapse_level(scopes, i) -%} +{% for scope in scopes %} + +{% endfor %} +{% endmacro %} diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html index 1d931bb..746acff 100644 --- a/ogcp/templates/scopes.html +++ b/ogcp/templates/scopes.html @@ -12,7 +12,7 @@ {% endblock %} {% block sidebar %} - {{ macros.print_scopes_tree(scopes["scope"]) }} + {{ macros.scopes_tree_collapse(scopes) }} {% endblock %} {% block commands %}