Debian Codegraph @

src/flask_debugtoolbar/templates/panels/route_list.html

raw
1 <table>
2 <thead>
3 <tr>
4 <th>URL route</th>
5 <th>Endpoint name</th>
6 <th>HTTP methods</th>
7 <th>Is alias</th>
8 <th>Redirect to</th>
9 </tr>
10 </thead>
11 <tbody>
12 {% if routes %}
13 {% for route in routes|sort(attribute='rule') %}
14 <tr>
15 <td>{{ route.rule }}</td>
16 <td>{{ route.endpoint }}</td>
17 <td>{{ route.methods|sort|join(', ') }}</td>
18 <td>{{ route.alias }}</td>
19 <td>{{ route.redirect_to }}</td>
20 </tr>
21 {% endfor %}
22 {% else %}
23 <tr>
24 <td>No routes have been configured.</td>
25 </tr>
26 {% endif %}
27 </tbody>
28 </table>