diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-07-27 18:01:20 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-07-27 18:01:20 -0700 |
commit | 3269d4632f180887d5eca96fcfaa03370bbae2a3 (patch) | |
tree | 8f67725e77b4565a2cbac7e67de7ff952db01ee9 /view | |
parent | 70a5a7b717955138279f2dd8f2a1de16aa76bd53 (diff) | |
parent | 0b232a610cdcbb701dacf8dd661b86b64bb582fc (diff) | |
download | volse-hubzilla-3269d4632f180887d5eca96fcfaa03370bbae2a3.tar.gz volse-hubzilla-3269d4632f180887d5eca96fcfaa03370bbae2a3.tar.bz2 volse-hubzilla-3269d4632f180887d5eca96fcfaa03370bbae2a3.zip |
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts:
util/messages.po
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/events-js.tpl | 13 |
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> {{$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> |