-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvotingLocked.html
147 lines (138 loc) · 4.06 KB
/
votingLocked.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
143
144
145
146
147
<html>
<head>
<title>Vote</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
</head>
<body>
<div class="col-xs-12">
<h1>Vote</h1>
<a href=/totalVotes.html><h2>Click here to see who won!</h2></a>
</div>
<div class="col-xs-4">
<div style="height:100px" class="outer">
<div class="col-xs-2">
</div>
<div class="col-xs-3" style="height:100px">
<div class="inner" id="vimgraph" style="background-color:green;">
</div>
</div>
<div class="col-xs-2">
</div>
<div class="col-xs-3" style="height:100px">
<div class="inner" id="emacsgraph" style="background-color:blue;">
</div>
</div>
<div class="col-xs-2">
</div>
</div>
<div class="col-xs-12">
</div>
<div class="col-xs-12">
<div class="col-xs-6">
<h3 id="vimusers"></h3><br/><br/>
<img src="img/vim.png" width="70px"><br/><br/>
<input id="vimbutton" type="button" value="I like Vim">
</div>
<div class="col-xs-6">
<h3 id="emacsusers"></h3><br/><br/>
<img src="img/emacs.png" width="70px"><br/><br/>
<input id="emacsbutton" type="button" value="I like Emacs">
</div>
</div>
<br>
</div>
<div class="col-xs-4">
<div class="outer" style="height:100px">
<div class="col-xs-2">
</div>
<div class="col-xs-2" style="height:100px">
<div class="inner" id="windowsgraph" style="background-color: #2672EC;">
</div>
</div>
<div class="col-xs-1">
</div>
<div class="col-xs-2" style="height:100px">
<div class="inner" id="macgraph" style="background-color:#C0C0C0;">
</div>
</div>
<div class="col-xs-1">
</div>
<div class="col-xs-2" style="height:100px">
<div class="inner" id="linuxgraph" style="background-color: #dd5814;">
</div>
</div>
<div class="col-xs-2">
</div>
</div>
<div class="col-xs-12">
</div>
<div class="col-xs-12">
<div class="col-xs-4">
<h3 id="windowsusers"></h3><br/><br/>
<img src="img/windows.png" width="70px"><br/><br/>
<input id="windowsbutton" type="button" value="I like Windows">
</div>
<div class="col-xs-4">
<h3 id="macusers"></h3><br/><br/>
<img src="img/apple.png" width="70px"><br/><br/>
<input id="macbutton" type="button" value="I like Mac">
</div>
<div class="col-xs-4">
<h3 id="linuxusers"></h3><br/><br/>
<img src="img/linux.jpeg" width="70px"><br/><br/>
<input id="linuxbutton" type="button" value="I like Linux">
</div>
<div class="col-xs-2">
</div>
</div>
<br>
</div>
<div class="col-xs-4">
<div class="outer" style="height:100px">
<div class="col-xs-2">
</div>
<div class="col-xs-3" style="height:100px">
<div class="inner" id="beforegraph" style="background-color:red;">
</div>
</div>
<div class="col-xs-2">
</div>
<div class="col-xs-3" style="height:100px">
<div class="inner" id="aftergraph" style="background-color:yellow;">
</div>
</div>
<div class="col-xs-2">
</div>
</div>
<br>
<div class="col-xs-6">
<h3 id="beforeusers"></h3>
<pre><span class="k">while</span> (x == y) {
something();
somethingelse();
}
</pre>
<input id="beforebutton" type="button" value="I like the first">
</div>
<div class="col-xs-6">
<h3 id="afterusers"></h3>
<pre><span class="k">while</span> (x == y)
{
something();
somethingelse();
}</pre>
<input id="afterbutton" type="button" value="I like the second">
</div>
</div>
<footer class="footer">
<div class="container">
<p id="reportPageLoads">
</p>
</div>
</footer>
</body>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="js/votingLocked.js"></script>
</html>