You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.6 KiB
Twig
45 lines
1.6 KiB
Twig
{% extends "base.html.twig" %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<h2>Certificates</h2>
|
|
<div class="row">
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>Serial</th>
|
|
<th>Name</th>
|
|
<th>Expires on</th>
|
|
<th>
|
|
<a href="/panel/certificates/new" class="button">Create new certificate</a>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for certificate in user.getCertificates() %}
|
|
<tr>
|
|
<td>
|
|
{{ certificate.getSerial() }}
|
|
</td>
|
|
<td>
|
|
{{ certificate.getName() }}
|
|
</td>
|
|
<td>
|
|
{{ certificate.getExpiriationDate() }}
|
|
</td>
|
|
<td>
|
|
|
|
</td>
|
|
</tr>
|
|
{% else %}
|
|
<tr>
|
|
<td colspan="4">
|
|
You don't seem to have any certificates yet, <a href="/panel/certificates/new">want to create one?</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |