52 lines
1.2 KiB
HTML
52 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}Home{% endblock %}
|
|
{% block content %}
|
|
<div class="container">
|
|
<h1 class="my-4">Expiring in the Next 3 Months</h1>
|
|
|
|
<h2>Domains:</h2>
|
|
{% if domains_expiring and domains_expiring|length > 0 %}
|
|
<table class="table table-bordered table-hover">
|
|
<thead class="thead-light">
|
|
<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 in the next 3 months.</p>
|
|
{% endif %}
|
|
|
|
<h2 class="mt-5">SSL Certificates:</h2>
|
|
{% if ssl_expiring and ssl_expiring|length > 0 %}
|
|
<table class="table table-bordered table-hover">
|
|
<thead class="thead-light">
|
|
<tr>
|
|
<th>Domain</th>
|
|
<th>SSL Expiration</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for d in ssl_expiring %}
|
|
<tr>
|
|
<td>{{ d.domain }}</td>
|
|
<td>{{ d.ssl_expiration_date }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
<p>No SSL certificates expiring in the next 3 months.</p>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|