mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
25 lines
829 B
PHP
25 lines
829 B
PHP
<?php
|
|
|
|
echo '<tr class="list">';
|
|
echo '<td class="list">';
|
|
echo $mef['mefIdent'];
|
|
|
|
echo '</td>';
|
|
echo '<td class="list">' . $mef['mefType'] . '</td>';
|
|
echo '<td class="list">' . $mef['mefMTU'] . '</td>';
|
|
|
|
echo '<td class="list">';
|
|
if ($mef['mefAdmState'] == 'unlocked') {
|
|
echo '<i class="fa fa-unlock fa-lg icon-theme" aria-hidden="true" style="color:green"></i>';
|
|
} else {
|
|
echo '<i class="fa fa-lock fa-lg icon-theme" aria-hidden="true" style="color:red"></i>';
|
|
}
|
|
echo '</td>';
|
|
if ($mef['mefRowState'] == 'active') {
|
|
echo '<td class="list"><span style="min-width:40px; display:inline-block;" class="label label-success">active</span></td>';
|
|
} else {
|
|
echo '<td class="list"><span style="min-width:40px; display:inline-block;" class="label label-default">' . $mef['mefRowState'] . '</span></td>';
|
|
}
|
|
|
|
echo '</tr>';
|