Initial commit
This commit is contained in:
16
app/plugins/calendar/views/nav/calendarDropdown.html
Normal file
16
app/plugins/calendar/views/nav/calendarDropdown.html
Normal file
@ -0,0 +1,16 @@
|
||||
<li class="pull-right dropdown">
|
||||
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Calendars <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="{ROOT_URL}calendar/{currentView}/">All</a></li>
|
||||
<li role="separator" class="divider"></li>
|
||||
{LOOP}
|
||||
<li><a href="{ROOT_URL}calendar/{currentView}/{ID}">{title}</a></li>
|
||||
{/LOOP}
|
||||
<li role="separator" class="divider"></li>
|
||||
<li><a href="{ROOT_URL}calendar/createCalendar">Create Calendar</a></li>
|
||||
<li><a href="{ROOT_URL}calendar/editCalendar/{calendarID}">Edit Calendar</a></li>
|
||||
<li><a href="{ROOT_URL}calendar/deleteCalendar/{calendarID}">Delete Calendar</a></li>
|
||||
</ul>
|
||||
</li>
|
23
app/plugins/calendar/views/nav/cell.html
Normal file
23
app/plugins/calendar/views/nav/cell.html
Normal file
@ -0,0 +1,23 @@
|
||||
<ul class="list-group">
|
||||
{LOOP}
|
||||
<li class="list-group-item btn-{displayColor}">
|
||||
<p style="text-align: center;">{title}</p>
|
||||
<p style="text-align: center;">{DTC}{event_time}{/DTC}</p>
|
||||
<p>
|
||||
<a href="{ROOT_URL}calendar/event/{ID}" class="btn btn-sm btn-primary" role="button"><i class="glyphicon glyphicon-open"></i></a>
|
||||
<a href="{ROOT_URL}calendar/editEvent/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a>
|
||||
<a href="{ROOT_URL}calendar/deleteEvent/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a>
|
||||
</p>
|
||||
</li>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<li class="list-group-item">
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
</li>
|
||||
{/ALT}
|
||||
<a href="{ROOT_URL}calendar/createEvent?calendar_id={calendarID}&month={currentMonth}&day={currentDay}" class="list-group-item list-group-item-success"><i class="glyphicon glyphicon-plus"></i></a>
|
||||
</ul>
|
18
app/plugins/calendar/views/nav/dateDropdown.html
Normal file
18
app/plugins/calendar/views/nav/dateDropdown.html
Normal file
@ -0,0 +1,18 @@
|
||||
<ul class="nav nav-pills">
|
||||
<li class="dropdown pull-right">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Switch Date <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<li><input type="date" name="date" id="date" class="form-control" value="{date}" /></li>
|
||||
<li role="separator" class="divider"></li>
|
||||
<li>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-primary center-block">
|
||||
Select Date
|
||||
</button>
|
||||
</li>
|
||||
</form>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
12
app/plugins/calendar/views/nav/row.html
Normal file
12
app/plugins/calendar/views/nav/row.html
Normal file
@ -0,0 +1,12 @@
|
||||
<span class="hour-body">
|
||||
{LOOP}
|
||||
<div class="hour-cell btn-{displayColor}">
|
||||
<p class="event-title">{title}</p>
|
||||
<a href="{ROOT_URL}calendar/event/{ID}" class="btn btn-sm btn-primary" role="button"><i class="glyphicon glyphicon-open"></i></a>
|
||||
<a href="{ROOT_URL}calendar/editEvent/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a>
|
||||
<a href="{ROOT_URL}calendar/deleteEvent/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a>
|
||||
</div>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
{/ALT}
|
||||
</span>
|
8
app/plugins/calendar/views/nav/topTabs.html
Normal file
8
app/plugins/calendar/views/nav/topTabs.html
Normal file
@ -0,0 +1,8 @@
|
||||
<ul class="nav nav-tabs">
|
||||
<li><a href="{ROOT_URL}calendar/byDay/{calendarID}">Daily</a></li>
|
||||
<li><a href="{ROOT_URL}calendar/byWeek/{calendarID}">Weekly</a></li>
|
||||
<li><a href="{ROOT_URL}calendar/byMonth/{calendarID}">Monthly</a></li>
|
||||
<li><a href="{ROOT_URL}calendar/byYear/{calendarID}">Yearly</a></li>
|
||||
<li><a href="{ROOT_URL}calendar/events/{calendarID}">Events</a></li>
|
||||
{calendarDropdown}
|
||||
</ul>
|
9
app/plugins/calendar/views/nav/week.html
Normal file
9
app/plugins/calendar/views/nav/week.html
Normal file
@ -0,0 +1,9 @@
|
||||
<div class="row calendar-row">
|
||||
{LOOP}
|
||||
<div class="col-xs-1 calendar-cell">
|
||||
<h4 class="{highlightedDate}">{day}</h4>{dayEventList}
|
||||
</div>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
{/ALT}
|
||||
</div>
|
Reference in New Issue
Block a user