aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/events-js.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-07-01 12:21:19 +0200
committerMario Vavti <mario@mariovavti.com>2016-07-01 12:21:19 +0200
commit7371e0862543922b65eac920e128ca4ef1348b13 (patch)
tree52f36b09ceead535beac452f6f2d650d4c531bc5 /view/tpl/events-js.tpl
parentbb5ec8cfb89bc5cc1532ffacee22e21aa9415e23 (diff)
downloadvolse-hubzilla-7371e0862543922b65eac920e128ca4ef1348b13.tar.gz
volse-hubzilla-7371e0862543922b65eac920e128ca4ef1348b13.tar.bz2
volse-hubzilla-7371e0862543922b65eac920e128ca4ef1348b13.zip
ditch the change_view widget and make header fixed in fullscreen mode
Diffstat (limited to 'view/tpl/events-js.tpl')
-rwxr-xr-xview/tpl/events-js.tpl22
1 files changed, 15 insertions, 7 deletions
diff --git a/view/tpl/events-js.tpl b/view/tpl/events-js.tpl
index 7d5258ecd..3397411a8 100755
--- a/view/tpl/events-js.tpl
+++ b/view/tpl/events-js.tpl
@@ -1,13 +1,21 @@
<div class="generic-content-wrapper">
<div class="section-title-wrapper">
<div class="pull-right">
- <button id="fullscreen-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen();"><i class="fa fa-expand"></i></button>
- <button id="inline-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen(false);"><i class="fa fa-compress"></i></button>
- <button class="btn btn-success btn-xs" onclick="openClose('form');">{{$new_event.1}}</button>
- <div class="btn-group">
- <button class="btn btn-default btn-xs" onclick="changeView('prev', false);" title="{{$prev}}"><i class="fa fa-backward"></i></button>
- <button id="events-spinner" class="btn btn-default btn-xs" onclick="changeView('today', false);" title="{{$today}}"><i class="fa fa-bullseye"></i></button>
- <button class="btn btn-default btn-xs" onclick="changeView('next', false);" title="{{$next}}"><i class="fa fa-forward"></i></button>
+ <div class="dropdown">
+ <button id="fullscreen-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen();"><i class="fa fa-expand"></i></button>
+ <button id="inline-btn" type="button" class="btn btn-default btn-xs" onclick="makeFullScreen(false);"><i class="fa fa-compress"></i></button>
+ <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"><i class="fa fa-caret-down"></i>&nbsp;{{$view_label}}</button>
+ <ul class="dropdown-menu">
+ <li><a href="#" onclick="changeView('changeView', 'month'); return false;">{{$month}}</a></li>
+ <li><a href="#" onclick="changeView('changeView', 'agendaWeek'); return false;">{{$week}}</a></li>
+ <li><a href="#" onclick="changeView('changeView', 'agendaDay'); return false;">{{$day}}</a></li>
+ </ul>
+ <button class="btn btn-success btn-xs" onclick="openClose('form');">{{$new_event.1}}</button>
+ <div class="btn-group">
+ <button class="btn btn-default btn-xs" onclick="changeView('prev', false);" title="{{$prev}}"><i class="fa fa-backward"></i></button>
+ <button id="events-spinner" class="btn btn-default btn-xs" onclick="changeView('today', false);" title="{{$today}}"><i class="fa fa-bullseye"></i></button>
+ <button class="btn btn-default btn-xs" onclick="changeView('next', false);" title="{{$next}}"><i class="fa fa-forward"></i></button>
+ </div>
</div>
</div>
<h2 id="title"></h2>