aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-26 22:44:49 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-26 22:44:49 -0700
commit85f546e691351efbab36da34be6e625c7198066a (patch)
tree9b0ad7ebaed5404257267f3cfa257de2de8f5c17 /view/tpl
parent9e6aea73822741a742f4630e60629442dae5633b (diff)
downloadvolse-hubzilla-85f546e691351efbab36da34be6e625c7198066a.tar.gz
volse-hubzilla-85f546e691351efbab36da34be6e625c7198066a.tar.bz2
volse-hubzilla-85f546e691351efbab36da34be6e625c7198066a.zip
crude but more or less functional event import from thunderbird ics files
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/events-js.tpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/view/tpl/events-js.tpl b/view/tpl/events-js.tpl
index 9812291bf..7ecf2e753 100755
--- a/view/tpl/events-js.tpl
+++ b/view/tpl/events-js.tpl
@@ -3,6 +3,19 @@
<h2>{{$title}}</h2>
+<button class="btn btn-xs btn-success btn-xs pull-right" title="{{$usage}}" onclick="openClose('event-upload-form');"><i class="icon-upload"></i>&nbsp;{{$upload}}</button>
+
+<div id="event-upload-form" style="display:none;">
+ <div class="section-content-tools-wrapper">
+ <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-sm" type="submit" name="submit" >{{$submit}}</button>
+ </form>
+ </div>
+</div>
+
<div id="export-event-link"><button class="btn btn-default btn-sm" onclick="exportDate(); return false;" >{{$export.1}}</button></div>
<div id="new-event-link"><button class="btn btn-default btn-sm" onclick="window.location.href='{{$new_event.0}}'; return false;" >{{$new_event.1}}</button></div>