mirror of
https://github.com/skoelle/icloud-contacts-sync.git
synced 2026-09-18 07:50:25 +00:00
web dashboard special links
This commit is contained in:
@@ -242,6 +242,44 @@
|
||||
.search-form button:hover {
|
||||
background: #0055aa;
|
||||
}
|
||||
|
||||
.contact-stats {
|
||||
display: flex;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.contact-stats-left {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.contact-stats-right {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.special-search {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0.4rem 0.6rem;
|
||||
background: #f8f9fa;
|
||||
border-radius: 4px;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
font-size: 0.8125rem;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
|
||||
.special-search:hover {
|
||||
background: #e9ecef;
|
||||
}
|
||||
|
||||
.special-search-label {
|
||||
color: #555;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -263,8 +301,23 @@
|
||||
<div class="dashboard-grid">
|
||||
<div class="box">
|
||||
<div class="box-title">Kontakte</div>
|
||||
<div class="stat-value">{{ contact_count }}</div>
|
||||
<div class="stat-label">gespeicherte Kontakte</div>
|
||||
<div class="contact-stats">
|
||||
<div class="contact-stats-left">
|
||||
<div class="stat-value">{{ contact_count }}</div>
|
||||
<div class="stat-label">gespeicherte Kontakte</div>
|
||||
</div>
|
||||
<div class="contact-stats-right">
|
||||
<a href="/search/special?type=no_photo" class="special-search">
|
||||
<span class="special-search-label">ohne Bild</span>
|
||||
</a>
|
||||
<a href="/search/special?type=no_city" class="special-search">
|
||||
<span class="special-search-label">ohne City</span>
|
||||
</a>
|
||||
<a href="/search/special?type=no_social" class="special-search">
|
||||
<span class="special-search-label">ohne Social</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
|
||||
<title>Kontakte – {{ account_name }}</title>
|
||||
<title>{% if search_title %}{{ search_title }} – {% endif %}{{ account_name }}</title>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
@@ -175,8 +175,8 @@
|
||||
<h1><a href="/" style="text-decoration:none;color:inherit;display:inline-flex;align-items:center;gap:0.4rem"><img src="/static/favicon.svg" alt="" style="height:1.5em;width:1.5em;vertical-align:middle">Kontakte</a></h1>
|
||||
<div class="meta">
|
||||
Angemeldet als <strong>{{ current_user }}</strong>
|
||||
{% if is_admin %}(<a href="/admin" style="color:inherit">Admin</a>{% if show_all %}, sieht alle Accounts{% endif %}){% else %}(Account: {{ account_name }}){% endif %}
|
||||
· {{ contacts|length }} Kontakte (max. 200 angezeigt)
|
||||
{% if is_admin %}(<a href="/admin" style="color:inherit">Admin</a> {% if show_all %}, sieht alle Accounts{% endif %}){% else %}(Account: {{ account_name }}){% endif %}
|
||||
· {% if search_title %}{{ search_title }}: {% endif %}{{ contacts|length }} Kontakte (max. 200 angezeigt)
|
||||
</div>
|
||||
|
||||
<form class="search-form" method="get" action="/search">
|
||||
|
||||
Reference in New Issue
Block a user