mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-14 02:28:23 +00:00
fix: [typo] UI
This commit is contained in:
parent
e2953fa5d1
commit
33ba18b189
2 changed files with 15 additions and 6 deletions
|
@ -67,7 +67,7 @@
|
||||||
<li class="list-group-item py-0">
|
<li class="list-group-item py-0">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
<table class="table">
|
<table class="table" style="word-wrap: break-word;">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Type</th>
|
<th>Type</th>
|
||||||
|
@ -91,7 +91,16 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ tracker_metadata['type'] }}</td>
|
<td>{{ tracker_metadata['type'] }}</td>
|
||||||
<td>{{ tracker_metadata['tracker'] }}</td>
|
<td style="word-break: break-word;">
|
||||||
|
<a class="btn btn-primary" data-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample">
|
||||||
|
{{ tracker_metadata['tracker'].split(",")[0] }}
|
||||||
|
</a>
|
||||||
|
<div class="collapse" id="collapseExample">
|
||||||
|
<div class="card card-body">
|
||||||
|
{{ tracker_metadata['tracker'] }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
<td>{{ tracker_metadata['date'][0:4] }}/{{ tracker_metadata['date'][4:6] }}/{{ tracker_metadata['date'][6:8] }}</td>
|
<td>{{ tracker_metadata['date'][0:4] }}/{{ tracker_metadata['date'][4:6] }}/{{ tracker_metadata['date'][6:8] }}</td>
|
||||||
<td>
|
<td>
|
||||||
{% if tracker_metadata['level'] == 0 %}
|
{% if tracker_metadata['level'] == 0 %}
|
||||||
|
|
|
@ -70,8 +70,8 @@
|
||||||
<span>
|
<span>
|
||||||
<a target="_blank" href="{{ url_for('hunter.show_tracker') }}?uuid={{ dict_uuid['uuid'] }}">
|
<a target="_blank" href="{{ url_for('hunter.show_tracker') }}?uuid={{ dict_uuid['uuid'] }}">
|
||||||
{% if dict_uuid['term'] %}
|
{% if dict_uuid['term'] %}
|
||||||
{% if dict_uuid['term']|length > 256 %}
|
{% if dict_uuid['term']|length > 100 %}
|
||||||
{{ dict_uuid['term'][0:256] }}...
|
{{ dict_uuid['term'][0:100] }}...
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ dict_uuid['term'] }}
|
{{ dict_uuid['term'] }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -135,8 +135,8 @@
|
||||||
<span>
|
<span>
|
||||||
<a target="_blank" href="{{ url_for('hunter.show_tracker') }}?uuid={{ dict_uuid['uuid'] }}">
|
<a target="_blank" href="{{ url_for('hunter.show_tracker') }}?uuid={{ dict_uuid['uuid'] }}">
|
||||||
{% if dict_uuid['term'] %}
|
{% if dict_uuid['term'] %}
|
||||||
{% if dict_uuid['term']|length > 256 %}
|
{% if dict_uuid['term']|length > 100 %}
|
||||||
{{ dict_uuid['term'][0:256] }}...
|
{{ dict_uuid['term'][0:100] }}...
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ dict_uuid['term'] }}
|
{{ dict_uuid['term'] }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue