Debian Codegraph @

demo-tornado/templates/attrs.html

raw symbols SCIP
1 {% extends "base.html" %}
2
3 {% block content %}
4
5 {% if paint_logout %}
6 {% if attributes %}
7 <p>You have the following attributes:</p>
8 <table class="table table-striped">
9 <thead>
10 <th>Name</th><th>Values</th>
11 </thead>
12 <tbody>
13 {% for attr, i in attributes %}
14 {% if i == 0 %}
15 <tr><td>{{ attr }}</td>
16 <td><ul class="list-unstyled">
17 {% end %}
18 {% if i == 1 %}
19 {% for val in attr %}
20 <li>{{ val }}</li>
21 {% end %}
22 {% end %}
23 </ul></td></tr>
24 {% end %}
25 </tbody>
26 </table>
27 {% else %}
28 <div class="alert alert-danger" role="alert">You don't have any attributes</div>
29 {% end %}
30 <a href="/?slo" class="btn btn-danger">Logout</a>
31 {% else %}
32 <a href="/?sso2" class="btn btn-primary">Login and access again to this page</a>
33 {% end %}
34
35 {% end %}