diff --git a/cmd/serverFunc.go b/cmd/serverFunc.go index d5b4510..2d5b508 100644 --- a/cmd/serverFunc.go +++ b/cmd/serverFunc.go @@ -57,9 +57,7 @@ func returnCacert(c *gin.Context) { } func returnIndex(c *gin.Context) { - c.HTML(http.StatusOK, "templates/index.html", gin.H{ - "UserAgent": c.Request.UserAgent(), - }) + c.HTML(http.StatusOK, "templates/index.html", gin.H{}) } func getDomainRequest(c *gin.Context) { diff --git a/cmd/templates/css/style.css b/cmd/templates/css/style.css index 35265b3..ce3ee9f 100644 --- a/cmd/templates/css/style.css +++ b/cmd/templates/css/style.css @@ -25,7 +25,6 @@ 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 42ce66d..573c272 100644 --- a/cmd/templates/index.html +++ b/cmd/templates/index.html @@ -2,7 +2,7 @@ - Hello + Certificate Requester @@ -12,14 +12,10 @@ -

Hello {{ .UserAgent }}!

- -

Download CA certificate

-
-

Certificate requester

- + +

Certificate Requester

Serial Number: @@ -65,6 +61,10 @@ Request
+ +

Source Code

+

Download CA certificate

+