summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_gateways.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-11-04 14:12:03 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-04 14:12:03 -0500
commitf74457dfcfc6d224bee35e4ae4c5b47d51d4f3d0 (patch)
tree92d66c1baa927ea4ae4e4e13c185c6f7a62f4c6d /src/usr/local/www/system_gateways.php
parent782922c2ea2a8c403ab888292222328aa7adea0e (diff)
downloadpfsense-f74457dfcfc6d224bee35e4ae4c5b47d51d4f3d0.zip
pfsense-f74457dfcfc6d224bee35e4ae4c5b47d51d4f3d0.tar.gz
Updated button styles
Diffstat (limited to 'src/usr/local/www/system_gateways.php')
-rw-r--r--src/usr/local/www/system_gateways.php15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/usr/local/www/system_gateways.php b/src/usr/local/www/system_gateways.php
index bc9f6e1..1c799d3 100644
--- a/src/usr/local/www/system_gateways.php
+++ b/src/usr/local/www/system_gateways.php
@@ -246,7 +246,7 @@ if ($input_errors)
print_input_errors($input_errors);
if ($savemsg)
print_info_box($savemsg, 'success');
-
+
if (is_subsystem_dirty('staticroutes'))
print_info_box_np(gettext("The gateway configuration has been changed.") . "<br />" . gettext("You must apply the changes in order for them to take effect."));
@@ -308,18 +308,18 @@ foreach ($a_gateways as $i => $gateway):
<td>
<a href="system_gateways_edit.php?id=<?=$i?>" class="fa fa-pencil" title="<?=gettext('Edit');?>"></a>
<a href="system_gateways_edit.php?dup=<?=$i?>" class="fa fa-clone" title="<?=gettext('Copy')?>"></a>
-
+
<? if (is_numeric($gateway['attribute'])): ?>
<?php if (isset($gateway['disabled'])) {
- ?>
+ ?>
<a href="?act=toggle&amp;id=<?=$i?>" class="fa fa-check-square-o" title="<?=gettext('Enable')?>"></a>
<?php } else {
?>
<a href="?act=toggle&amp;id=<?=$i?>" class="fa fa-ban" title="<?=gettext('Disable')?>"></a>
<?php }
- ?>
+ ?>
<a href="system_gateways.php?act=del&amp;id=<?=$i?>" class="fa fa-trash" title="<?=gettext('Delete')?>" onclick="return confirm('<?=gettext("Are you sure you want to delete this gateway?")?>')"></a>
-
+
<? endif?>
</td>
</tr>
@@ -327,9 +327,10 @@ foreach ($a_gateways as $i => $gateway):
</tbody>
</table>
-<nav class="action-buttons">
+<nav class="action-buttons" style="margin-top: 10px;">
<a href="system_gateways_edit.php" role="button" class="btn btn-success">
- <?=gettext("Add new gateway");?>
+ <i class="fa fa-plus" style="font-size:15px; vertical-align: middle; margin-right: 6px;"></i>
+ <?=gettext("Add");?>
</a>
</nav>
<?php
OpenPOWER on IntegriCloud