Revision 060ed238
Added by Stephen Beaver over 9 years ago
src/usr/local/www/interfaces_lagg.php | ||
---|---|---|
128 | 128 |
$tab_array[] = array(gettext("LAGG"), true, "interfaces_lagg.php"); |
129 | 129 |
display_top_tabs($tab_array); |
130 | 130 |
?> |
131 |
<div class="table-responsive"> |
|
132 |
<table class="table table-striped table-hover table-condensed"> |
|
133 |
<thead> |
|
134 |
<tr> |
|
135 |
<th><?=gettext("Interface"); ?></th> |
|
136 |
<th><?=gettext("Members"); ?></th> |
|
137 |
<th><?=gettext("Description"); ?></th> |
|
138 |
<th></th> |
|
139 |
</tr> |
|
140 |
</thead> |
|
141 |
<tbody> |
|
131 |
<div class="panel panel-default"> |
|
132 |
<div class="panel-heading"><h2 class="panel-title"><?=gettext('LAGG interfaces')?></h2></div> |
|
133 |
<div class="panel-body"> |
|
134 |
<div class="table-responsive"> |
|
135 |
<table class="table table-striped table-hover table-condensed"> |
|
136 |
<thead> |
|
137 |
<tr> |
|
138 |
<th><?=gettext("Interface"); ?></th> |
|
139 |
<th><?=gettext("Members"); ?></th> |
|
140 |
<th><?=gettext("Description"); ?></th> |
|
141 |
<th></th> |
|
142 |
</tr> |
|
143 |
</thead> |
|
144 |
<tbody> |
|
142 | 145 |
<?php |
143 | 146 |
|
144 | 147 |
$i = 0; |
145 | 148 |
|
146 | 149 |
foreach ($a_laggs as $lagg) { |
147 | 150 |
?> |
148 |
<tr> |
|
149 |
<td> |
|
150 |
<?=htmlspecialchars(strtoupper($lagg['laggif']))?> |
|
151 |
</td> |
|
152 |
<td> |
|
153 |
<?=htmlspecialchars($lagg['members'])?> |
|
154 |
</td> |
|
155 |
<td> |
|
156 |
<?=htmlspecialchars($lagg['descr'])?> |
|
157 |
</td> |
|
158 |
<td> |
|
159 |
<a class="fa fa-pencil" title="<?=gettext('Edit LAGG interface')?>" href="interfaces_lagg_edit.php?id=<?=$i?>"></a> |
|
160 |
<a class="fa fa-trash" title="<?=gettext('Delete LAGG interface')?>" href="interfaces_lagg.php?act=del&id=<?=$i?>"></a> |
|
161 |
</td> |
|
162 |
</tr> |
|
151 |
<tr>
|
|
152 |
<td>
|
|
153 |
<?=htmlspecialchars(strtoupper($lagg['laggif']))?>
|
|
154 |
</td>
|
|
155 |
<td>
|
|
156 |
<?=htmlspecialchars($lagg['members'])?>
|
|
157 |
</td>
|
|
158 |
<td>
|
|
159 |
<?=htmlspecialchars($lagg['descr'])?>
|
|
160 |
</td>
|
|
161 |
<td>
|
|
162 |
<a class="fa fa-pencil" title="<?=gettext('Edit LAGG interface')?>" href="interfaces_lagg_edit.php?id=<?=$i?>"></a>
|
|
163 |
<a class="fa fa-trash" title="<?=gettext('Delete LAGG interface')?>" href="interfaces_lagg.php?act=del&id=<?=$i?>"></a>
|
|
164 |
</td>
|
|
165 |
</tr>
|
|
163 | 166 |
<?php |
164 | 167 |
$i++; |
165 | 168 |
} |
166 | 169 |
?> |
167 |
</tbody> |
|
168 |
</table> |
|
169 |
|
|
170 |
<nav class="action-buttons"> |
|
171 |
<a href="interfaces_lagg_edit.php" class="btn btn-success btn-sm"> |
|
172 |
<i class="fa fa-plus icon-embed-btn"></i> |
|
173 |
<?=gettext("Add")?> |
|
174 |
</a> |
|
175 |
</nav> |
|
170 |
</tbody> |
|
171 |
</table> |
|
172 |
</div> |
|
173 |
</div> |
|
176 | 174 |
</div> |
175 |
|
|
176 |
<nav class="action-buttons"> |
|
177 |
<a href="interfaces_lagg_edit.php" class="btn btn-success btn-sm"> |
|
178 |
<i class="fa fa-plus icon-embed-btn"></i> |
|
179 |
<?=gettext("Add")?> |
|
180 |
</a> |
|
181 |
</nav> |
|
182 |
|
|
177 | 183 |
<?php |
178 | 184 |
include("foot.inc"); |
Also available in: Unified diff
Fixed #5566