diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-11-05 09:05:52 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-05 09:05:52 -0500 |
commit | 0619c9db228ca94339bccd26f109ae2b2b389fa1 (patch) | |
tree | 8a6305fb0f56e3c5eb83f610cd3353f292db2934 /src/usr/local/www/system_certmanager.php | |
parent | c10cb19609cc399f70fbf4e3261fd90f3079c122 (diff) | |
download | pfsense-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.php | 22 |
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&id=<?=$i?>" class="btn btn-xs btn-default"> - <?=gettext("export")?> - </a> - <a href="system_certmanager.php?act=key&id=<?=$i?>" class="btn btn-xs btn-default"> - <?=gettext("export key")?> - </a> - <a href="system_certmanager.php?act=p12&id=<?=$i?>" class="btn btn-xs btn-default"> - <?=gettext("export p12")?> - </a> + <a href="system_certmanager.php?act=exp&id=<?=$i?>" class="fa fa-sign-in" title="<?=gettext("Export")?>"></a> + <a href="system_certmanager.php?act=key&id=<?=$i?>" class="fa fa-key" title="<?=gettext("Export key")?>"></a> + <a href="system_certmanager.php?act=p12&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&id=<?=$i?>" class="btn btn-xs btn-danger"> - <?=gettext("delete")?> - </a> + <a href="system_certmanager.php?act=del&id=<?=$i?>" class="fa fa-trash" title="<?=gettext("Delete")?>"></a> <?php endif?> <?php if ($cert['csr']): ?> - <a href="system_certmanager.php?act=csr&id=<?=$i?>" class="btn btn-xs btn-default"> - <?=gettext("update csr")?> - </a> + <a href="system_certmanager.php?act=csr&id=<?=$i?>" class="fa fa-refresh" title="<?=gettext("Update csr")?>"></a> <?php endif?> </td> </tr> |