aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-11-27 22:53:36 +0100
committerMario Vavti <mario@mariovavti.com>2015-11-27 22:53:36 +0100
commitfce1dc083b0d6d8294463b9e698924f6f53593cd (patch)
treeb538b3b0bb7b8af381ed8b39076552755aed1289
parentbcfa72ed310f05dc9a5fca9e724c07b7216aa7fd (diff)
downloadvolse-hubzilla-fce1dc083b0d6d8294463b9e698924f6f53593cd.tar.gz
volse-hubzilla-fce1dc083b0d6d8294463b9e698924f6f53593cd.tar.bz2
volse-hubzilla-fce1dc083b0d6d8294463b9e698924f6f53593cd.zip
add templates
-rwxr-xr-xview/tpl/events_menu_side.tpl8
-rwxr-xr-xview/tpl/events_tools_side.tpl15
2 files changed, 23 insertions, 0 deletions
diff --git a/view/tpl/events_menu_side.tpl b/view/tpl/events_menu_side.tpl
new file mode 100755
index 000000000..b9a9062b1
--- /dev/null
+++ b/view/tpl/events_menu_side.tpl
@@ -0,0 +1,8 @@
+<div class="widget">
+ <h3>{{$title}}</h3>
+ <ul class="nav nav-pills nav-stacked">
+ <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>
+</div>
diff --git a/view/tpl/events_tools_side.tpl b/view/tpl/events_tools_side.tpl
new file mode 100755
index 000000000..5e20511fc
--- /dev/null
+++ b/view/tpl/events_tools_side.tpl
@@ -0,0 +1,15 @@
+<div class="widget">
+ <h3>{{$title}}</h3>
+ <ul class="nav nav-pills nav-stacked">
+ <li><a href="#" onclick="exportDate(); return false;"><i class="icon-download"></i>&nbsp;{{$export}}</a></li>
+ <li><a href="#" onclick="openClose('event-upload-form'); return false;"><i class="icon-upload"></i>&nbsp;{{$import}}</a></li>
+ </ul>
+ <div id="event-upload-form" style="display: none;">
+ <form action="events" enctype="multipart/form-data" method="post" name="event-upload-form" id="event-upload-form">
+ <div class="form-group">
+ <input id="event-upload-choose" type="file" name="userfile" />
+ </div>
+ <button id="dbtn-submit" class="btn btn-primary btn-xs" type="submit" name="submit" >{{$submit}}</button>
+ </form>
+ </div>
+</div>