Debian Codegraph @

demo-django/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 in attributes %}
14 <tr><td>{{ attr.0 }}</td>
15 <td><ul class="list-unstyled">
16 {% for val in attr.1 %}
17 <li>{{ val }}</li>
18 {% endfor %}
19 </ul></td></tr>
20 {% endfor %}
21 </tbody>
22 </table>
23 {% else %}
24 <div class="alert alert-danger" role="alert">You don't have any attributes</div>
25 {% endif %}
26 <a href="{% url "index" %}?slo" class="btn btn-danger">Logout</a>
27 {% else %}
28 <a href="{% url "index" %}?sso2" class="btn btn-primary">Login and access again to this page</a>
29 {% endif %}
30
31 {% endblock %}