mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
fix: [UI showDomain] fix screenshot accordeon
This commit is contained in:
parent
7dbc96cee2
commit
66f251d654
1 changed files with 10 additions and 7 deletions
|
@ -277,29 +277,29 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-11">
|
<div class="col-11">
|
||||||
<div class="mt-2">
|
<div class="mt-2">
|
||||||
<i class="fas fa-lock-open"></i> Screenshot
|
<i class="far fa-image"></i></i> Screenshot
|
||||||
<div class="badge badge-warning">{{dict_domain['screenshot']|length}}</div>
|
<div class="badge badge-warning">{{dict_domain['screenshot']|length}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-1">
|
<div class="col-1">
|
||||||
<button class="btn btn-link collapsed rotate" data-toggle="collapse" data-target="#collapseScreenshot" aria-expanded="false" aria-controls="collapseDecoded">
|
<button class="btn btn-link collapsed rotate" data-toggle="collapse" data-target="#collapseScreenshot" aria-expanded="false" aria-controls="collapseScreenshot">
|
||||||
<i class="fas fa-chevron-circle-down"></i>
|
<i class="fas fa-chevron-circle-down"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="collapseDecoded" class="collapse" aria-labelledby="headingDecoded" data-parent="#accordiondecoded">
|
<div id="collapseScreenshot" class="collapse" aria-labelledby="headingScreenshot" data-parent="#accordionscreenshot">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<table id="tabledecoded" class="table table-striped">
|
<table id="tablescreenshot" class="table table-striped">
|
||||||
<thead class="thead-dark">
|
<thead class="thead-dark">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Decoded</th>
|
<th>Screenshot</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for decoded in dict_domain['decoded']%}
|
{% for screenshot in dict_domain['screenshot']%}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a target="_blank" href="{{ url_for('correlation.show_correlation') }}?object_type=decoded&correlation_id={{ decoded }}&correlation_objects=domain">{{ decoded }}</a></td>
|
<td><a target="_blank" href="{{ url_for('correlation.show_correlation') }}?object_type=screenshot&correlation_id={{ screenshot }}&correlation_objects=domain">{{ screenshot }}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -454,6 +454,9 @@
|
||||||
{% if 'decoded' in dict_domain%}
|
{% if 'decoded' in dict_domain%}
|
||||||
$('#tabledecoded').DataTable();
|
$('#tabledecoded').DataTable();
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if 'screenshot' in dict_domain%}
|
||||||
|
$('#tablescreenshot').DataTable();
|
||||||
|
{% endif %}
|
||||||
{% if 'pgp' in dict_domain%}
|
{% if 'pgp' in dict_domain%}
|
||||||
$('#tablepgp').DataTable();
|
$('#tablepgp').DataTable();
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue