changes to the instace displaying

This commit is contained in:
2026-08-26 14:33:49 +02:00
parent bd50657182
commit 24b2b31e24
2 changed files with 46 additions and 23 deletions
+8 -1
View File
@@ -20,6 +20,13 @@
<p><strong>Letzte Meldung:</strong> {{ instance.last_message }}</p>
<p><strong>Aktualisiert:</strong> {{ instance.updated_at }}</p>
<p><strong>Zugang:</strong> <a href="https://{{ instance.domain }}" target="_blank" rel="noopener noreferrer">https://{{ instance.domain }}</a></p>
{% elif pending_request %}
<div style="background-color: #f8f9fa; border-left: 4px solid #007bff; padding: 1rem; margin-top: 1rem;">
<p><strong>Ihre Instanz wird gerade eingerichtet!</strong></p>
<p>Die Subdomain <em>{{ pending_request.subdomain }}</em> wird für Sie bereitgestellt. Dies kann einen kurzen Moment dauern.</p>
<p>Bitte laden Sie diese Seite in ein paar Sekunden neu.</p>
<button onclick="window.location.reload();" style="margin-top: 10px; padding: 8px 16px; cursor: pointer;">Seite neu laden</button>
</div>
{% else %}
<p>Für Ihr Konto ist aktuell keine Instanz zugewiesen.</p>
<p>Bitte wenden Sie sich an den Administrator, um eine Instanz zugewiesen zu bekommen.</p>
@@ -38,4 +45,4 @@
.instance-card h2 { margin: 0 0 0.6rem; }
.instance-card p { margin: 0.28rem 0; }
</style>
{% endblock %}
{% endblock %}