summaryrefslogtreecommitdiffstats
path: root/apps/dav/templates
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-07-25 13:24:09 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-07-27 10:43:22 +0200
commitbbfad33a40d581fb1b1a38cc442bb9707853c5bf (patch)
tree8c0364131e52a478e0f02aad1a88b79dc52c7845 /apps/dav/templates
parent253118298dbac78d13c5333279def8bbd3ad555c (diff)
downloadnextcloud-server-bbfad33a40d581fb1b1a38cc442bb9707853c5bf.tar.gz
nextcloud-server-bbfad33a40d581fb1b1a38cc442bb9707853c5bf.zip
Fix caldav invitation related public pages
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/dav/templates')
-rw-r--r--apps/dav/templates/schedule-response-error.php20
-rw-r--r--apps/dav/templates/schedule-response-options.php6
-rw-r--r--apps/dav/templates/schedule-response-success.php9
3 files changed, 25 insertions, 10 deletions
diff --git a/apps/dav/templates/schedule-response-error.php b/apps/dav/templates/schedule-response-error.php
index 010ea2ed6cb..ff6ae19fb1f 100644
--- a/apps/dav/templates/schedule-response-error.php
+++ b/apps/dav/templates/schedule-response-error.php
@@ -1,7 +1,15 @@
-<div class="update">
- <p class="message"><?php p($l->t('There was an error updating your attendance status.'));?></p>
- <p class="message"><?php p($l->t('Please contact the organizer directly.'));?></p>
- <?php if (isset($_['organizer'])): ?>
- <p class="message"><a href="<?php p($_['organizer']) ?>"><?php p(substr($_['organizer'], 7)) ?></a></p>
- <?php endif; ?>
+<?php
+// SPDX-FileCopyrightText: 2018 Georg Ehrke <oc.list@georgehrke.com>
+// SPDX-FileCopyrightText: 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
+// SPDX-FileCopyrightText: 2022 Carl Schwan <carl@carlschwan.eu>
+// SPDX-License-Identifier: AGPL-3.0-or-later
+?>
+<div class="guest-box">
+ <div class="notecard error">
+ <p><?php p($l->t('There was an error updating your attendance status.'));?></p>
+ <p><?php p($l->t('Please contact the organizer directly.'));?></p>
+ <?php if (isset($_['organizer'])): ?>
+ <p><a href="<?php p($_['organizer']) ?>"><?php p(substr($_['organizer'], 7)) ?></a></p>
+ <?php endif; ?>
+ </div>
</div>
diff --git a/apps/dav/templates/schedule-response-options.php b/apps/dav/templates/schedule-response-options.php
index f5ebb46cb26..fe12ea96c79 100644
--- a/apps/dav/templates/schedule-response-options.php
+++ b/apps/dav/templates/schedule-response-options.php
@@ -1,8 +1,10 @@
<?php
-style('dav', 'schedule-response');
+// SPDX-FileCopyrightText: 2018 Georg Ehrke <oc.list@georgehrke.com>
+// SPDX-License-Identifier: AGPL-3.0-or-later
+\OCP\Util::addStyle('dav', 'schedule-response');
?>
-<div class="update">
+<div class="guest-box">
<form action="" method="post">
<fieldset id="partStat">
<h2><?php p($l->t('Are you accepting the invitation?')); ?></h2>
diff --git a/apps/dav/templates/schedule-response-success.php b/apps/dav/templates/schedule-response-success.php
index f60cb1e0fa9..fa217164035 100644
--- a/apps/dav/templates/schedule-response-success.php
+++ b/apps/dav/templates/schedule-response-success.php
@@ -1,4 +1,9 @@
-<div class="update" style="justify-content: space-around; display: flex;">
- <span class="icon icon-checkmark-white"></span>
+<?php
+// SPDX-FileCopyrightText: 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
+// SPDX-FileCopyrightText: 2022 Carl Schwan <carl@carlschwan.eu>
+// SPDX-License-Identifier: AGPL-3.0-or-later
+?>
+<div class="guest-box">
+ <div class="icon icon-checkmark"></div>
<p class="message"><?php p($l->t('Your attendance was updated successfully.'));?></p>
</div>