]> WPIA git - gigi.git/blobdiff - src/club/wpia/gigi/output/CertificateTable.templ
upd: rename package name and all references to it
[gigi.git] / src / club / wpia / gigi / output / CertificateTable.templ
diff --git a/src/club/wpia/gigi/output/CertificateTable.templ b/src/club/wpia/gigi/output/CertificateTable.templ
new file mode 100644 (file)
index 0000000..539ac1e
--- /dev/null
@@ -0,0 +1,32 @@
+<table class="table">
+<thead><tr>
+<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>
+       <? 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 class="<?=$classIssued?>"><?=$issued?></td>
+       <td><?=$revoked?></td>
+       <td class="<?=$classExpired?>"><?=$expire?></td>
+       <td><?=$login?></td>
+</tr>
+<? } ?>
+</tbody>
+</table>