diff options
author | jim-p <jimp@pfsense.org> | 2016-03-09 14:30:05 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-03-09 14:30:55 -0500 |
commit | 37676f4e5c40e5e2ea60a5de36608e956a76fb08 (patch) | |
tree | 2c777eab62447adf0f706f86879791a8b1c11dec /src/usr/local/www/vpn_ipsec.php | |
parent | ea76852be1665670dbf01a2998aa588c2b65ab53 (diff) | |
download | pfsense-37676f4e5c40e5e2ea60a5de36608e956a76fb08.zip pfsense-37676f4e5c40e5e2ea60a5de36608e956a76fb08.tar.gz |
Bring some consistency to the way most buttons are displayed (color, icons, etc). Ticket #5965
Still need to review Advanced buttons and Repeatable block buttons.
Diffstat (limited to 'src/usr/local/www/vpn_ipsec.php')
-rw-r--r-- | src/usr/local/www/vpn_ipsec.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/vpn_ipsec.php b/src/usr/local/www/vpn_ipsec.php index a952093..d2a9f79 100644 --- a/src/usr/local/www/vpn_ipsec.php +++ b/src/usr/local/www/vpn_ipsec.php @@ -305,7 +305,7 @@ display_top_tabs($tab_array); <a class="fa fa-anchor" id="Xmove_<?=$i?>" title="<?=gettext("Move checked entries to here")?>"></a> </td> <td> - <button value="toggle_<?=$i?>" name="toggle_<?=$i?>" title="<?=gettext("click to toggle enabled/disabled status")?>" class="btn btn-xs btn-default" type="submit"><?= ($entryStatus == 'disabled' ? 'enable' : 'disable') ?></button> + <button value="toggle_<?=$i?>" name="toggle_<?=$i?>" title="<?=gettext("click to toggle enabled/disabled status")?>" class="btn btn-xs btn-<?= ($entryStatus == 'disabled' ? 'success' : 'warning') ?>" type="submit"><?= ($entryStatus == 'disabled' ? 'Enable' : 'Disable') ?></button> </td> <td id="frd<?=$i?>"> <?php @@ -455,7 +455,7 @@ display_top_tabs($tab_array); <button class="fa fa-anchor button-icon" type="submit" name="movep2_<?=$j?>" value="movep2_<?=$j?>" title="<?=gettext("Move checked P2s here")?>"></button> </td> <td> - <button value="togglep2_<?=$ph2index?>" name="togglep2_<?=$ph2index?>" title="<?=gettext("click to toggle enabled/disabled status")?>" class="btn btn-xs btn-default" type="submit"><?= ($entryStatus == 'disabled'? 'enable' : 'disable') ?></button> + <button value="togglep2_<?=$ph2index?>" name="togglep2_<?=$ph2index?>" title="<?=gettext("click to toggle enabled/disabled status")?>" class="btn btn-xs btn-<?= ($entryStatus == 'disabled'? 'success' : 'warning') ?>" type="submit"><?= ($entryStatus == 'disabled'? 'Enable' : 'Disable') ?></button> </td> <td id="<?=$fr_d?>" onclick="fr_toggle('<?=$j?>', '<?=$fr_prefix?>')"> <?=$ph2ent['mode']?> |