Initial commit

This commit is contained in:
2018-04-02 08:23:14 +02:00
commit 9b83d1dc09
151 changed files with 20566 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
<?php
/**
* @var \App\View\AppView $this
* @var \App\Model\Entity\School[]|\Cake\Collection\CollectionInterface $schools
*/
?>
<nav class="large-3 medium-4 columns" id="actions-sidebar">
<ul class="side-nav">
<li class="heading"><?= __('Actions') ?></li>
<li><?= $this->Html->link(__('New School'), ['action' => 'add']) ?></li>
<li><?= $this->Html->link(__('List Budget'), ['controller' => 'Budget', 'action' => 'index']) ?></li>
<li><?= $this->Html->link(__('New Budget'), ['controller' => 'Budget', 'action' => 'add']) ?></li>
</ul>
</nav>
<div class="schools index large-9 medium-8 columns content">
<h3><?= __('Schools') ?></h3>
<table cellpadding="0" cellspacing="0">
<thead>
<tr>
<th scope="col"><?= $this->Paginator->sort('id') ?></th>
<th scope="col"><?= $this->Paginator->sort('dst_schluessel') ?></th>
<th scope="col"><?= $this->Paginator->sort('dst_name') ?></th>
<th scope="col"><?= $this->Paginator->sort('dst_schulart') ?></th>
<th scope="col" class="actions"><?= __('Actions') ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($schools as $school): ?>
<tr>
<td><?= $this->Number->format($school->id) ?></td>
<td><?= h($school->dst_schluessel) ?></td>
<td><?= h($school->dst_name) ?></td>
<td><?= h($school->dst_schulart) ?></td>
<td class="actions">
<?= $this->Html->link(__('View'), ['action' => 'view', $school->id]) ?>
<?= $this->Html->link(__('Edit'), ['action' => 'edit', $school->id]) ?>
<?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $school->id], ['confirm' => __('Are you sure you want to delete # {0}?', $school->id)]) ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<div class="paginator">
<ul class="pagination">
<?= $this->Paginator->first('<< ' . __('first')) ?>
<?= $this->Paginator->prev('< ' . __('previous')) ?>
<?= $this->Paginator->numbers() ?>
<?= $this->Paginator->next(__('next') . ' >') ?>
<?= $this->Paginator->last(__('last') . ' >>') ?>
</ul>
<p><?= $this->Paginator->counter(['format' => __('Page {{page}} of {{pages}}, showing {{current}} record(s) out of {{count}} total')]) ?></p>
</div>
</div>