No One Can Stop Me Now
This commit is contained in:
31
services/setec-manager/web/templates/ssl.html
Normal file
31
services/setec-manager/web/templates/ssl.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{{define "content"}}
|
||||
<h2>SSL / TLS Certificates</h2>
|
||||
<table class="data-table">
|
||||
<thead>
|
||||
<tr><th>Domain</th><th>Issuer</th><th>Expires</th><th>Status</th><th>Actions</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{range .Data.Certs}}
|
||||
<tr>
|
||||
<td>{{.Domain}}</td>
|
||||
<td>{{.Issuer}}</td>
|
||||
<td>{{.Expiry}}</td>
|
||||
<td>
|
||||
{{if .Valid}}
|
||||
<span class="badge badge-ok">Valid</span>
|
||||
{{else}}
|
||||
<span class="badge badge-err">Expired</span>
|
||||
{{end}}
|
||||
</td>
|
||||
<td>
|
||||
<form method="POST" action="/ssl/renew/{{.Domain}}" style="display:inline">
|
||||
<button class="btn btn-sm">Renew</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
{{else}}
|
||||
<tr><td colspan="5">No certificates found.</td></tr>
|
||||
{{end}}
|
||||
</tbody>
|
||||
</table>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user