]> git.mxchange.org Git - fba.git/blob - templates/views/list.html
Continued:
[fba.git] / templates / views / list.html
1 {% extends "base.html" %}
2
3 {% block title %}{% if mode == 'detection_mode' %} - Detection mode {{value}}{% endif %}{% endblock %}
4
5 {% block header %}
6     {% if mode == 'detection_mode' %}
7         <h1>Instances detected by method {{value}}</h1>
8     {% endif %}
9 {% endblock %}
10
11 {% block content %}
12     {% if amount == found %}
13         <div class="notice">
14             <h3>Maximum amount reached!</h3>
15             <div>
16                 Please note that the maximum allowed amount is only returned, the blocker/blocked/reason might be more.
17                 Paging support is not finished yet.
18             </div>
19         </div>
20     {% endif %}
21
22     <table class="table-with-rows">
23         <thead>
24             <th>Domain</th>
25             <th>Origin</th>
26             <th>Software</th>
27             <th>Command</th>
28             <th>First added</th>
29             <th>Last seen</th>
30         </thead>
31
32         <tbody>
33         {% for row in domainlist %}
34                 <tr>
35                     <td>
36                         {% with domain=row['domain'] %}
37                         {% include "widgets/links.html" %}
38                         {% endwith %}
39                     </td>
40                     <td>
41                         {% with domain=row['origin'] %}
42                         {% include "widgets/links.html" %}
43                         {% endwith %}
44                     </td>
45                     <td>{{row['software']}}</td>
46                     <td><code>{{row['command']}}</code></td>
47                     <td>{{row['first_seen']}}</td>
48                     <td>{{row['last_seen']}}</td>
49                 </tr>
50         {% endfor %}
51         </tbody>
52     </table>
53 {% endblock %}
54
55 {% block footer %}
56     <a href="{{base_url}}/">Index</a> /
57     {{ super() }}
58 {% endblock %}