-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60085e9
commit 8631453
Showing
3 changed files
with
24 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,30 @@ | ||
{{template "base" .}} | ||
|
||
{{define "content"}} | ||
<div class="container-fluid"> | ||
<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: <a href="https://crt.sh/?id={{printf "%0.0f" .id}}" target="_blank" style="color: #003366;">{{printf "%0.0f" .id}}</a></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 class="container-fluid"> | ||
<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: <a href="https://crt.sh/?id={{printf " %0.0f" .id}}" | ||
target="_blank" style="color: #003366;">{{printf "%0.0f" .id}}</a></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> | ||
{{else}} | ||
<p>No SSL information available for this domain.</p> | ||
{{end}} | ||
</div> | ||
{{else}} | ||
<p>No SSL information available for this domain.</p> | ||
{{end}} | ||
</div> | ||
</div> | ||
</div> | ||
{{end}} | ||
|
||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ <h5><i class="bi bi-search"></i> WHOIS Information</h5> | |
</div> | ||
</div> | ||
</div> | ||
{{end}} | ||
{{end}} |