-
Notifications
You must be signed in to change notification settings - Fork 0
/
vote.html
109 lines (100 loc) · 3.23 KB
/
vote.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<html>
<head>
<title>V0.0.4</title>
</head>
<body>
<form name="vote" method="POST" data-netlify="true">
<!-- to catch form type in the submission-created.ts -->
<input type="hidden" id="form_id" name="form_id" value="vote">
<!-- actor_input, team_input are inputs typed by the user that can be sanitize later to be tranformed in a valid id -->
<H2>Vote parameters</H2>
<p>
<label>Your ID (pseudo, email, whatever that identifies you uniquely): <input type="text" name="actor_input" /></label>
</p>
<p>
<label>Your team: <input type="text" name="team_input" /></label>
</p>
<p>
<label>Your project: <input type="text" name="project_input" /></label>
</p>
<p>
<label>Your sprint: <input type="number" name="sprint_input" /></label>
</p>
<H2>Your vote</H2>
<p>
<label>Requirements:<br><!-- 6 states -->
<input type="radio" id="1" name="requirements_state" value="1">
<label for="1">1</label>
<input type="radio" id="2" name="requirements_state" value="2">
<label for="2">2</label>
<input type="radio" id="3" name="requirements_state" value="3">
<label for="3">3</label>
<input type="radio" id="4" name="requirements_state" value="4">
<label for="4">4</label>
<input type="radio" id="5" name="requirements_state" value="5">
<label for="5">5</label>
<input type="radio" id="6" name="requirements_state" value="6">
<label for="6">6</label>
</label>
</p>
<p>
<label>Opportunity:<br><!-- 6 states -->
<input type="radio" id="1" name="opportunity_state" value="1">
<label for="1">1</label>
<input type="radio" id="2" name="opportunity_state" value="2">
<label for="2">2</label>
<input type="radio" id="3" name="opportunity_state" value="3">
<label for="3">3</label>
<input type="radio" id="4" name="opportunity_state" value="4">
<label for="4">4</label>
<input type="radio" id="5" name="opportunity_state" value="5">
<label for="5">5</label>
<input type="radio" id="6" name="opportunity_state" value="6">
<label for="6">6</label>
</label>
</p>
<p>
<label>Team:<br><!-- 5 states -->
<input type="radio" id="1" name="team_state" value="1">
<label for="1">1</label>
<input type="radio" id="2" name="team_state" value="2">
<label for="2">2</label>
<input type="radio" id="3" name="team_state" value="3">
<label for="3">3</label>
<input type="radio" id="4" name="team_state" value="4">
<label for="4">4</label>
<input type="radio" id="5" name="team_state" value="5">
<label for="5">5</label>
</label>
</p>
<p>
<label>Optionnal commit: <textarea name="message"></textarea></label>
</p>
<p>
<button type="submit">Send</button>
</p>
</form>
<!--
<form name="retrospective" method="POST" data-netlify="true">
<p>
<label>Your Name: <input type="text" name="name" /></label>
</p>
<p>
<label>Your Email: <input type="email" name="email" /></label>
</p>
<p>
<label>Your Role: <select name="role[]" multiple>
<option value="leader">Leader</option>
<option value="follower">Follower</option>
</select></label>
</p>
<p>
<label>Message: <textarea name="message"></textarea></label>
</p>
<p>
<button type="submit">Send</button>
</p>
</form>
-->
</body>
</html>