summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/bootiso/index.phtml
blob: 171d85fd18e5a91c16e6ab2ca3ee3ec45978b87f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<h1>BootISO</h1>

<style>
table{font-family:verdana;font-size:12px;}
td{border:1px solid #CCC;}
tr.entry{background-color:#E0ECF8;}
</style>

<table border=1>
  <tr>
    <th>ID</th>
    <th>Title</th>
    <th>GroupID</th>
    <th>MembershipID</th>
    <th>Path</th>
    <th>Serialnumber</th>
    <th>Created</th>    
    <th>Expires</th>
    <th>Public</th>
  </tr>
  <?php foreach ($this->bootisolist as $bootiso): ?>
  <tr class=entry>
    <td><?php echo $this->escape($bootiso->getID()); ?></td>
    <td><?php echo $this->escape($bootiso->getTitle()); ?></td>
    <td><?php echo $this->escape($bootiso->getGroupID()); ?></td>
    <td><?php echo $this->escape($bootiso->getMembershipID()); ?></td>    
    <td><?php echo $this->escape($bootiso->getPath()); ?></td>
	<td><?php echo $this->escape($bootiso->getSerialnumber()); ?></td>
    <td><?php echo $this->escape(date('Y-m-d H:i:s', $bootiso->getCreated())); ?></td>
    <td><?php echo $this->escape($bootiso->getExpires()); ?></td>
    <td><?php echo $this->escape($bootiso->getPublic()); ?></td>
    <td><a href="<?php echo $this->url(
					array(
						'controller' => 'bootiso',
						'action'     => 'editbootiso',
						'bootisoID'   =>  $bootiso->getID()
					),
					'default',
					true, false) ?>">Edit BootISO</a></td>
	<td><a href="<?php echo $this->url(
					array(
						'controller' => 'bootiso',
						'action'     => 'deletebootiso',
						'bootisoID'   =>  $bootiso->getID()
					),
					'default',
					true) ?>">Delete BootISO</a></td>
  </tr>
  <?php endforeach; ?>
</table>
<br/>
<?php echo $this->formButton('createbootiso', 'Create BootISO', array(
							'onclick' => 'self.location="/bootiso/createbootiso"'))?>