Styling changes and credits
This commit is contained in:
parent
59cb7c7fb9
commit
d1d121e971
|
@ -57,9 +57,7 @@ func returnCacert(c *gin.Context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func returnIndex(c *gin.Context) {
|
func returnIndex(c *gin.Context) {
|
||||||
c.HTML(http.StatusOK, "templates/index.html", gin.H{
|
c.HTML(http.StatusOK, "templates/index.html", gin.H{})
|
||||||
"UserAgent": c.Request.UserAgent(),
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func getDomainRequest(c *gin.Context) {
|
func getDomainRequest(c *gin.Context) {
|
||||||
|
|
|
@ -25,7 +25,6 @@ img {
|
||||||
button {
|
button {
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
border: 2px black solid;
|
border: 2px black solid;
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#but:hover {
|
#but:hover {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Hello</title>
|
<title>Certificate Requester</title>
|
||||||
<script src="https://unpkg.com/htmx.org@1.9.4/dist/htmx.min.js"></script>
|
<script src="https://unpkg.com/htmx.org@1.9.4/dist/htmx.min.js"></script>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
@ -12,14 +12,10 @@
|
||||||
<!-- Licensed under the GPL v3.0 -->
|
<!-- Licensed under the GPL v3.0 -->
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<p>Hello {{ .UserAgent }}!</p>
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<b>
|
|
||||||
<p align="center"><a href="cacert">Download CA certificate</a></p>
|
<h1>Certificate Requester</h1>
|
||||||
</b>
|
|
||||||
<h1>Certificate requester</h1>
|
|
||||||
<!-- <h3>Find the source <a href="https://git.bulgariu.xyz/raul/uploader" target="_blank">here!</a></h3> -->
|
|
||||||
<form id='form' hx-encoding='multipart/form-data' hx-post='/api/upload'>
|
<form id='form' hx-encoding='multipart/form-data' hx-post='/api/upload'>
|
||||||
Serial Number:
|
Serial Number:
|
||||||
<input type="text" name="formSerNum" value="30128">
|
<input type="text" name="formSerNum" value="30128">
|
||||||
|
@ -65,6 +61,10 @@
|
||||||
Request
|
Request
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
<b>
|
||||||
|
<p align="center"><a target="_blank" href="https://git.bulgariu.xyz/raul/cert400">Source Code</a></p>
|
||||||
|
<p align="center"><a href="cacert">Download CA certificate</a></p>
|
||||||
|
</b>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue