add templates

This commit is contained in:
Mario Vavti 2015-11-27 22:53:36 +01:00
parent bcfa72ed31
commit fce1dc083b
2 changed files with 23 additions and 0 deletions

8
view/tpl/events_menu_side.tpl Executable file
View file

@ -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>

15
view/tpl/events_tools_side.tpl Executable file
View file

@ -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>