summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-11-04 15:02:32 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-04 15:02:32 -0500
commit9f07695cff738d3e7416122e7c4a39a5e9e8e24b (patch)
treec6511a88fc9277aa17ffbd624a0fb7351ed4925c /src/usr/local/www
parentb921ab63efeb3354040a0eda0f7484acb5fa39e7 (diff)
parenta63af97770f67da73b0614b19a0ec2a1daf7922c (diff)
downloadpfsense-9f07695cff738d3e7416122e7c4a39a5e9e8e24b.zip
pfsense-9f07695cff738d3e7416122e7c4a39a5e9e8e24b.tar.gz
Merge pull request #2017 from heper/patch-1
Diffstat (limited to 'src/usr/local/www')
-rw-r--r--src/usr/local/www/vpn_ipsec_keys.php8
-rw-r--r--src/usr/local/www/vpn_l2tp_users.php4
-rw-r--r--src/usr/local/www/vpn_openvpn_client.php4
-rw-r--r--src/usr/local/www/vpn_openvpn_csc.php6
-rw-r--r--src/usr/local/www/vpn_openvpn_server.php4
5 files changed, 13 insertions, 13 deletions
diff --git a/src/usr/local/www/vpn_ipsec_keys.php b/src/usr/local/www/vpn_ipsec_keys.php
index 2bcd84b..b83ff46 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; ?>
@@ -200,4 +200,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"); ?>
diff --git a/src/usr/local/www/vpn_l2tp_users.php b/src/usr/local/www/vpn_l2tp_users.php
index b0cfe2f..1f005ed 100644
--- a/src/usr/local/www/vpn_l2tp_users.php
+++ b/src/usr/local/www/vpn_l2tp_users.php
@@ -135,8 +135,8 @@ include("head.inc");
<?=htmlspecialchars($secretent['ip'])?>&nbsp;
</td>
<td>
- <a class="btn btn-xs btn-primary" href="vpn_l2tp_users_edit.php?id=<?=$i?>"><?= gettext('edit') ?></a>
- <a class="btn btn-xs btn-danger" href="vpn_l2tp_users.php?act=del&amp;id=<?=$i?>"><?=gettext("delete")?></a>
+ <a class="fa fa-pencil" title="<?=gettext('Edit user')?>" href="vpn_l2tp_users_edit.php?id=<?=$i?>"></a>
+ <a class="fa fa-trash" title="<?=gettext('Delete user')?>" href="vpn_l2tp_users.php?act=del&amp;id=<?=$i?>" onclick="return confirm('<?=gettext("Are you sure you want to delete this user?")?>')"></a>
</td>
</tr>
<?php $i++; endforeach?>
diff --git a/src/usr/local/www/vpn_openvpn_client.php b/src/usr/local/www/vpn_openvpn_client.php
index 6ffc90f..0a28f73 100644
--- a/src/usr/local/www/vpn_openvpn_client.php
+++ b/src/usr/local/www/vpn_openvpn_client.php
@@ -842,8 +842,8 @@ else:
<?=htmlspecialchars($client['description'])?>
</td>
<td>
- <a href="vpn_openvpn_client.php?act=edit&amp;id=<?=$i?>" class="btn btn-xs btn-info"><?=gettext("Edit")?></a>
- <a href="vpn_openvpn_client.php?act=del&amp;id=<?=$i?>" class="btn btn-xs btn-danger"><?=gettext("Delete")?></a>
+ <a class="fa fa-pencil" title="<?=gettext('Edit client')?>" href="vpn_openvpn_client.php?act=edit&amp;id=<?=$i?>"></a>
+ <a class="fa fa-trash" title="<?=gettext('Delete client')?>" href="vpn_openvpn_client.php?act=del&amp;id=<?=$i?>" onclick="return confirm('<?=gettext("Are you sure you want to delete this client?")?>')"></a>
</td>
</tr>
<?php
diff --git a/src/usr/local/www/vpn_openvpn_csc.php b/src/usr/local/www/vpn_openvpn_csc.php
index 31ba7e8..3427583 100644
--- a/src/usr/local/www/vpn_openvpn_csc.php
+++ b/src/usr/local/www/vpn_openvpn_csc.php
@@ -637,8 +637,8 @@ else : // Not an 'add' or an 'edit'. Just the table of Override CSCs
<?=htmlspecialchars($csc['description'])?>
</td>
<td>
- <a href="vpn_openvpn_csc.php?act=edit&amp;id=<?=$i?>" class="btn btn-info btn-xs"><?=gettext('Edit')?></a>
- <a href="vpn_openvpn_csc.php?act=del&amp;id=<?=$i?>" class="btn btn-danger btn-xs"><?=gettext('Delete')?></a>
+ <a class="fa fa-pencil" title="<?=gettext('Edit CSC Override')?>" href="vpn_openvpn_csc.php?act=edit&amp;id=<?=$i?>"></a>
+ <a class="fa fa-trash" title="<?=gettext('Delete CSC Override')?>" href="vpn_openvpn_csc.php?act=del&amp;id=<?=$i?>" onclick="return confirm('<?=gettext("Are you sure you want to delete this CSC Override?")?>')"></a>
</td>
</tr>
<?php
@@ -659,4 +659,4 @@ else : // Not an 'add' or an 'edit'. Just the table of Override CSCs
<?php
endif;
-include("foot.inc"); \ No newline at end of file
+include("foot.inc");
diff --git a/src/usr/local/www/vpn_openvpn_server.php b/src/usr/local/www/vpn_openvpn_server.php
index 77e84f6..a0a4837 100644
--- a/src/usr/local/www/vpn_openvpn_server.php
+++ b/src/usr/local/www/vpn_openvpn_server.php
@@ -1308,8 +1308,8 @@ else:
<?=htmlspecialchars($server['description'])?>
</td>
<td>
- <a href="vpn_openvpn_server.php?act=edit&amp;id=<?=$i?>" class="btn btn-xs btn-info"><?=gettext("Edit")?></a>
- <a href="vpn_openvpn_server.php?act=del&amp;id=<?=$i?>" class="btn btn-xs btn-danger"><?=gettext("Delete")?></a>
+ <a class="fa fa-pencil" title="<?=gettext('Edit server')?>" href="vpn_openvpn_server.php?act=edit&amp;id=<?=$i?>"></a>
+ <a class="fa fa-trash" title="<?=gettext('Delete server')?>" href="vpn_openvpn_server.php?act=del&amp;id=<?=$i?>" onclick="return confirm('<?=gettext("Are you sure you want to delete this server?")?>')"></a>
</td>
</tr>
<?php
OpenPOWER on IntegriCloud