From cf0c30c24006f581eb8cca11d7a2612b01d44bd0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 8 Sep 2019 20:39:17 +0100 Subject: [PATCH] vote button type --- epicyon-profile.css | 37 +++++++++++++++++++++++++++++++++++++ webinterface.py | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index d0c4dcd2..1e06f246 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -533,6 +533,19 @@ input[type=submit] { width: 120px; } +input.vote[type=submit] { + background-color: #555; + color: white; + float: left; + margin: 10px 10px; + padding: 12px 10px; + border: none; + border-radius: 4px; + cursor: pointer; + font-size: 18px; + width: 120px; +} + .cancelbtn { background-color: #555; color: white; @@ -827,6 +840,18 @@ input[type=checkbox] font-size: var(--font-size); width: 20%; } + input.vote[type=submit] { + background-color: #555; + color: white; + float: left; + padding: 10px; + margin: 15px; + border: none; + border-radius: 4px; + cursor: pointer; + font-size: var(--font-size); + width: 20%; + } input[type=file] { background-color: #555; color: white; @@ -980,6 +1005,18 @@ input[type=checkbox] font-size: 30px; width: 20%; } + input.vote[type=submit] { + background-color: #555; + color: white; + float: left; + padding: 10px; + margin: 15px; + border: none; + border-radius: 4px; + cursor: pointer; + font-size: 30px; + width: 20%; + } input[type=file] { background-color: #555; color: white; diff --git a/webinterface.py b/webinterface.py index 9912247d..bbd59488 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1405,7 +1405,7 @@ def insertQuestion(translate: {}, \ if not choice.get('name'): continue content+=' '+choice['name']+'

' - content+='


' + content+='

' content+='' return content