summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/test
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/scripts/test')
-rw-r--r--application/views/scripts/test/apache.phtml12
-rw-r--r--application/views/scripts/test/cpu.phtml28
2 files changed, 40 insertions, 0 deletions
diff --git a/application/views/scripts/test/apache.phtml b/application/views/scripts/test/apache.phtml
new file mode 100644
index 0000000..069ccbe
--- /dev/null
+++ b/application/views/scripts/test/apache.phtml
@@ -0,0 +1,12 @@
+<div class="controls">
+<?= $this->tabs ?>
+</div>
+
+<div class="content">
+<?php foreach ($this->images as $base => $img): ?>
+<div style="width: 260px; float: left; margin-right: 5px;">
+<h3><?= $this->escape($base) ?></h3>
+<img src="<?= $img ?>" />
+</div>
+<?php endforeach ?>
+</div>
diff --git a/application/views/scripts/test/cpu.phtml b/application/views/scripts/test/cpu.phtml
new file mode 100644
index 0000000..495e315
--- /dev/null
+++ b/application/views/scripts/test/cpu.phtml
@@ -0,0 +1,28 @@
+<?php
+$maxCnt = 0;
+foreach ($this->images as $base => $cpus) {
+ $maxCnt = max($maxCnt, count($cpus));
+}
+?>
+<div class="controls">
+<?= $this->tabs ?>
+<h1>CPUs</h1>
+</div>
+<div class="content">
+<table style="width: 100%;">
+<tr>
+ <th style="width: 15em;">&nbsp;</th>
+ <th>CPUs</th>
+</tr>
+<?php foreach ($this->images as $base => $cpus): ?>
+<tr>
+<th style="vertical-align: top; text-align: right; padding-right: 2em;"><?= $this->escape($base) ?></th>
+<td>
+<?php foreach ($cpus as $num => $img): ?>
+<div style="width: 53px; float: left;"><img src="<?= $img ?>" /><!--<br />CPU <?= $num ?>--></div>
+<?php endforeach ?>
+</td>
+</tr>
+<?php endforeach ?>
+</table>
+</div>