diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-10-27 17:03:26 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-10-27 17:03:26 -0400 |
commit | 4afa1f700167d14d093161eca310bb5217029c01 (patch) | |
tree | a4f95ac7dba0f5501f5c145e04d1552ec50463ce | |
parent | db95c03bdc042275651006e92a1b8b8194e73654 (diff) | |
parent | 5d339e8e4966115bc9442862ad9cefd4ae147ee2 (diff) | |
download | pfsense-4afa1f700167d14d093161eca310bb5217029c01.zip pfsense-4afa1f700167d14d093161eca310bb5217029c01.tar.gz |
Merge pull request #1994 from heper/patch-3
-rw-r--r-- | src/usr/local/www/system_routes.php | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/src/usr/local/www/system_routes.php b/src/usr/local/www/system_routes.php index 600d872..686ca1c 100644 --- a/src/usr/local/www/system_routes.php +++ b/src/usr/local/www/system_routes.php @@ -273,21 +273,20 @@ foreach ($a_routes as $i => $route): <?=htmlspecialchars($route['descr'])?> </td> <td> - <a class="btn btn-xs btn-primary" href="system_routes_edit.php?id=<?=$i?>"> - edit - </a> + <a href="system_routes_edit.php?id=<?=$i?>" class="fa fa-pencil" title="<?=gettext('Edit')?>"></a> + + <a href="system_routes_edit.php?dup=<?=$i?>" class="fa fa-clone" title="<?=gettext('Copy')?>"></a> + + <?php if (isset($route['disabled'])) { + ?> + <a href="?act=toggle&id=<?=$i?>" class="fa fa-check-square-o" title="<?=gettext('Enable')?>"></a> + <?php } else { + ?> + <a href="?act=toggle&id=<?=$i?>" class="fa fa-ban" title="<?=gettext('Disable')?>"></a> + <?php } + ?> + <a href="system_routes.php?act=del&id=<?=$i?>" class="fa fa-trash" title="<?=gettext('Delete')?>" onclick="return confirm('<?=gettext("Are you sure you want to delete this route?")?>')"></a> - <a class="btn btn-xs btn-default" href="system_routes_edit.php?dup=<?=$i?>"> - copy - </a> - - <a class="btn btn-xs btn-danger" href="system_routes.php?act=del&id=<?=$i?>"> - delete - </a> - - <a class="btn btn-xs btn-default" href="?act=toggle&id=<?=$i?>"> - toggle - </a> </td> <? endforeach?> </tr> @@ -300,4 +299,4 @@ foreach ($a_routes as $i => $route): </nav> <?php -include("foot.inc");
\ No newline at end of file +include("foot.inc"); |