mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 22:47:15 +00:00
46 lines
1.6 KiB
HTML
46 lines
1.6 KiB
HTML
<table id="{{table_id}}" class="table table-striped table-bordered">
|
|
<thead class="bg-dark text-white">
|
|
<tr>
|
|
<th class="bg-info text-white">Description</th>
|
|
<th class="bg-info text-white">Date</th>
|
|
<th class="bg-info text-white">UUID</th>
|
|
<th class="bg-info text-white">Level</th>
|
|
<th class="bg-info text-white">Org</th>
|
|
<th class="bg-info text-white">User</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody style="font-size: 15px;">
|
|
{% for dict_cookiejar in all_cookiejar %}
|
|
<tr>
|
|
<td id="description-text">{{dict_cookiejar['description']}}</td>
|
|
<td>
|
|
{%if dict_cookiejar['date']%}
|
|
{{dict_cookiejar['date'][0:4]}}/{{dict_cookiejar['date'][4:6]}}/{{dict_cookiejar['date'][6:8]}}
|
|
{%endif%}
|
|
</td>
|
|
<td>
|
|
<a target="_blank" href="{{ url_for('crawler_splash.crawler_cookiejar_show') }}?uuid={{ dict_cookiejar['uuid'] }}">
|
|
{{ dict_cookiejar['uuid']}}
|
|
</a>
|
|
</td>
|
|
<td>
|
|
{% if 'level' in dict_cookiejar %}
|
|
{% if dict_cookiejar['level'] == 0 %}
|
|
User
|
|
{% elif dict_cookiejar['level'] == 1 %}
|
|
Global
|
|
{% elif dict_cookiejar['level'] == 2 %}
|
|
Community
|
|
{% endif %}
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
{% if dict_cookiejar['org'] %}
|
|
{{dict_cookiejar['org_name']}}<br>{{ dict_cookiejar['org'] }}
|
|
{% endif %}
|
|
</td>
|
|
<td>{{dict_cookiejar['user']}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|