44 lines
1.1 KiB
HTML
44 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>TCIVS Cyber Intra Certificate Request</title>
|
|
<link href="css/style.css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<table>
|
|
<thead>
|
|
<tr><th>Name</th><th>Issued</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for record in issued %}
|
|
<tr>
|
|
<td>{{record[0]|safe}}</td>
|
|
<td><a href="/download_pem/{{record[1]|safe}}">Download PEM</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
<table>
|
|
<thead>
|
|
<tr><th>Pending</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for pd in pending %}
|
|
<tr>
|
|
<td>{{pd[0]|safe}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
<form action="/reqcert" method="post">
|
|
<label for="name">Request Name:</label>
|
|
<input type="text" name="name" required/>
|
|
</br>
|
|
<label for="csr">Certificate Request: </label>
|
|
<textarea rows="20" cols="50" name="csr"></textarea>
|
|
<button type="submit">Submit</button>
|
|
</form>
|
|
</body>
|
|
</html>
|