diff options
Diffstat (limited to 'src/usr/local/www/interfaces_qinq.php')
-rw-r--r-- | src/usr/local/www/interfaces_qinq.php | 71 |
1 files changed, 38 insertions, 33 deletions
diff --git a/src/usr/local/www/interfaces_qinq.php b/src/usr/local/www/interfaces_qinq.php index a7a47bf..ebdd0a2 100644 --- a/src/usr/local/www/interfaces_qinq.php +++ b/src/usr/local/www/interfaces_qinq.php @@ -133,46 +133,51 @@ $tab_array[] = array(gettext("LAGG"), false, "interfaces_lagg.php"); display_top_tabs($tab_array); ?> -<div class="table-responsive"> - <table class="table table-striped table-hover table-condensed"> - <thead> - <tr> - <th><?=gettext("Interface"); ?></th> - <th><?=gettext("Tag");?></td> - <th><?=gettext("QinQ members"); ?></th> - <th><?=gettext("Description"); ?></th> - <th></th> - </tr> - </thead> - <tbody> +<div class="panel panel-default"> + <div class="panel-heading"><h2 class="panel-title"><?=gettext('QinQ interfaces')?></h2></div> + <div class="panel-body"> + <div class="table-responsive"> + <table class="table table-striped table-hover table-condensed"> + <thead> + <tr> + <th><?=gettext("Interface"); ?></th> + <th><?=gettext("Tag");?></td> + <th><?=gettext("QinQ members"); ?></th> + <th><?=gettext("Description"); ?></th> + <th></th> + </tr> + </thead> + <tbody> <?php foreach ($a_qinqs as $i => $qinq):?> - <tr> - <td> - <?=htmlspecialchars($qinq['if'])?> - </td> - <td> - <?=htmlspecialchars($qinq['tag'])?> - </td> - <td> + <tr> + <td> + <?=htmlspecialchars($qinq['if'])?> + </td> + <td> + <?=htmlspecialchars($qinq['tag'])?> + </td> + <td> <?php if (strlen($qinq['members']) > 20):?> - <?=substr(htmlspecialchars($qinq['members']), 0, 20)?>… + <?=substr(htmlspecialchars($qinq['members']), 0, 20)?>… <?php else:?> - <?=htmlspecialchars($qinq['members'])?> + <?=htmlspecialchars($qinq['members'])?> <?php endif; ?> - </td> - <td> - <?=htmlspecialchars($qinq['descr'])?> - </td> - <td> - <a class="fa fa-pencil" title="<?=gettext('Edit Q-in-Q interface')?>" href="interfaces_qinq_edit.php?id=<?=$i?>"></a> - <a class="fa fa-trash" title="<?=gettext('Delete Q-in-Q interface')?>" href="interfaces_qinq.php?act=del&id=<?=$i?>"></a> - </td> - </tr> + </td> + <td> + <?=htmlspecialchars($qinq['descr'])?> + </td> + <td> + <a class="fa fa-pencil" title="<?=gettext('Edit Q-in-Q interface')?>" href="interfaces_qinq_edit.php?id=<?=$i?>"></a> + <a class="fa fa-trash" title="<?=gettext('Delete Q-in-Q interface')?>" href="interfaces_qinq.php?act=del&id=<?=$i?>"></a> + </td> + </tr> <?php endforeach; ?> - </tbody> - </table> + </tbody> + </table> + </div> + </div> </div> <nav class="action-buttons"> |