diff options
author | heper <heper@users.noreply.github.com> | 2015-10-27 22:00:49 +0100 |
---|---|---|
committer | heper <heper@users.noreply.github.com> | 2015-10-27 22:00:49 +0100 |
commit | 5d339e8e4966115bc9442862ad9cefd4ae147ee2 (patch) | |
tree | a4f95ac7dba0f5501f5c145e04d1552ec50463ce /src/usr | |
parent | db95c03bdc042275651006e92a1b8b8194e73654 (diff) | |
download | pfsense-5d339e8e4966115bc9442862ad9cefd4ae147ee2.zip pfsense-5d339e8e4966115bc9442862ad9cefd4ae147ee2.tar.gz |
system_routes font-awesome convert
Diffstat (limited to 'src/usr')
-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"); |