forked from nextcloud/calendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpart.event.dialog.php
75 lines (67 loc) · 2.1 KB
/
part.event.dialog.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?php
/**
* Calendar App
*
* @author Raghu Nayyar
* @author Georg Ehrke
* @copyright 2016 Raghu Nayyar <hey@raghunayyar.com>
* @copyright 2016 Georg Ehrke <oc.list@georgehrke.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
?>
<div id="events"
title="<?php p($l->t("Edit event")); ?>"
open="{{dialogOpen}}"
ok-button="OK"
ok-callback="handleOk"
cancel-button="Cancel"
cancel-callback="handleCancel"
ng-init="monthday = true; yearly = true;">
<form id="event_form">
<div class="tabs">
<ul>
<li class="tab pull-left" ng-repeat="tab in tabs"
ng-click="tabopener(tab.value)" ng-class="{active: tab.value == selected}">
{{tab.title}}
</li>
</ul>
</div>
<div class="events-container">
<div ng-include="currentTab"></div>
</div>
<div ng-show="eventsinfoview">
<?php print_unescaped($this->inc('part.eventsinfo')); ?>
</div>
<div ng-show="eventsattendeeview">
<?php print_unescaped($this->inc('part.eventsattendees')); ?>
</div>
<div ng-show="eventsalarmview">
<?php print_unescaped($this->inc('part.eventsalarms')); ?>
</div>
<div class="events-container">
<fieldset class="event-fieldset pull-left">
<button ng-click="delete()" class="event-button button btn">
<?php p($l->t('Delete Event')); ?>
</button>
</fieldset>
<fieldset class="event-fieldset pull-right">
<button ng-click="update()" class="event-button button btn primary">
<?php p($l->t('Save Event')); ?>
</button>
</fieldset>
</div>
</form>
</div>