summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/session/index.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/scripts/session/index.phtml')
-rw-r--r--application/views/scripts/session/index.phtml48
1 files changed, 48 insertions, 0 deletions
diff --git a/application/views/scripts/session/index.phtml b/application/views/scripts/session/index.phtml
new file mode 100644
index 0000000..d26e818
--- /dev/null
+++ b/application/views/scripts/session/index.phtml
@@ -0,0 +1,48 @@
+<h1>Session</h1>
+
+<p><a href="<?php echo $this->url(
+ array(
+ 'controller' => 'session',
+ 'action' => 'createsession'
+ ),
+ 'default',
+ true) ?>">create new session</a></p>
+
+<table border=1>
+<tr>
+ <th>SessionID</th>
+ <th>ClientID</th>
+ <th>BootosID</th>
+ <th>BootIsoID</th>
+ <th>Time</th>
+ <th>IP</th>
+ <th>IPv6</th>
+</tr>
+<?php foreach ($this->sessions as $session): ?>
+ <tr>
+ <td><?php echo $this->escape($session->getID()) ?></td>
+ <td><?php echo $this->escape($session->getClientID()) ?></td>
+ <td><?php echo $this->escape($session->getBootosID()) ?></td>
+ <td><?php echo $this->escape($session->getBootisoID()) ?></td>
+ <td><?php echo $this->escape($session->getTime()) ?></td>
+ <td><?php echo $this->escape($session->getIp()) ?></td>
+ <td><?php echo $this->escape($session->getIp6()) ?></td>
+ <td><a href="<?php echo $this->url(
+ array(
+ 'controller' => 'session',
+ 'action' => 'editsession',
+ 'sessionID' => $session->getID()
+ ),
+ 'default',
+ true) ?>">edit filter</a></td>
+ <td><a href="<?php echo $this->url(
+ array(
+ 'controller' => 'session',
+ 'action' => 'deletesession',
+ 'sessionID' => $session->getID()
+ ),
+ 'default',
+ true) ?>">delete filter</a></td>
+ </tr>
+<?php endforeach ?>
+</table>