web badge on top right

This commit is contained in:
2026-08-05 17:06:41 +02:00
parent 082a7c5b38
commit be7832ea31
3 changed files with 12 additions and 9 deletions
+5 -4
View File
@@ -96,7 +96,6 @@
white-space: nowrap; white-space: nowrap;
color: #888; color: #888;
background: #f0f0f0; background: #f0f0f0;
margin-top: 0.35rem;
} }
.section { .section {
@@ -209,13 +208,15 @@
{% if contact.organization %}{{ contact.organization }}{% endif %} {% if contact.organization %}{{ contact.organization }}{% endif %}
</div> </div>
{% endif %} {% endif %}
</div>
<div style="display:flex;flex-direction:column;align-items:center;gap:0.3rem">
{% if contact.photo_url %}
<img src="{{ contact.photo_url }}" alt="Foto" class="contact-photo" onerror="this.style.display='none'">
{% endif %}
{% if show_all and contact.account %} {% if show_all and contact.account %}
<span class="badge">Account: {{ contact.account }}</span> <span class="badge">Account: {{ contact.account }}</span>
{% endif %} {% endif %}
</div> </div>
{% if contact.photo_url %}
<img src="{{ contact.photo_url }}" alt="Foto" class="contact-photo" onerror="this.style.display='none'">
{% endif %}
</div> </div>
{% if contact.birthday %} {% if contact.birthday %}
+6 -4
View File
@@ -200,13 +200,15 @@
{% if c.birthday %} {% if c.birthday %}
<div class="contact-birthday">{{ c.birthday }}</div> <div class="contact-birthday">{{ c.birthday }}</div>
{% endif %} {% endif %}
</div>
<div style="display:flex;flex-direction:column;align-items:center;gap:0.3rem">
{% if c.photo_url %}
<img src="{{ c.photo_url }}" alt="" class="contact-photo" onerror="this.style.display='none'">
{% endif %}
{% if show_all and c.account %} {% if show_all and c.account %}
<div class="contact-birthday"><span class="badge">Account: {{ c.account }}</span></div> <span class="badge">Account: {{ c.account }}</span>
{% endif %} {% endif %}
</div> </div>
{% if c.photo_url %}
<img src="{{ c.photo_url }}" alt="" class="contact-photo" onerror="this.style.display='none'">
{% endif %}
</div> </div>
</a> </a>
{% endfor %} {% endfor %}
+1 -1
View File
@@ -100,7 +100,7 @@ def main():
except Exception: except Exception:
logger.exception("Schema-Init fehlgeschlagen — Sync wird trotzdem gestartet") logger.exception("Schema-Init fehlgeschlagen — Sync wird trotzdem gestartet")
logger.info("Fuehre initialen Sync aus...") logger.info("Starte ersten Sync-Lauf...")
run_sync() run_sync()
last_sync = datetime.now() last_sync = datetime.now()