Commit 8bf28529 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: tweaks after table-layout changes

o Allow to delete WAN, LAN is worse :P
o Zap spurious 4th column
o Shorten assign text prompt
o remove margianlly helpful message

(cherry picked from commit 39406886)
parent 45903e83
......@@ -394,7 +394,7 @@ include("head.inc");
<tr>
<th><?=gettext("Interface"); ?></th>
<th><?=gettext("Network port"); ?></th>
<th colspan="2"></th>
<th></th>
</tr>
</thead>
<tbody>
......@@ -416,22 +416,16 @@ include("head.inc");
</select>
</td>
<td>
<?php
if ($ifname != 'wan'):?>
<button title="<?=gettext("delete interface");?>" data-toggle="tooltip" data-id="<?=$ifname;?>" class="btn btn-default act_delete" type="submit">
<span class="fa fa-trash text-muted"></span>
</button>
<?php
endif;?>
</td>
</tr>
<?php
endforeach;
if (count($unused_interfaces) > 0):?>
<tr>
<td>
<strong><?=gettext("Available network ports:");?></strong>
</td>
<td><?= gettext('New interface:') ?></td>
<td>
<select name="if_add" id="if_add">
<?php
......@@ -448,9 +442,7 @@ include("head.inc");
</td>
</tr>
<tr>
<td colspan="2">
<?= gettext('Interfaces that are configured as members of a LAGG interface will not be shown.') ?>
</td>
<td colspan="2"></td>
<td>
<input name="Submit" type="submit" class="btn btn-primary" value="<?=gettext("Save"); ?>" />
</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment