vote button type

master
Bob Mottram 2019-09-08 20:39:17 +01:00
parent 76f8c0e563
commit cf0c30c240
2 changed files with 38 additions and 1 deletions

View File

@ -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;

View File

@ -1405,7 +1405,7 @@ def insertQuestion(translate: {}, \
if not choice.get('name'):
continue
content+='<input type="radio" name="answer" value="'+choice['name']+'"> '+choice['name']+'<br><br>'
content+='<center><input type="submit" value="'+translate['Vote']+'" class="left"></center><br><br>'
content+='<input type="submit" value="'+translate['Vote']+'" class="vote"><br><br>'
content+='</form></div>'
return content