forked from oftc/oftc-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
voting.html
115 lines (108 loc) · 2.46 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
---
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>
<select id="advisor0" name="advisor" class="input-small">
<option>Yes</option>
<option>No</option>
</select>
<span class="help-inline">David Graham (cdlu)</span>
<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>