<?php Block::put('breadcrumb') ?>
	<h2 style="color:white; margin-top:4px"><?= trans('netsti.system::lang.calendars.title') ?> - <span id="date"></span></h2>
	<p style="color:white"><?= trans('netsti.system::lang.calendars.manage') ?></p>
<?php Block::endPut() ?>

<?= Form::open(['class' => 'layout']) ?>
	<div class="layout-row">
		<div class="control-toolbar">
			<div class="toolbar-item toolbar-primary">
				<div data-control="toolbar">
					<a href="<?= Backend::url('netsti/system/events/create') ?>"
						class="btn btn-primary oc-icon-plus">
						<?= trans('netsti.system::lang.create') ?>
					</a>

					<a href="<?= Backend::url('netsti/system/calendars') ?>"
						class="btn btn-default oc-icon-calendar-o">
						<?= trans('netsti.system::lang.calendars.manage') ?>
					</a>
					
					<a href="<?= Backend::url('netsti/system/events') ?>"
						class="btn btn-default oc-icon-eye">
						<?= trans('netsti.system::lang.events.view_events') ?>
					</a>
				</div>
			</div>
			<div class="toolbar-item" style="width: 150px">
				<div class="btn-group">
					<button type="button" class="btn btn-default" id="prev"><i class="icon-arrow-left"></i></button>
					<button type="button" class="btn btn-default" id="today"><i class="icon-circle"></i></button>
					<button type="button" class="btn btn-default" id="next"><i class="icon-arrow-right"></i></button>
				</div>
			</div>
		</div>
		<h3 id="calender-current-day"></h3>
		<h2 id="calender-current-date"></h2>
		<div id="calendar"></div>
	</div>
<?= Form::close() ?>