show information to user to check if info is valid

This commit is contained in:
stefan.tollkuehn committed 2026-10-08 13:36:29 +02:00
1 parent 8b54abe7d4
commit a9b3bcc5d4
2 files changed
+13

No files matched your search

+5
View File
@@ -25,6 +25,11 @@ $h = static function (string $value): string {
Nextcloud Calendar. Nextcloud Calendar.
</p> </p>
<p class="atocal-notice">
This request came from an external link.
Only continue if you trust its source.
</p>
<?php if ($_['error'] !== ''): ?> <?php if ($_['error'] !== ''): ?>
<div class="atocal-error"> <div class="atocal-error">
<?= $h($_['error']) ?> <?= $h($_['error']) ?>
+8
View File
@@ -22,6 +22,14 @@
margin-bottom: 28px; margin-bottom: 28px;
} }
.atocal-notice {
background: var(--color-warning);
color: var(--color-warning-text);
border-radius: 6px;
padding: 12px 16px;
margin-bottom: 28px;
}
.atocal-error { .atocal-error {
background: var(--color-error); background: var(--color-error);
color: var(--color-error-text); color: var(--color-error-text);