From 478ca2cdfacfa95d1f0c2fbc6323a751c5e83934 Mon Sep 17 00:00:00 2001 From: raul Date: Thu, 23 May 2024 14:10:36 +0200 Subject: [PATCH] Minor formatting changes --- cmd/serverFunc.go | 1 + cmd/templates/css/style.css | 1 + cmd/templates/index.html | 9 +++++---- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/cmd/serverFunc.go b/cmd/serverFunc.go index 2d5b508..1a21a68 100644 --- a/cmd/serverFunc.go +++ b/cmd/serverFunc.go @@ -24,6 +24,7 @@ var ( var templateFolder embed.FS func server() { + gin.SetMode(gin.ReleaseMode) home, err := os.UserHomeDir() if err != nil { log.Printf("Error happened looking up user home directory: %v\n", err) diff --git a/cmd/templates/css/style.css b/cmd/templates/css/style.css index ce3ee9f..35265b3 100644 --- a/cmd/templates/css/style.css +++ b/cmd/templates/css/style.css @@ -25,6 +25,7 @@ img { button { background-color: #eee; border: 2px black solid; + margin-bottom: 10px; } #but:hover { diff --git a/cmd/templates/index.html b/cmd/templates/index.html index 573c272..07e25d9 100644 --- a/cmd/templates/index.html +++ b/cmd/templates/index.html @@ -14,6 +14,10 @@
+ +

Source Code

+

Download CA certificate

+

Certificate Requester

@@ -61,10 +65,7 @@ Request
- -

Source Code

-

Download CA certificate

-
+