Subversion Repositories SmartDukaan

Rev

Rev 16724 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
16755 anikendra 1
<style>
2
td.cell div { width: 100%; height: 100%; overflow:scroll; }
3
td.cell { height: 100px; }
4
</style>
16614 anikendra 5
<div class="container">
6
	<div class="row">
7
		<div class="col-lg-3">
8
			<?php echo $this->Element('adminactions');?>
9
		</div>
10
		<div class="col-lg-9">
11
			<h2><?php echo __('Appmasters'); ?></h2>
16755 anikendra 12
			<?php echo $this->element('appsearch');?>
13
			<table class="table table-striped">
16614 anikendra 14
			<tr>
15
					<th><?php echo $this->Paginator->sort('id'); ?></th>
16755 anikendra 16
					<th><?php echo $this->Paginator->sort('active_offer'); ?></th>
16614 anikendra 17
					<th><?php echo $this->Paginator->sort('app_name'); ?></th>
18
					<th><?php echo $this->Paginator->sort('package_name'); ?></th>
19
					<th><?php echo $this->Paginator->sort('os_name'); ?></th>
20
					<th><?php echo $this->Paginator->sort('shortDescription'); ?></th>
21
					<th><?php echo $this->Paginator->sort('longDescription'); ?></th>
22
					<th><?php echo $this->Paginator->sort('customerOneLiner'); ?></th>
23
					<th><?php echo $this->Paginator->sort('retailerOneLiner'); ?></th>
16724 anikendra 24
					<th><?php echo $this->Paginator->sort('showApp'); ?></th>
16614 anikendra 25
					<th class="actions"><?php echo __('Actions'); ?></th>
26
			</tr>
27
			<?php foreach ($appmasters as $appmaster): ?>
28
			<tr>
29
				<td><?php echo h($appmaster['Appmaster']['id']); ?>&nbsp;</td>
16755 anikendra 30
				<td><a href="<?php echo $base_url;?>admin/app_offers/update/<?php echo $appmaster['Appmaster']['id'];?>">Edit Offer</a></td>
16614 anikendra 31
				<td><?php echo h($appmaster['Appmaster']['app_name']); ?>&nbsp;</td>
32
				<td><?php echo h($appmaster['Appmaster']['package_name']); ?>&nbsp;</td>
33
				<td><?php echo h($appmaster['Appmaster']['os_name']); ?>&nbsp;</td>
16755 anikendra 34
				<td class="cell"><div><?php echo h($appmaster['Appmaster']['shortDescription']); ?></div></td>
35
				<td class="cell"><div><?php echo h($appmaster['Appmaster']['longDescription']); ?></div></td>
16614 anikendra 36
				<td><?php echo h($appmaster['Appmaster']['customerOneLiner']); ?>&nbsp;</td>
37
				<td><?php echo h($appmaster['Appmaster']['retailerOneLiner']); ?>&nbsp;</td>
16724 anikendra 38
				<td><?php echo h($appmaster['Appmaster']['showApp']); ?>&nbsp;</td>
16614 anikendra 39
				<td class="actions">
40
					<?php //echo $this->Html->link(__('View'), array('action' => 'view', $appmaster['Appmaster']['id'])); ?>
41
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $appmaster['Appmaster']['id'])); ?>
42
					<?php //echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $appmaster['Appmaster']['id']), null, __('Are you sure you want to delete # %s?', $appmaster['Appmaster']['id'])); ?>
43
				</td>
44
			</tr>
45
		<?php endforeach; ?>
46
			</table>
47
			<p>
48
			<?php
49
			echo $this->Paginator->counter(array(
50
			'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
51
			));
52
			?>	</p>
53
			<div class="paging">
54
			<?php
55
				echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
56
				echo $this->Paginator->numbers(array('separator' => ''));
57
				echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
58
			?>
59
			</div>
60
		</div>
61
	</div>
62
</div>