mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-07 23:27:43 +00:00
Reports refactoring & improving
This commit is contained in:
@@ -11,9 +11,10 @@
|
||||
<h2 class="mb-0">
|
||||
Username search report for {{ username }}
|
||||
</h2>
|
||||
<small>Generated at {{ generated_at }}</small>
|
||||
<small>Generated by <a href="https://github.com/soxoj/maigret">Maigret</a> at {{ generated_at }}</small>
|
||||
</div>
|
||||
</div>
|
||||
<br/><br/>
|
||||
<div>
|
||||
<div>
|
||||
<div>
|
||||
@@ -41,6 +42,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
<div>
|
||||
<div>
|
||||
<div>
|
||||
@@ -57,16 +59,13 @@
|
||||
{% for k, v in data.items() %}
|
||||
{% if v.found and not v.is_similar %}
|
||||
<split></split>
|
||||
<hr>
|
||||
<br/>
|
||||
<div class="sitebox" style="margin-top: 20px;" >
|
||||
<div>
|
||||
<div>
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:201px;" >
|
||||
<img alt="Photo" style="width: 200px; height: 200px; object-fit: scale-down;" src="{{ v.status.ids_data.image or 'https://i.imgur.com/040fmbw.png' }}" data-holder-rendered="true">
|
||||
</td>
|
||||
<td style="width:10px;" ></td>
|
||||
<td valign="top">
|
||||
<div class="textbox" style="padding-top: 10px;" >
|
||||
<h3>
|
||||
@@ -79,29 +78,32 @@
|
||||
<a href="{{ v.url_user }}" target="_blank">{{ v.url_user }}</a>
|
||||
</p>
|
||||
</div>
|
||||
{% if v.ids_data %}
|
||||
<div style="clear:both;"></div>
|
||||
<div style="width:100%">
|
||||
<br/>
|
||||
<h4>Details</h4>
|
||||
<table class="table table-striped;" style="margin-top:5px;">
|
||||
<tbody>
|
||||
{% for k1, v1 in v.ids_data.items() %}
|
||||
{% if k1 != 'image' %}
|
||||
<tr>
|
||||
<th style="width:200px;">{{ title(k1) }}</th>
|
||||
<td>{% if v1 is iterable and (v1 is not string and v1 is not mapping) %}{{ v1 | join(', ') }}{% else %}{{ detect_link(v1) }}{% endif %}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td style="width:201px; position: relative;" valign="top">
|
||||
<img alt="Photo" style="width: 200px; height: 200px; object-fit: scale-down;" src="{{ v.status.ids_data.image or 'https://i.imgur.com/040fmbw.png' }}" data-holder-rendered="true">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{% if v.ids_data %}
|
||||
<div style="clear:both;"></div>
|
||||
<div style="width:100%">
|
||||
<br/>
|
||||
<h4>Details</h4>
|
||||
<table class="table table-striped;" style="margin-top:5px;">
|
||||
<tbody>
|
||||
{% for k1, v1 in v.ids_data.items() %}
|
||||
{% if k1 != 'image' %}
|
||||
<tr>
|
||||
<th style="width:100px;">{{ title(k1) }}</th>
|
||||
<td>{% if v1 is iterable and (v1 is not string and v1 is not mapping) %}{{ v1 | join(', ') }}{% else %}{{ detect_link(v1) }}{% endif %}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user