Minor formatting changes

This commit is contained in:
raul 2024-05-23 14:10:36 +02:00
parent 0e7a823c72
commit 478ca2cdfa
3 changed files with 7 additions and 4 deletions

View File

@ -24,6 +24,7 @@ var (
var templateFolder embed.FS var templateFolder embed.FS
func server() { func server() {
gin.SetMode(gin.ReleaseMode)
home, err := os.UserHomeDir() home, err := os.UserHomeDir()
if err != nil { if err != nil {
log.Printf("Error happened looking up user home directory: %v\n", err) log.Printf("Error happened looking up user home directory: %v\n", err)

View File

@ -25,6 +25,7 @@ img {
button { button {
background-color: #eee; background-color: #eee;
border: 2px black solid; border: 2px black solid;
margin-bottom: 10px;
} }
#but:hover { #but:hover {

View File

@ -14,6 +14,10 @@
<body> <body>
<div class="container"> <div class="container">
<div id="main"> <div id="main">
<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>
<h1>Certificate Requester</h1> <h1>Certificate Requester</h1>
<form id='form' hx-encoding='multipart/form-data' hx-post='/api/upload'> <form id='form' hx-encoding='multipart/form-data' hx-post='/api/upload'>
@ -61,10 +65,7 @@
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>