diff --git a/app/http/endpoints/manage/panelcreate.go b/app/http/endpoints/manage/panelcreate.go index 45b56b2..0fb7241 100644 --- a/app/http/endpoints/manage/panelcreate.go +++ b/app/http/endpoints/manage/panelcreate.go @@ -91,7 +91,7 @@ func PanelCreateHandler(ctx *gin.Context) { // Validate colour validColour := true - panelColourHex := ctx.PostForm("colour") + panelColourHex := strings.Replace(ctx.PostForm("colour"), "#", "", -1) panelColour, err := strconv.ParseUint(panelColourHex, 16, 32) if err != nil { validColour = false diff --git a/public/static/css/style.css b/public/static/css/style.css index faab05c..b7d7f6b 100644 --- a/public/static/css/style.css +++ b/public/static/css/style.css @@ -32,3 +32,8 @@ body { text-align: right; padding-bottom: 10px; } + +.input-fill { + margin: 0 !important; + padding: 0 !important; +} diff --git a/public/templates/includes/head.tmpl b/public/templates/includes/head.tmpl index 16e3e4b..845a260 100644 --- a/public/templates/includes/head.tmpl +++ b/public/templates/includes/head.tmpl @@ -45,4 +45,12 @@ + + + + {{end}} \ No newline at end of file diff --git a/public/templates/includes/navbar.tmpl b/public/templates/includes/navbar.tmpl index 2b55677..4b542f7 100644 --- a/public/templates/includes/navbar.tmpl +++ b/public/templates/includes/navbar.tmpl @@ -15,7 +15,7 @@ Ticket List diff --git a/public/templates/views/panels.tmpl b/public/templates/views/panels.tmpl index 75113d6..be75db8 100644 --- a/public/templates/views/panels.tmpl +++ b/public/templates/views/panels.tmpl @@ -5,7 +5,7 @@
-

Panels

+

Reaction Panels

Your panel quota: {{.panelcount}} / {{if .premium}}∞{{else}}1{{end}}

@@ -47,13 +47,13 @@
- +
- +
@@ -61,17 +61,14 @@
- +
-
-
#
-
- +
- +
#
@@ -85,7 +82,7 @@
- +
#
@@ -100,7 +97,7 @@
- +