| Line 1... |
Line 1... |
| 1 |
<div class="devices index">
|
1 |
<div class="devices index">
|
| 2 |
<h2><?php echo __('Devices'); ?></h2>
|
2 |
<h2><?php echo __('Devices'); ?></h2>
|
| 3 |
<table cellpadding="0" cellspacing="0">
|
3 |
<table class="table table-striped">
|
| 4 |
<tr>
|
4 |
<tr>
|
| 5 |
<th><?php echo $this->Paginator->sort('id'); ?></th>
|
5 |
<th><?php echo $this->Paginator->sort('id'); ?></th>
|
| 6 |
<th><?php echo $this->Paginator->sort('user_id'); ?></th>
|
6 |
<th><?php echo $this->Paginator->sort('user_id'); ?></th>
|
| 7 |
<th><?php echo $this->Paginator->sort('versioncode'); ?></th>
|
7 |
<th><?php echo $this->Paginator->sort('versioncode'); ?></th>
|
| 8 |
<th><?php echo $this->Paginator->sort('versionname'); ?></th>
|
8 |
<th><?php echo $this->Paginator->sort('versionname'); ?></th>
|
| Line 10... |
Line 10... |
| 10 |
<th><?php echo $this->Paginator->sort('imeinumber'); ?></th>
|
10 |
<th><?php echo $this->Paginator->sort('imeinumber'); ?></th>
|
| 11 |
<th><?php echo $this->Paginator->sort('manufacturer'); ?></th>
|
11 |
<th><?php echo $this->Paginator->sort('manufacturer'); ?></th>
|
| 12 |
<th><?php echo $this->Paginator->sort('model'); ?></th>
|
12 |
<th><?php echo $this->Paginator->sort('model'); ?></th>
|
| 13 |
<th><?php echo $this->Paginator->sort('brand'); ?></th>
|
13 |
<th><?php echo $this->Paginator->sort('brand'); ?></th>
|
| 14 |
<th><?php echo $this->Paginator->sort('created'); ?></th>
|
14 |
<th><?php echo $this->Paginator->sort('created'); ?></th>
|
| 15 |
<th><?php echo $this->Paginator->sort('modified'); ?></th>
|
- |
|
| 16 |
<th class="actions"><?php echo __('Actions'); ?></th>
|
- |
|
| 17 |
</tr>
|
15 |
</tr>
|
| 18 |
<?php foreach ($devices as $device): ?>
|
16 |
<?php foreach ($devices as $device): ?>
|
| 19 |
<tr>
|
17 |
<tr>
|
| 20 |
<td><?php echo h($device['Device']['id']); ?> </td>
|
18 |
<td><?php echo h($device['Device']['id']); ?> </td>
|
| 21 |
<td>
|
19 |
<td>
|
| Line 27... |
Line 25... |
| 27 |
<td><?php echo h($device['Device']['imeinumber']); ?> </td>
|
25 |
<td><?php echo h($device['Device']['imeinumber']); ?> </td>
|
| 28 |
<td><?php echo h($device['Device']['manufacturer']); ?> </td>
|
26 |
<td><?php echo h($device['Device']['manufacturer']); ?> </td>
|
| 29 |
<td><?php echo h($device['Device']['model']); ?> </td>
|
27 |
<td><?php echo h($device['Device']['model']); ?> </td>
|
| 30 |
<td><?php echo h($device['Device']['brand']); ?> </td>
|
28 |
<td><?php echo h($device['Device']['brand']); ?> </td>
|
| 31 |
<td><?php echo h($device['Device']['created']); ?> </td>
|
29 |
<td><?php echo h($device['Device']['created']); ?> </td>
|
| 32 |
<td><?php echo h($device['Device']['modified']); ?> </td>
|
- |
|
| 33 |
<td class="actions">
|
- |
|
| 34 |
<?php echo $this->Html->link(__('View'), array('action' => 'view', $device['Device']['id'])); ?>
|
- |
|
| 35 |
<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $device['Device']['id'])); ?>
|
- |
|
| 36 |
<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $device['Device']['id']), null, __('Are you sure you want to delete # %s?', $device['Device']['id'])); ?>
|
- |
|
| 37 |
</td>
|
- |
|
| 38 |
</tr>
|
30 |
</tr>
|
| 39 |
<?php endforeach; ?>
|
31 |
<?php endforeach; ?>
|
| 40 |
</table>
|
32 |
</table>
|
| 41 |
<p>
|
33 |
<p>
|
| 42 |
<?php
|
34 |
<?php
|
| Line 50... |
Line 42... |
| 50 |
echo $this->Paginator->numbers(array('separator' => ''));
|
42 |
echo $this->Paginator->numbers(array('separator' => ''));
|
| 51 |
echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
|
43 |
echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
|
| 52 |
?>
|
44 |
?>
|
| 53 |
</div>
|
45 |
</div>
|
| 54 |
</div>
|
46 |
</div>
|
| 55 |
<div class="actions">
|
- |
|
| 56 |
<h3><?php echo __('Actions'); ?></h3>
|
- |
|
| 57 |
<ul>
|
- |
|
| 58 |
<li><?php echo $this->Html->link(__('New Device'), array('action' => 'add')); ?></li>
|
- |
|
| 59 |
<li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
|
- |
|
| 60 |
<li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
|
- |
|
| 61 |
</ul>
|
- |
|
| 62 |
</div>
|
- |
|