Skip to content
Snippets Groups Projects
Commit 52ee2a39 authored by Tibo's avatar Tibo
Browse files

Add header

parent 5f753f0f
No related branches found
No related tags found
No related merge requests found
......@@ -23,12 +23,20 @@ class Ssacli extends \App\AbstractSensor {
}
$disks = $this->parse($record->ssacli);
$return = "<table class='table table-sm'>";
$return = "<table class='table table-sm'>"
. "<tr>"
. "<th>Port</th>"
. "<th>Box</th>"
. "<th>Bay</th>"
. "<th>Type</th>"
. "<th>Size</th>"
. "<th>Status</th>"
. "</tr>";
foreach ($disks as $disk) {
$return .= "<tr>"
. "<td>" . $disk->port . "</td>"
. "<td>" . $disk->bay . "</td>"
. "<td>" . $disk->box . "</td>"
. "<td>" . $disk->bay . "</td>"
. "<td>" . $disk->type . "</td>"
. "<td>" . $disk->size . "</td>"
. "<td>" . $disk->status . "</td>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment