schedule-response-options.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. // SPDX-FileCopyrightText: 2018 Georg Ehrke <oc.list@georgehrke.com>
  3. // SPDX-License-Identifier: AGPL-3.0-or-later
  4. \OCP\Util::addStyle('dav', 'schedule-response');
  5. ?>
  6. <div class="guest-box">
  7. <form action="" method="post">
  8. <fieldset id="partStat">
  9. <h2><?php p($l->t('Are you accepting the invitation?')); ?></h2>
  10. <div id="selectPartStatForm">
  11. <input type="radio" id="partStatAccept" name="partStat" value="ACCEPTED" checked />
  12. <label for="partStatAccept">
  13. <span><?php p($l->t('Accept')); ?></span>
  14. </label>
  15. <input type="radio" id="partStatTentative" name="partStat" value="TENTATIVE" />
  16. <label for="partStatTentative">
  17. <span><?php p($l->t('Tentative')); ?></span>
  18. </label>
  19. <input type="radio" class="declined" id="partStatDeclined" name="partStat" value="DECLINED" />
  20. <label for="partStatDeclined">
  21. <span><?php p($l->t('Decline')); ?></span>
  22. </label>
  23. </div>
  24. </fieldset>
  25. <fieldset id="more_options">
  26. <input type="number" min="0" name="guests" placeholder="<?php p($l->t('Number of guests')); ?>" />
  27. <input type="text" name="comment" placeholder="<?php p($l->t('Comment')); ?>" />
  28. </fieldset>
  29. <fieldset>
  30. <input type="submit" value="<?php p($l->t('Save'));?>">
  31. </fieldset>
  32. </form>
  33. </div>