37 lines
1.1 KiB
HTML
37 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}SSL Certificates{% endblock %}
|
|
{% block content %}
|
|
<h1>SSL Certificates</h1>
|
|
<button onclick="window.location.href='{{ url_for('ssl.refresh_ssl') }}'">Refresh SSL</button>
|
|
<table border="1" cellpadding="5" cellspacing="0">
|
|
<thead>
|
|
<tr>
|
|
<th>Domain</th>
|
|
<th>SSL Expiration</th>
|
|
<th>Type</th>
|
|
<th>Action</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for d in domains %}
|
|
<tr>
|
|
<td>{{ d.domain }}</td>
|
|
<td>{{ d.ssl_expiration_date }}</td>
|
|
<td>
|
|
{% if d.ssl_only %}
|
|
Email
|
|
{% else %}
|
|
Domain
|
|
{% endif %}
|
|
</td>
|
|
<td>
|
|
<a href="{{ url_for('domain.delete_domain', domain_id=d.id) }}" onclick="return confirm('Are you sure you want to delete this domain?');">X</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
<br>
|
|
<button onclick="window.location.href='{{ url_for('ssl.add_ssl_domain') }}'">Add SSL Domain</button>
|
|
{% endblock %}
|