summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/local/www/vpn_ipsec_keys.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/vpn_ipsec_keys.php b/src/usr/local/www/vpn_ipsec_keys.php
index 9e3c8bc..27f756c 100644
--- a/src/usr/local/www/vpn_ipsec_keys.php
+++ b/src/usr/local/www/vpn_ipsec_keys.php
@@ -157,7 +157,7 @@ if (is_subsystem_dirty('ipsec'))
<?=htmlspecialchars($secretent['pre-shared-key'])?>
</td>
<td>
- <a class="btn btn-primary btn-xs" href="system_usermanager.php?act=edit&amp;userid=<?=$secretent['id']?>">edit user</a>
+ <a class="fa fa-pencil" title="<?=gettext('Edit user')?>" href="system_usermanager.php?act=edit&amp;userid=<?=$secretent['id']?>"></a>
</td>
</tr>
<?php $i++; endforeach; ?>
@@ -179,8 +179,8 @@ if (is_subsystem_dirty('ipsec'))
<?=htmlspecialchars($secretent['pre-shared-key'])?>
</td>
<td>
- <a class="btn btn-primary btn-xs" href="vpn_ipsec_keys_edit.php?id=<?=$i?>">edit key</a>
- <a class="btn btn-danger btn-xs" href="vpn_ipsec_keys.php?act=del&amp;id=<?=$i?>">delete key</a>
+ <a class="fa fa-pencil" title="<?=gettext('Edit key')?>" href="vpn_ipsec_keys_edit.php?id=<?=$i?>"></a>
+ <a class="fa fa-trash" title="<?=gettext('Delete key')?>" href="vpn_ipsec_keys.php?act=del&amp;id=<?=$i?>" onclick="return confirm('<?=gettext("Are you sure you want to delete this key?")?>')"></a>
</td>
</tr>
<?php $i++; endforeach; ?>
@@ -197,4 +197,4 @@ if (is_subsystem_dirty('ipsec'))
<?=gettext("PSK for any user can be set by using an identifier of any")?>
</div>
-<?php include("foot.inc"); ?> \ No newline at end of file
+<?php include("foot.inc"); ?>
OpenPOWER on IntegriCloud