]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/events_js.tpl
Bugfix: fix typo in event variable
[friendica.git] / view / theme / frio / templates / events_js.tpl
1 <div class="generic-page-wrapper">
2         {{$tabs}}
3         {{include file="section_title.tpl" title=$title}}
4
5         {{* The link to create a new event *}}
6         <div id="new-event-link"><a onclick="addToModal('{{$new_event.0}}')" >{{$new_event.1}}</a></div>
7
8         {{* We create our own fullcallendar header (with title & calendar view *}}
9         <div id="fc-header">
10                 <div id="fc-header-right" class="pull-right">
11                         {{* The dropdown to change the callendar view *}}
12                         <ul class="nav nav-pills">
13                                 <li class="dropdown pull-right">
14                                         <a class="btn btn-link btn-sm dropdown-toggle" type="button" id="event-calendar-views" data-toggle="dropdown" aria-expanded="true">
15                                                 <i class="fa fa-angle-down"></i> {{$view}}
16                                         </a>
17                                         <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="event-calendar-views">
18                                                 <li role="menuitem">
19                                                         <a onclick="changeView('changeView', 'month');$('#events-calendar').fullCalendar('option', {contentHeight: '', aspectRatio: 1});">{{$month}}</a>
20                                                 </li>
21                                                 <li role="menuitem">
22                                                         <a onclick="changeView('changeView', 'agendaWeek');$('#events-calendar').fullCalendar('option', 'contentHeight', 'auto');">{{$week}}</a>
23                                                 </li>
24                                                 <li role="menuitem">
25                                                         <a onclick="changeView('changeView', 'agendaDay');$('#events-calendar').fullCalendar('option', 'contentHeight', 'auto');">{{$day}}</a>
26                                                 </li>
27                                                 <li role="menuitem">
28                                                         <a onclick="changeView('changeView', 'listMonth');$('#events-calendar').fullCalendar('option', 'contentHeight', 'auto');">{{$list}}</a>
29                                                 </li>
30                                         </ul>
31                                 </li>
32                         </ul>
33                 </div>
34
35                 {{* The buttons to change the month/weeks/days *}}
36                 <div id="fc-fc-header-left" class="btn-group">
37                         <button class="btn btn-eventnav" onclick="changeView('prev', false);" title="{{$previous.1}}"><i class="fa fa-angle-up" aria-hidden="true"></i></i></button>
38                         <button class="btn btn-eventnav btn-separator" onclick="changeView('next', false);" title="{{$next.1}}"><i class="fa fa-angle-down" aria-hidden="true"></i></i></button>
39                         <button class="btn btn-eventnav btn-separator" onclick="changeView('today', false);" title="{{$today}}"><i class="fa fa-bullseye"></i></button>
40                 </div>
41
42                 {{* The title (e.g. name of the mont/week/day) *}}
43                 <div id="event-calendar-title"><h4 id="fc-title"></h4></div>
44
45         </div>
46
47         {{* This is the container where the fullCalendar is inserted through js *}}
48         <div id="events-calendar"></div>
49 </div>