adding example apps, fixing powerup issues
[feisty_meow.git] / production / example_apps / shared_calendar / src / Template / Users / view.ctp
1 <?php
2 /**
3   * @var \App\View\AppView $this
4   * @var \App\Model\Entity\User $user
5   */
6 ?>
7 <nav class="large-3 medium-4 columns" id="actions-sidebar">
8     <ul class="side-nav">
9         <li class="heading"><?= __('Actions') ?></li>
10 <!--        <li><?= $this->Html->link(__('Edit User'), ['action' => 'edit', $user->id]) ?> </li> -->
11         <li><?= $this->Form->postLink(__('Delete User'), ['action' => 'delete', $user->id], ['confirm' => __('Are you sure you want to delete # {0}?', $user->id)]) ?> </li>
12         <li><?= $this->Html->link(__('List Users'), ['action' => 'index']) ?> </li>
13         <li><?= $this->Html->link(__('New User'), ['action' => 'add']) ?> </li>
14     </ul>
15 </nav>
16 <div class="users view large-9 medium-8 columns content">
17     <h3><?= h($user->name) ?></h3>
18     <table class="vertical-table">
19         <tr>
20             <th scope="row"><?= __('Name') ?></th>
21             <td><?= h($user->name) ?></td>
22         </tr>
23         <tr>
24             <th scope="row"><?= __('Token') ?></th>
25             <td><?= h($user->token) ?></td>
26         </tr>
27         <tr>
28             <th scope="row"><?= __('Id') ?></th>
29             <td><?= $this->Number->format($user->id) ?></td>
30         </tr>
31         <tr>
32             <th scope="row"><?= __('Created') ?></th>
33             <td><?= h($user->created) ?></td>
34         </tr>
35         <tr>
36             <th scope="row"><?= __('Modified') ?></th>
37             <td><?= h($user->modified) ?></td>
38         </tr>
39     </table>
40 </div>