-
Notifications
You must be signed in to change notification settings - Fork 19
/
voting.html
142 lines (135 loc) · 2.99 KB
/
voting.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
---
layout: master
title: Voting
script_srcs: ['/js/jquery-ui.min.js', '/js/hogan.min.js', '/js/sprintf.min.js', '/js/voting.js']
---
<style type="text/css">
.userlist {
border-collapse: separate;
border-spacing: 2px;
}
td.center {
text-align: center;
}
.handle {
cursor: move;
}
#overlay {
width: 60%;
min-height: 80%;
margin-left: -30%;
}
#overlay .modal-body {
position: absolute;
top: 48px;
right: 0;
bottom: 0;
left: 0;
padding: 0;
max-height: none;
}
#overlay .modal-body textarea {
border: 0;
margin: 0;
padding: 0;
font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
font-size: 13px;
overflow-x: hidden;
width: 100%;
height: 100%;
}
</style>
<input type="button" class="btn" id="rawballot" value="Get Raw Ballot" />
<h3>Section 1: Staff Rankings</h3>
<table id="members" class="userlist">
<thead>
<tr>
<th class="index">Rank</th>
<th></th>
<th style="width: 200px;">Name</th>
<th style="width: 100px;">Nick</th>
<th>Sponsor</th>
<th>Ombudsman</th>
<th>Remove</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h3>Section 2: Sponsors</h3>
<table id="sponsors" class="userlist">
<thead>
<tr>
<th style="width: 200px;">Name</th>
<th style="width: 100px;">Nick</th>
<th>Sponsor</th>
<th>Remove</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h3>Section 3: Advisors</h3>
<table id="advisors" class="userlist">
<thead>
<tr>
<th>Yes/No</th>
<th>Advisor</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<select id="advisor0" name="advisor0" class="input-small">
<option>Yes</option>
<option>No</option>
</select>
</td>
<td>
<span class="help-inline">David Graham (cdlu)</span>
</td>
</tr>
<tr>
<td>
<select id="advisor1" name="advisor1" class="input-small">
<option>Yes</option>
<option>No</option>
</select>
</td>
<td>
<span class="help-inline">Timothy J. Fontaine (tjfontaine)</span>
</td>
</tr>
</tbody>
</table>
<h3>Section 4: Yes/No Questions</h3>
<table id="questions" class="userlist">
<thead>
<tr>
<th>Yes/No</th>
<th>Issue</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<select id="question0" name="question" class="input-small">
<option>Yes</option>
<option>No</option>
</select>
</td>
<td>
Should OFTC remain a member project of Software in the Public Interest?
</td>
</tr>
</tbody>
</table>
<input type="button" class="btn" id="submit" value="Process" />
<div id="overlay" class="modal hide fade" aria-labelledby="myModalLabel">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
<h3 id="myModalLabel">Your Ballot</h3>
</div>
<div id="overlay-content" class="modal-body">
</div>
</div>