Revision f25dac2d
Added by Stephen Beaver over 9 years ago
src/usr/local/www/firewall_rules.php | ||
---|---|---|
271 | 271 |
<tr> |
272 | 272 |
<th><!-- checkbox --></th> |
273 | 273 |
<th><!-- status icons --></th> |
274 |
<th><?=gettext("Proto");?></th>
|
|
275 |
<th><?=gettext("Source");?></th>
|
|
276 |
<th><?=gettext("Port");?></th>
|
|
277 |
<th><?=gettext("Destination");?></th>
|
|
278 |
<th><?=gettext("Port");?></th>
|
|
279 |
<th><?=gettext("Gateway");?></th>
|
|
280 |
<th><?=gettext("Queue");?></th>
|
|
281 |
<th><?=gettext("Schedule");?></th>
|
|
282 |
<th><?=gettext("Description");?></th>
|
|
283 |
<th><!-- buttons --></th>
|
|
274 |
<th><?=gettext("Proto")?></th> |
|
275 |
<th><?=gettext("Source")?></th> |
|
276 |
<th><?=gettext("Port")?></th> |
|
277 |
<th><?=gettext("Destination")?></th> |
|
278 |
<th><?=gettext("Port")?></th> |
|
279 |
<th><?=gettext("Gateway")?></th> |
|
280 |
<th><?=gettext("Queue")?></th> |
|
281 |
<th><?=gettext("Schedule")?></th> |
|
282 |
<th><?=gettext("Description")?></th> |
|
283 |
<th><?=gettext("Actions")?></th>
|
|
284 | 284 |
</tr> |
285 | 285 |
</thead> |
286 | 286 |
<tbody> |
... | ... | |
304 | 304 |
<td></td> |
305 | 305 |
<td><?=gettext("Anti-Lockout Rule");?></td> |
306 | 306 |
<td> |
307 |
<a href="system_advanced_admin.php" class="btn btn-xs btn-primary">edit</a>
|
|
307 |
<a href="system_advanced_admin.php" class="fa fa-pencil" title="<?=gettext("edit");?>"></a>
|
|
308 | 308 |
</td> |
309 | 309 |
</tr> |
310 | 310 |
<?php endif;?> |
... | ... | |
322 | 322 |
<td></td> |
323 | 323 |
<td><?=gettext("Block private networks");?></td> |
324 | 324 |
<td> |
325 |
<a href="interfaces.php?if=<?=htmlspecialchars($if)?>" class="btn btn-xs btn-primary" title="<?=gettext("edit rule");?>">edit</a>
|
|
325 |
<a href="interfaces.php?if=<?=htmlspecialchars($if)?>" class="fa fa-pencil" title="<?=gettext("edit rule");?>"></a>
|
|
326 | 326 |
</td> |
327 | 327 |
</tr> |
328 | 328 |
<?php endif;?> |
... | ... | |
340 | 340 |
<td>*</td> |
341 | 341 |
<td><?=gettext("Block bogon networks");?></td> |
342 | 342 |
<td> |
343 |
<a href="interfaces.php?if=<?=htmlspecialchars($if)?>" class="btn btn-xs btn-primary">edit</a>
|
|
343 |
<a href="interfaces.php?if=<?=htmlspecialchars($if)?>" class="fa fa-pencil" title="<?=gettext("edit");?>"></a>
|
|
344 | 344 |
</td> |
345 | 345 |
</tr> |
346 | 346 |
<?php endif;?> |
... | ... | |
614 | 614 |
<?=htmlspecialchars($filterent['descr']);?> |
615 | 615 |
</td> |
616 | 616 |
<td> |
617 |
<a href="firewall_rules_edit.php?id=<?=$i;?>" class="btn btn-xs btn-primary">edit</a> |
|
618 |
<a href="firewall_rules_edit.php?dup=<?=$i;?>" class="btn btn-xs btn-default">copy</a> |
|
619 |
<a href="?act=toggle&if=<?=htmlspecialchars($if);?>&id=<?=$i;?>" class="btn btn-xs btn-warning"><?=(isset($filterent['disabled']) ? 'enable' : 'disable')?></a> |
|
620 |
<a href="?act=del&if=<?=htmlspecialchars($if);?>&id=<?=$i;?>" class="btn btn-xs btn-danger">delete</a> |
|
617 |
<!-- <?=(isset($filterent['disabled']) ? 'enable' : 'disable')?> --> |
|
618 |
<a href="firewall_rules_edit.php?id=<?=$i;?>" class="fa fa-pencil" title=<?=gettext('Edit')?>"></a> |
|
619 |
<a href="firewall_rules_edit.php?dup=<?=$i;?>" class="fa fa-clone" title="<?=gettext('Copy')?>"></a> |
|
620 |
<?php if (isset($filterent['disabled'])) { |
|
621 |
?> |
|
622 |
<a href="?act=toggle&if=<?=htmlspecialchars($if);?>&id=<?=$i;?>" class="fa fa-check-square-o" title="<?=gettext('Enable')?>"></a> |
|
623 |
<?php } else { |
|
624 |
?> |
|
625 |
<a href="?act=toggle&if=<?=htmlspecialchars($if);?>&id=<?=$i;?>" class="fa fa-ban" title="<?=gettext('Disable')?>"></a> |
|
626 |
<?php } |
|
627 |
?> |
|
628 |
<a href="?act=del&if=<?=htmlspecialchars($if);?>&id=<?=$i;?>" class="fa fa-trash" title="<?=gettext('Delete')?>"></a> |
|
621 | 629 |
</td> |
622 | 630 |
</tr> |
623 | 631 |
<?php |
Also available in: Unified diff
Page actions convverted to font-awesome icons