mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Showing vote thanks page, restricting vote names to pre specified ones
This commit is contained in:
parent
d55115f353
commit
bd8e46f6c7
2 changed files with 53 additions and 4 deletions
31
modules/api/views/votethank.ejs
Executable file
31
modules/api/views/votethank.ejs
Executable file
|
@ -0,0 +1,31 @@
|
|||
<html>
|
||||
<body bgcolor="#212127">
|
||||
<head>
|
||||
<title>Shit uploader</title>
|
||||
<meta charset="UTF-8">
|
||||
<style>
|
||||
.main {
|
||||
font-size: 28px;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<div class='main'>
|
||||
<%
|
||||
if (result == 'success') {
|
||||
%> ty a szavazásért c: <%
|
||||
} else if (result == 'no such pool') {
|
||||
%> Ilyen nevű szavazás nincs :c <%
|
||||
} else if (result == 'already voted') {
|
||||
%> Már szavaztál, de azért ty c: <%
|
||||
} else if (result == 'error') {
|
||||
%> Helytelen url paraméterek :c <%
|
||||
} else {
|
||||
%> bit of a fuckup here <%
|
||||
}
|
||||
%>
|
||||
ty c:
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue