summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_camanager.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-13 15:11:23 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-13 15:11:23 -0500
commit060ed23871a0933021e68078efceb6ed64658d82 (patch)
tree434e5315f7aefb15e389f439133a9a41e40340f7 /src/usr/local/www/system_camanager.php
parentd642aca406161552dbd6b2c19585eaba42a242a6 (diff)
downloadpfsense-060ed23871a0933021e68078efceb6ed64658d82.zip
pfsense-060ed23871a0933021e68078efceb6ed64658d82.tar.gz
Fixed #5566
Diffstat (limited to 'src/usr/local/www/system_camanager.php')
-rw-r--r--src/usr/local/www/system_camanager.php77
1 files changed, 41 insertions, 36 deletions
diff --git a/src/usr/local/www/system_camanager.php b/src/usr/local/www/system_camanager.php
index 51c636a..6ab7389 100644
--- a/src/usr/local/www/system_camanager.php
+++ b/src/usr/local/www/system_camanager.php
@@ -379,19 +379,22 @@ display_top_tabs($tab_array);
if (!($act == "new" || $act == "edit" || $act == gettext("Save") || $input_errors)) {
?>
-<div class="table-responsive">
-<table class="table table-striped table-hover">
- <thead>
- <tr>
- <th><?=gettext("Name")?></th>
- <th><?=gettext("Internal")?></th>
- <th><?=gettext("Issuer")?></th>
- <th><?=gettext("Certificates")?></th>
- <th><?=gettext("Distinguished Name")?></th>
- <th><?=gettext("Actions")?></th>
- </tr>
- </thead>
- <tbody>
+<div class="panel panel-default">
+ <div class="panel-heading"><h2 class="panel-title"><?=gettext('Certificate Authorities')?></h2></div>
+ <div class="panel-body">
+ <div class="table-responsive">
+ <table class="table table-striped table-hover">
+ <thead>
+ <tr>
+ <th><?=gettext("Name")?></th>
+ <th><?=gettext("Internal")?></th>
+ <th><?=gettext("Issuer")?></th>
+ <th><?=gettext("Certificates")?></th>
+ <th><?=gettext("Distinguished Name")?></th>
+ <th><?=gettext("Actions")?></th>
+ </tr>
+ </thead>
+ <tbody>
<?php
foreach ($a_ca as $i => $ca):
$name = htmlspecialchars($ca['descr']);
@@ -427,30 +430,32 @@ foreach ($a_ca as $i => $ca):
}
}
?>
- <tr>
- <td><?=$name?></td>
- <td><?=$internal?></td>
- <td><i><?=$issuer_name?></i></td>
- <td><?=$certcount?></td>
- <td>
- <?=$subj?>
- <br />
- <small>
- <?=gettext("Valid From")?>: <b><?=$startdate ?></b><br /><?=gettext("Valid Until")?>: <b><?=$enddate ?></b>
- </small>
- </td>
- <td>
- <a class="fa fa-pencil" title="<?=gettext("Edit")?>" href="system_camanager.php?act=edit&amp;id=<?=$i?>"></a>
- <a class="fa fa-sign-in" title="<?=gettext("Export")?>" href="system_camanager.php?act=exp&amp;id=<?=$i?>"></a>
- <?php if ($ca['prv']): ?>
- <a class="fa fa-key" title="<?=gettext("Export key")?>" href="system_camanager.php?act=expkey&amp;id=<?=$i?>"></a>
- <?php endif?>
- <a class="fa fa-trash" title="<?=gettext("Delete")?>" href="system_camanager.php?act=del&amp;id=<?=$i?>"></a>
- </td>
- </tr>
+ <tr>
+ <td><?=$name?></td>
+ <td><?=$internal?></td>
+ <td><i><?=$issuer_name?></i></td>
+ <td><?=$certcount?></td>
+ <td>
+ <?=$subj?>
+ <br />
+ <small>
+ <?=gettext("Valid From")?>: <b><?=$startdate ?></b><br /><?=gettext("Valid Until")?>: <b><?=$enddate ?></b>
+ </small>
+ </td>
+ <td>
+ <a class="fa fa-pencil" title="<?=gettext("Edit")?>" href="system_camanager.php?act=edit&amp;id=<?=$i?>"></a>
+ <a class="fa fa-sign-in" title="<?=gettext("Export")?>" href="system_camanager.php?act=exp&amp;id=<?=$i?>"></a>
+ <?php if ($ca['prv']): ?>
+ <a class="fa fa-key" title="<?=gettext("Export key")?>" href="system_camanager.php?act=expkey&amp;id=<?=$i?>"></a>
+ <?php endif?>
+ <a class="fa fa-trash" title="<?=gettext("Delete")?>" href="system_camanager.php?act=del&amp;id=<?=$i?>"></a>
+ </td>
+ </tr>
<?php endforeach; ?>
- </tbody>
-</table>
+ </tbody>
+ </table>
+ </div>
+ </div>
</div>
<nav class="action-buttons">
OpenPOWER on IntegriCloud