summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav')
-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>