]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/output/CertificateTable.templ
add: add boolean to separate groups for user and support
[gigi.git] / src / org / cacert / gigi / output / CertificateTable.templ
index 29c53eb0f47359b76f6a6c0ad5e882902fcc52cd..539ac1e15e981a180be7d981fa6b226360fd1058 100644 (file)
@@ -1,32 +1,32 @@
-<form method="post">
-<table class="wrapper dataTable">
+<table class="table">
 <thead><tr>
-<td><?=_Renew/Revoke/Delete?></td>
-<td><?=_Status?></td>
-<td><?=_Email Address?></td>
-<td><?=_SerialNumber?></td>
-<td><?=_Digest?></td>
-<td><?=_Profile?></td>
-<td><?=_Issued?></td>
-<td><?=_Revoked?></td>
-<td><?=_Expires?></td>
-<td><?=_Login?></td>
+<th></th>
+<th><?=_Status?></th>
+<th><?=_Email Address?></th>
+<th><?=_SerialNumber?></th>
+<th><?=_Digest?></th>
+<th><?=_Profile?></th>
+<th><?=_Issued?></th>
+<th><?=_Revoked?></th>
+<th><?=_Expires?></th>
+<th><?=_Login?></th>
 </tr></thead>
 <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>
        <td><?=$digest?></td>
        <td><?=$profile?></td>
-       <td><?=$issued?></td>
+       <td class="<?=$classIssued?>"><?=$issued?></td>
        <td><?=$revoked?></td>
-       <td><?=$expire?></td>
-       <td>a</td>
+       <td class="<?=$classExpired?>"><?=$expire?></td>
+       <td><?=$login?></td>
 </tr>
 <? } ?>
 </tbody>
 </table>
-</form>