Skip to content

Commit

Permalink
collapse issue when using Edge, https://forum.opnsense.org/index.php?…
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Feb 17, 2016
1 parent 94e28e1 commit 61cb374
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions src/www/status_interfaces.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,24 +76,28 @@ interface_configure($interface);
$mac_man = load_mac_manufacturer_table();?>
<div class="tab-content content-box col-xs-12 __mb">
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th colspan="2">
<i class="fa fa-chevron-down" style="cursor: pointer;" data-toggle="collapse" data-target="#<?=htmlspecialchars($ifname);?>"></i>
<?=htmlspecialchars($ifname);?> <?=gettext("interface"); ?> (<?=htmlspecialchars($ifdescr);?>, <?=htmlspecialchars($ifinfo['hwif']);?>)
<?php
if (!isset($first_row)):
$first_row=false;?>
<div class="pull-right">
<i class="fa fa-expand" id="collapse_all" style="cursor: pointer;" data-toggle="tooltip" title="<?=gettext("collapse/expand all");?>"></i> &nbsp;
</div>
<?php
endif;?>
</th>
</tr>
</thead>
</table>
</div>
<div class="interface_details collapse table-responsive" id="<?=htmlspecialchars($ifname);?>">
<table class="table table-striped">
<thead>
<tr>
<th colspan="2">
<i class="fa fa-chevron-down" style="cursor: pointer;" data-toggle="collapse" data-target="#<?=htmlspecialchars($ifname);?>"></i>
<?=htmlspecialchars($ifname);?> <?=gettext("interface"); ?> (<?=htmlspecialchars($ifdescr);?>, <?=htmlspecialchars($ifinfo['hwif']);?>)
<?php
if (!isset($first_row)):
$first_row=false;?>
<div class="pull-right">
<i class="fa fa-expand" id="collapse_all" style="cursor: pointer;" data-toggle="tooltip" title="<?=gettext("collapse/expand all");?>"></i> &nbsp;
</div>
<?php
endif;?>
</th>
</tr>
</thead>
<tbody id="<?=htmlspecialchars($ifname);?>" class="interface_details collapse">
<tbody>
<tr>
<td width="22%"><?=gettext("Status"); ?></td>
<td width="78%"><?=$ifinfo['status'];?></td>
Expand Down

0 comments on commit 61cb374

Please sign in to comment.