mirror of
https://github.com/skoelle/icloud-contacts-sync.git
synced 2026-09-17 15:30:24 +00:00
web badge on top right
This commit is contained in:
@@ -96,7 +96,6 @@
|
||||
white-space: nowrap;
|
||||
color: #888;
|
||||
background: #f0f0f0;
|
||||
margin-top: 0.35rem;
|
||||
}
|
||||
|
||||
.section {
|
||||
@@ -209,13 +208,15 @@
|
||||
{% if contact.organization %}{{ contact.organization }}{% endif %}
|
||||
</div>
|
||||
{% 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 %}
|
||||
<span class="badge">Account: {{ contact.account }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if contact.photo_url %}
|
||||
<img src="{{ contact.photo_url }}" alt="Foto" class="contact-photo" onerror="this.style.display='none'">
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if contact.birthday %}
|
||||
|
||||
@@ -200,13 +200,15 @@
|
||||
{% if c.birthday %}
|
||||
<div class="contact-birthday">{{ c.birthday }}</div>
|
||||
{% 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 %}
|
||||
<div class="contact-birthday"><span class="badge">Account: {{ c.account }}</span></div>
|
||||
<span class="badge">Account: {{ c.account }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if c.photo_url %}
|
||||
<img src="{{ c.photo_url }}" alt="" class="contact-photo" onerror="this.style.display='none'">
|
||||
{% endif %}
|
||||
</div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
||||
+1
-1
@@ -100,7 +100,7 @@ def main():
|
||||
except Exception:
|
||||
logger.exception("Schema-Init fehlgeschlagen — Sync wird trotzdem gestartet")
|
||||
|
||||
logger.info("Fuehre initialen Sync aus...")
|
||||
logger.info("Starte ersten Sync-Lauf...")
|
||||
run_sync()
|
||||
|
||||
last_sync = datetime.now()
|
||||
|
||||
Reference in New Issue
Block a user