-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
luisddm
committed
Dec 7, 2018
1 parent
fc6a691
commit 3184f76
Showing
16 changed files
with
89 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<% include ../partials/head %> | ||
|
||
<% if (!error) { %> | ||
<h1>¡Gracias! Has votado por <%= selectedOption %>.</h1> | ||
<% } else { %> | ||
<h1><%= error %></h1> | ||
<% } %> | ||
|
||
<% include ../partials/foot %> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
<% include ../partials/head %> | ||
|
||
<h1><%= message %></h1> | ||
<h2><%= error.status %></h2> | ||
<pre><%= error.stack %></pre> | ||
|
||
<% include ../partials/foot %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<% include ../partials/head %> | ||
|
||
<div> | ||
<img class="logo" src="/images/frontfest.svg"> | ||
</div> | ||
<form action="/vote" method="post"> | ||
<div class="group"> | ||
<label class="label">Introduce tu localizador</label> | ||
<input type="text" class="input" name="ticketId" placeholder="xxxx-x-xxxx"/> | ||
<button type="submit" class="button"> | ||
<img src="/images/ok.svg"> | ||
</button> | ||
<p> | ||
<strong>Puedes encontrar el localizador bajo el código QR en el PDF de Koliseo.</strong> | ||
</p> | ||
<p> | ||
El localizador se utilizará únicamente para comprobar que se posee una entrada válida y evitar la duplicidad del voto. | ||
No se relacionará en ningún caso con la opción elegida, manteniendo anónimo el sentido del voto. | ||
</p> | ||
<p> | ||
Más información sobre esta app y código fuente <a target="_blank" href="https://github.com/frontfest/vote">aquí</a>. | ||
</p> | ||
</div> | ||
</form> | ||
|
||
<% include ../partials/foot %> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<% include ../partials/head %> | ||
|
||
<% if (!error) { %> | ||
<div class="ticket"> | ||
<div><img src="/images/ticket.svg"></div> | ||
<h1><%= ticketId %></h1> | ||
</div> | ||
<form action="/done" method="post"> | ||
<div class="group"> | ||
<input class="hidden" name="ticketId" value="<%= ticketId %>" /> | ||
<label class="label">Elige tu opción</label> | ||
<select name="selectedOption"> | ||
<% options.forEach(option => { %> | ||
<option value="<%= option.value %>"><%= option.name %></option> | ||
<% }) %> | ||
</select> | ||
<button class="button is-primary" type="submit"> | ||
<img src="/images/ok.svg"> | ||
</button> | ||
</div> | ||
</form> | ||
<% } else { %> | ||
<h1><%= error %></h1> | ||
<% } %> | ||
|
||
<% include ../partials/foot %> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,11 @@ | ||
<!doctype html> | ||
<html lang="es"> | ||
<head> | ||
<title><%= title %></title> | ||
<title>FrontFest Vote</title> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="/stylesheets/style.css" /> | ||
</head> | ||
<body> | ||
<div class="wrapper"> | ||
<% if (!error) { %> | ||
<h1>¡Gracias! Has votado por <%= selectedOption %>.</h1> | ||
<% } else { %> | ||
<h1><%= error %></h1> | ||
<% } %> | ||
</div> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.