nice
This commit is contained in:
1 parent
83731d9a83
commit
d5f578cfd0
5 files changed
+57
-15
No files matched your search
+11
-9
@@ -35,15 +35,17 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3>System Routes</h3>
|
||||
<div class="route-list">
|
||||
{% macro this(route) %}
|
||||
<div class="route-item">
|
||||
<a href="{{ route.path }}">{{ route.name }}</a>
|
||||
<span>{{ route.path }}</span>
|
||||
<details >
|
||||
<summary>System Routes</summary>
|
||||
<div class="route-list">
|
||||
{% macro this(route) %}
|
||||
<div class="route-item">
|
||||
<a href="{{ url_for(route.name) }}">{{ route.name }}</a>
|
||||
<span>{{ route.path }}</span>
|
||||
</div>
|
||||
{% endmacro %} {% for route in routes if "GET" in route.methods %}
|
||||
{{ this(route) }} {% endfor %}
|
||||
</div>
|
||||
{% endmacro %} {% for route in routes %} {{ this(route) }} {% endfor
|
||||
%}
|
||||
</div>
|
||||
</details>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user