]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/output/CertificateTable.templ
upd: added correct display of login and revoked status to status table
[gigi.git] / src / org / cacert / gigi / output / CertificateTable.templ
index 1999897ec3c6c4b95b08da923f3dd8d0dd56135c..278b4f7f7bb04c989b9dc9b22808801fa5774ee8 100644 (file)
@@ -1,7 +1,6 @@
-<form method="post">
-<table class="wrapper dataTable">
+<table class="table">
 <thead><tr>
-<th><?=_Renew/Revoke/Delete?></th>
+<th></th>
 <th><?=_Status?></th>
 <th><?=_Email Address?></th>
 <th><?=_SerialNumber?></th>
@@ -15,7 +14,9 @@
 <tbody>
 <? foreach($certs) {?>
 <tr>
-       <td><input type='checkbox' name='certs[]' value='<?=$serial?>'></td>
+       <td>
+       <? if($revokable) { ?><input type='checkbox' name='certs[]' value='<?=$serial?>'><? } ?>
+       </td>
        <td><?=$state?></td>
        <td><?=$CN?></td>
        <td><a href='/account/certs/<?=$serial?>'><?=$serial?></a></td>
@@ -24,9 +25,8 @@
        <td><?=$issued?></td>
        <td><?=$revoked?></td>
        <td><?=$expire?></td>
-       <td>a</td>
+       <td><?=$login?></td>
 </tr>
 <? } ?>
 </tbody>
 </table>
-</form>