Skip to content

Commit

Permalink
ssl_info html template
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberRoute committed Oct 24, 2023
1 parent db458db commit 5b9ece4
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions templates/ssl.page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{{template "base" .}}

{{define "content"}}
<div class="container">
<div class="row">
<div class="col">
{{if .SSLInfo}}
{{range .SSLInfo}}
<div class="card bg-dark text-light mb-4">
<div class="card-body">
<div class="card-header bg-success">
<h5><i class="bi bi-search"></i> crt.sh ID: </b> {{printf "%0.0f" .id}} </h5>
</div>
<div class="mt-3">
<p class="text-break"><b>Common Name:</b> {{.common_name}}</p>
<p class="text-break"><b>Matching Identities:</b> {{.name_value}}</p>
<p class="text-break"><b>Issuer Name:</b> {{.issuer_name}}</p>
</div>
</div>
</div>
{{else}}
<p>No SSL information available for this domain.</p>
{{end}}
</div>
</div>
</div>
{{end}}

{{end}}

0 comments on commit 5b9ece4

Please sign in to comment.