Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15403 manish.sha 1
<div class="devices index">
2
	<h2><?php echo __('Devices'); ?></h2>
3
	<table class="table table-striped">
4
	<tr>
5
			<th><?php echo $this->Paginator->sort('id'); ?></th>
6
			<th><?php echo $this->Paginator->sort('user_id'); ?></th>
7
			<th><?php echo $this->Paginator->sort('versioncode'); ?></th>
8
			<th><?php echo $this->Paginator->sort('versionname'); ?></th>
9
			<th><?php echo $this->Paginator->sort('osversion'); ?></th>
10
			<th><?php echo $this->Paginator->sort('imeinumber'); ?></th>
11
			<th><?php echo $this->Paginator->sort('manufacturer'); ?></th>
12
			<th><?php echo $this->Paginator->sort('model'); ?></th>
13
			<th><?php echo $this->Paginator->sort('brand'); ?></th>
14
			<th><?php echo $this->Paginator->sort('created'); ?></th>
15
	</tr>
16
	<?php foreach ($devices as $device): ?>
17
	<tr>
18
		<td><?php echo h($device['Device']['id']); ?>&nbsp;</td>
19
		<td>
20
			<?php echo $this->Html->link($device['User']['username'], array('controller' => 'users', 'action' => 'view', $device['User']['id'])); ?>
21
		</td>
22
		<td><?php echo h($device['Device']['versioncode']); ?>&nbsp;</td>
23
		<td><?php echo h($device['Device']['versionname']); ?>&nbsp;</td>
24
		<td><?php echo h($device['Device']['osversion']); ?>&nbsp;</td>
25
		<td><?php echo h($device['Device']['imeinumber']); ?>&nbsp;</td>
26
		<td><?php echo h($device['Device']['manufacturer']); ?>&nbsp;</td>
27
		<td><?php echo h($device['Device']['model']); ?>&nbsp;</td>
28
		<td><?php echo h($device['Device']['brand']); ?>&nbsp;</td>
29
		<td><?php echo h($device['Device']['created']); ?>&nbsp;</td>
30
	</tr>
31
<?php endforeach; ?>
32
	</table>
33
	<p>
34
	<?php
35
	echo $this->Paginator->counter(array(
36
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
37
	));
38
	?>	</p>
39
	<div class="paging">
40
	<?php
41
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
42
		echo $this->Paginator->numbers(array('separator' => ''));
43
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
44
	?>
45
	</div>
46
</div>