prettify alias activity page
This commit is contained in:
parent
460c306712
commit
e83f11342d
|
@ -40,7 +40,7 @@
|
|||
}
|
||||
|
||||
.card-counter i {
|
||||
font-size: 5em;
|
||||
font-size: 2em;
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
|
@ -103,35 +103,41 @@
|
|||
</div>
|
||||
<div class="row mt-4">
|
||||
{% for log in logs %}
|
||||
<div class="col-12">
|
||||
<div class="col-lg-6">
|
||||
<div class="my-2 p-2 card border-light">
|
||||
|
||||
<div class="font-weight-bold">{{ log.when | dt }}
|
||||
{% if log.bounced %} ⚠️ {% endif %}
|
||||
<div class="float-right pr-3">
|
||||
{% if log.bounced %}
|
||||
⚠️
|
||||
{% else %}
|
||||
|
||||
{% if log.is_reply %}
|
||||
<i class="fa fa-reply"></i>
|
||||
{% elif log.blocked %}
|
||||
<i class="fa fa-ban"></i>
|
||||
{% else %}
|
||||
<i class="fa fa-paper-plane"></i>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
{% if log.bounced %}
|
||||
{% if log.bounced %}
|
||||
<div>
|
||||
<span class="mr-2">{{ log.website_email }}</span>
|
||||
<img src="{{ url_for('static', filename='arrows/forward-arrow.svg') }}" class="arrow">
|
||||
<span class="ml-2">{{ log.alias }}</span>
|
||||
<img src="{{ url_for('static', filename='arrows/blocked-arrow.svg') }}" class="arrow">
|
||||
<span class="ml-2">{{ log.mailbox }}</span>
|
||||
{% else %}
|
||||
<span class="mr-2">{{ log.website_email }}</span>
|
||||
</div>
|
||||
{% else %}
|
||||
<div>
|
||||
{{ log.website_email }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<span>
|
||||
{% if log.is_reply %}
|
||||
<img src="{{ url_for('static', filename='arrows/reply-arrow.svg') }}" class="arrow">
|
||||
{% elif log.blocked %}
|
||||
<img src="{{ url_for('static', filename='arrows/blocked-arrow.svg') }}" class="arrow">
|
||||
{% else %}
|
||||
<img src="{{ url_for('static', filename='arrows/forward-arrow.svg') }}" class="arrow">
|
||||
{% endif %}
|
||||
</span>
|
||||
|
||||
<span class="ml-2">{{ log.alias }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue