-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvote1.html
More file actions
116 lines (110 loc) · 3.21 KB
/
vote1.html
File metadata and controls
116 lines (110 loc) · 3.21 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Blockchain Voting</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css' rel='stylesheet' type='text/css'>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0; maximum-scale=1.0; minimum-scale=1.0; user-scalable=no;" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<style tyle="text/css">
html,
body {
margin: 0;
padding: 0;
height: 100%;
}
#wrapper {
position: relative;
min-height: 100%;
}
#roomName {
line-height: 70px;
font-size: 25px;
height: 70px;
background: #ccc;
text-align: center;
vertical-align: middle;
}
#container {
padding: 20px;
}
#footer {
position: absolute;
bottom: 0;
width: 100%;
height: 70px;
background: #ccc;
}
</style>
</head>
<input type = "hidden" id = "voteIndex">
<script>
$("#voteIndex").val(nowpage);
</script>
<body>
<div id="wrapper">
<div id="roomName">[Title]</div>
<div id="container">
<a>남은 투표 수 : </a><a id = "left"></a>
<br><br>
<table class="table table-bordered" id = "candiList">
<thead>
<tr>
<th>후보자</th>
<th>후보 선택</th>
<th>투표 수</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div>
<center>
<button type="button" id="candidate" value ="" class="btn btn-primary">투표</button>
<br><br>
<!--
<input type = "text" id="voteNum">
<button type="button" id="voteMove" value ="" class="btn btn-primary">투표이동</button>
-->
<script>
$('#candidate').click(function () {
// getter
App.voteForCandidate();
});
/*
$('#voteMove').click(function(){
//alert("fdsfadf");
var temp = $("#voteNum").val();
$("#voteIndex").val(temp);
App.loadRoomData();
App.loadCandidatesAndVotes();
});
*/
</script>
</center>
</div>
</div>
<div id="footer">
<br>
<center>
<table id="downtable">
<td class="downbar"><input type="button" value="홈 화면" onclick="location.href='index.html'"></td>
<td class="downbar"><input type="button" value="투표 리스트" onclick="location.href='vote_list.html'"></td>
<td class="downbar"><input type="button" value="새 투표" onclick="location.href='newvote.html'"></td>
</table>
</center>
</div>
<script src="js/jquery.min.js"></script>
<script src="index.js"></script>
<script src="js/jquery.scrolly.min.js"></script>
<script src="js/jquery.scrollex.min.js"></script>
<script src="js/browser.min.js"></script>
<script src="js/breakpoints.min.js"></script>
<script src="js/util.js"></script>
<script src="js/main.js"></script>
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
</body>
</html>