summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_certmanager.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-11-05 09:05:52 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-05 09:05:52 -0500
commit0619c9db228ca94339bccd26f109ae2b2b389fa1 (patch)
tree8a6305fb0f56e3c5eb83f610cd3353f292db2934 /src/usr/local/www/system_certmanager.php
parentc10cb19609cc399f70fbf4e3261fd90f3079c122 (diff)
downloadpfsense-0619c9db228ca94339bccd26f109ae2b2b389fa1.zip
pfsense-0619c9db228ca94339bccd26f109ae2b2b389fa1.tar.gz
Convert system_certmanager.php to font awesome icons
Automatically add confirmation dialog to all fa-trash icons
Diffstat (limited to 'src/usr/local/www/system_certmanager.php')
-rw-r--r--src/usr/local/www/system_certmanager.php22
1 files changed, 6 insertions, 16 deletions
diff --git a/src/usr/local/www/system_certmanager.php b/src/usr/local/www/system_certmanager.php
index 53c8500..0dea2cf 100644
--- a/src/usr/local/www/system_certmanager.php
+++ b/src/usr/local/www/system_certmanager.php
@@ -583,7 +583,7 @@ if (!($act == "new" || (($_POST['save'] == gettext("Save")) && $input_errors)))
<th><?=gettext("Issuer")?></th>
<th><?=gettext("Distinguished Name")?></th>
<th><?=gettext("In Use")?></th>
- <th><?=gettext("Actions")?></th>
+ <th class="col-sm-2"><?=gettext("Actions")?></th>
</tr>
</thead>
<tbody>
@@ -656,24 +656,14 @@ foreach($a_cert as $i => $cert):
<?php endif?>
</td>
<td>
- <a href="system_certmanager.php?act=exp&amp;id=<?=$i?>" class="btn btn-xs btn-default">
- <?=gettext("export")?>
- </a>
- <a href="system_certmanager.php?act=key&amp;id=<?=$i?>" class="btn btn-xs btn-default">
- <?=gettext("export key")?>
- </a>
- <a href="system_certmanager.php?act=p12&amp;id=<?=$i?>" class="btn btn-xs btn-default">
- <?=gettext("export p12")?>
- </a>
+ <a href="system_certmanager.php?act=exp&amp;id=<?=$i?>" class="fa fa-sign-in" title="<?=gettext("Export")?>"></a>
+ <a href="system_certmanager.php?act=key&amp;id=<?=$i?>" class="fa fa-key" title="<?=gettext("Export key")?>"></a>
+ <a href="system_certmanager.php?act=p12&amp;id=<?=$i?>" class="fa fa-key" title="<?=gettext("Export P12")?>"> P12</a>
<?php if (!cert_in_use($cert['refid'])): ?>
- <a href="system_certmanager.php?act=del&amp;id=<?=$i?>" class="btn btn-xs btn-danger">
- <?=gettext("delete")?>
- </a>
+ <a href="system_certmanager.php?act=del&amp;id=<?=$i?>" class="fa fa-trash" title="<?=gettext("Delete")?>"></a>
<?php endif?>
<?php if ($cert['csr']): ?>
- <a href="system_certmanager.php?act=csr&amp;id=<?=$i?>" class="btn btn-xs btn-default">
- <?=gettext("update csr")?>
- </a>
+ <a href="system_certmanager.php?act=csr&amp;id=<?=$i?>" class="fa fa-refresh" title="<?=gettext("Update csr")?>"></a>
<?php endif?>
</td>
</tr>
OpenPOWER on IntegriCloud