261 lines
11 KiB
HTML
261 lines
11 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="css/bootstrap.min.css" />
|
|
<script src="js/bootstrap.min.js" defer></script>
|
|
<script src="js/theme.js" defer></script>
|
|
<script src="js/certs.js" defer></script>
|
|
<title>Scm</title>
|
|
</head>
|
|
<style>
|
|
@media screen and (max-width: 1000px) {
|
|
#preview_raw_content {
|
|
width: 55%;
|
|
}
|
|
#raw {
|
|
width: 85%;
|
|
}
|
|
}
|
|
@media screen and (max-width: 768px) {
|
|
#preview_ssl_content {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
</style>
|
|
<body>
|
|
<nav class="navbar navbar-expand-lg bg-body-tertiary">
|
|
<div class="container-fluid">
|
|
<a class="navbar-brand" href="#">SSL Certs</a>
|
|
<a class="navbar-brand" style="cursor: pointer" id="time"></a>
|
|
<button
|
|
class="navbar-toggler"
|
|
type="button"
|
|
data-bs-toggle="collapse"
|
|
data-bs-target="#navbarNav"
|
|
aria-controls="navbarNav"
|
|
aria-expanded="false"
|
|
aria-label="Toggle navigation"
|
|
>
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarNav">
|
|
<ul class="navbar-nav me-auto mb-2 mb-lg-0 gap-3">
|
|
<li class="nav-item d-flex align-items-center">
|
|
<input
|
|
type="checkbox"
|
|
class="sc-gJwTLC ikxBAC"
|
|
id="dark_theme"
|
|
/>
|
|
</li>
|
|
<li class="nav-item">
|
|
<button
|
|
type="button"
|
|
class="btn btn-primary"
|
|
data-bs-toggle="modal"
|
|
data-bs-target="#create_certificate"
|
|
>
|
|
+
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<div
|
|
class="d-flex flex-wrap gap-3 p-3 justify-content-center"
|
|
id="cards"
|
|
></div>
|
|
<div class="modal fade" tabindex="-1" id="create_certificate">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title">Create SSl Certificate</h5>
|
|
<button
|
|
type="button"
|
|
data-bs-dismiss="modal"
|
|
aria-label="Close"
|
|
class="btn-close"
|
|
></button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="form-floating mb-3">
|
|
<input
|
|
type="text"
|
|
id="domain"
|
|
class="form-control"
|
|
placeholder="example.domain"
|
|
/>
|
|
<label for="domain">Domain</label>
|
|
</div>
|
|
<div class="form-floating mb-3">
|
|
<input
|
|
type="password"
|
|
id="password"
|
|
class="form-control"
|
|
placeholder="example.domain"
|
|
/>
|
|
<label for="password">RootCA password</label>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button
|
|
type="button"
|
|
data-bs-dismiss="modal"
|
|
class="btn btn-secondary"
|
|
>
|
|
Close
|
|
</button>
|
|
<button type="button" class="btn btn-primary">
|
|
Save changes
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal fade" tabindex="-1" id="preview">
|
|
<div class="modal-dialog modal-fullscreen">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h5 class="modal-title">Preview</h5>
|
|
<button
|
|
type="button"
|
|
data-bs-dismiss="modal"
|
|
aria-label="Close"
|
|
class="btn-close"
|
|
></button>
|
|
</div>
|
|
<div
|
|
class="modal-body d-flex gap-3 align-items-center justify-content-center"
|
|
id="preview_ssl_content"
|
|
>
|
|
<div id="certinfo">
|
|
<h1 id="cert-title">Information</h1>
|
|
<h2>Issuer</h2>
|
|
<div class="form-floating mb-3">
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
placeholder="example.domain"
|
|
value="placeholder"
|
|
id="issuercommonname"
|
|
disabled
|
|
/>
|
|
<label>Common Name</label>
|
|
</div>
|
|
<div class="form-floating mb-3">
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
placeholder="example.domain"
|
|
value="Organization"
|
|
id="issuerorganization"
|
|
disabled
|
|
/>
|
|
<label>Organization</label>
|
|
</div>
|
|
<div class="form-floating mb-3">
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
placeholder="example.domain"
|
|
value="Organization Unit"
|
|
id="issuerorganizationunit"
|
|
disabled
|
|
/>
|
|
<label>Organization Unit</label>
|
|
</div>
|
|
<h2>Subject</h2>
|
|
<div class="form-floating mb-3">
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
placeholder="example.domain"
|
|
value="placeholder"
|
|
id="subjectcommonname"
|
|
disabled
|
|
/>
|
|
<label>Common Name</label>
|
|
</div>
|
|
<div class="form-floating mb-3">
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
placeholder="example.domain"
|
|
value="Organization"
|
|
id="subjectorganization"
|
|
disabled
|
|
/>
|
|
<label>Organization</label>
|
|
</div>
|
|
<div class="form-floating mb-3">
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
placeholder="example.domain"
|
|
value="Organization Unit"
|
|
id="subjectorganizationunit"
|
|
disabled
|
|
/>
|
|
<label>Organization Unit</label>
|
|
</div>
|
|
<h2>Other</h2>
|
|
<div class="form-floating mb-3">
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
placeholder="example.domain"
|
|
value="[dns.home.com]"
|
|
id="dnsNames"
|
|
disabled
|
|
/>
|
|
<label>DNSNames</label>
|
|
</div>
|
|
<div class="form-floating mb-3">
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
placeholder="example.domain"
|
|
value="2025-09-28T00:00:00Z"
|
|
id="notBefore"
|
|
disabled
|
|
/>
|
|
<label>NotBefore</label>
|
|
</div>
|
|
<div class="form-floating mb-3">
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
placeholder="example.domain"
|
|
value="2025-09-28T00:00:00Z"
|
|
id="notAfter"
|
|
disabled
|
|
/>
|
|
<label>NotAfter</label>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="d-flex flex-column align-items-start justify-content-start"
|
|
style="width: 100%; height: 100%"
|
|
id="preview_raw_content"
|
|
>
|
|
<h1>Raw</h1>
|
|
<div id="raw"></div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button
|
|
type="button"
|
|
class="btn btn-secondary"
|
|
data-bs-dismiss="modal"
|
|
>
|
|
Close
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|