3 * @var \App\View\AppView $this
4 * @var \App\Model\Entity\User[]|\Cake\Collection\CollectionInterface $users
7 <nav class="large-3 medium-4 columns" id="actions-sidebar">
9 <li class="heading"><?= __('Actions') ?></li>
10 <li><?= $this->Html->link(__('New User'), ['action' => 'add']) ?></li>
13 <div class="users index large-9 medium-8 columns content">
14 <h3><?= __('Users') ?></h3>
15 <table cellpadding="0" cellspacing="0">
18 <th scope="col"><?= $this->Paginator->sort('id') ?></th>
19 <th scope="col"><?= $this->Paginator->sort('name') ?></th>
20 <th scope="col"><?= $this->Paginator->sort('token') ?></th>
21 <th scope="col"><?= $this->Paginator->sort('created') ?></th>
22 <th scope="col"><?= $this->Paginator->sort('modified') ?></th>
23 <th scope="col" class="actions"><?= __('Actions') ?></th>
27 <?php foreach ($users as $user): ?>
29 <td><?= $this->Number->format($user->id) ?></td>
30 <td><?= h($user->name) ?></td>
31 <td><?= h($user->token) ?></td>
32 <td><?= h($user->created) ?></td>
33 <td><?= h($user->modified) ?></td>
35 <?= $this->Html->link(__('Calendar'), ['action' => 'showCalendar', $user->id]) ?>
36 <?= $this->Html->link(__('View'), ['action' => 'view', $user->id]) ?>
37 <!-- <?= $this->Html->link(__('Edit'), ['action' => 'edit', $user->id]) ?> -->
38 <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $user->id], ['confirm' => __('Are you sure you want to delete # {0}?', $user->id)]) ?>
39 <?= $this->Html->link(__('Revoke'), ['action' => 'revoke', $user->id], ['confirm' => __('Are you *SURE* you want to revoke authorization # {0}? This will totally drop that authorization, which you cannot re-add unless you are the original user that stored it.', $user->id)]) ?>
45 <div class="paginator">
46 <ul class="pagination">
47 <?= $this->Paginator->first('<< ' . __('first')) ?>
48 <?= $this->Paginator->prev('< ' . __('previous')) ?>
49 <?= $this->Paginator->numbers() ?>
50 <?= $this->Paginator->next(__('next') . ' >') ?>
51 <?= $this->Paginator->last(__('last') . ' >>') ?>
53 <p><?= $this->Paginator->counter(['format' => __('Page {{page}} of {{pages}}, showing {{current}} record(s) out of {{count}} total')]) ?></p>