48 lines
1.1 KiB
HTML
48 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Home{% endblock %}
|
|
{% block content %}
|
|
<h1>Domains Expiring this Year</h1>
|
|
{% if domains_expiring and domains_expiring|length > 0 %}
|
|
<table border="1" cellpadding="5" cellspacing="0">
|
|
<thead>
|
|
<tr>
|
|
<th>Domain</th>
|
|
<th>WHOIS Expiration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for d in domains_expiring %}
|
|
<tr>
|
|
<td>{{ d.domain }}</td>
|
|
<td>{{ d.expiration_date }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
<p>No domains expiring this year.</p>
|
|
{% endif %}
|
|
|
|
<h1>Certs Expiring this Year</h1>
|
|
{% if certs_expiring and certs_expiring|length > 0 %}
|
|
<table border="1" cellpadding="5" cellspacing="0">
|
|
<thead>
|
|
<tr>
|
|
<th>Domain</th>
|
|
<th>SSL Expiration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for d in certs_expiring %}
|
|
<tr>
|
|
<td>{{ d.domain }}</td>
|
|
<td>{{ d.ssl_expiration_date }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
<p>No certificates expiring this year.</p>
|
|
{% endif %}
|
|
{% endblock %}
|