-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
91 lines (88 loc) · 2.77 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link href='http://fonts.googleapis.com/css?family=Titillium+Web:600,400' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script type="text/javascript" src="jsmain.js"></script>
<style>
.center{
text-align: center;
}
.center form{
display:inline-block;
}
#output{
display: :inline-block;
text-align: center;
margin-top: 30px;
border-radius: 25px;
border: 1px solid #dadada;
padding: 10px;
}
.blah{
margin-bottom: 50px;
text-align: center;
}
</style>
</head>
<body>
<div class="container">
<div class="col-md-6 col-md-offset-3 blah">
<h1> Debate Break-Score Calculator</h1>
</div>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<form style="height:100%; vertical-align: middle" class="center">
<div class="form-group">
<div class="form-group">
<b>Number of teams</b>
<input type="number" class="form-control" id="teams" value = "64" placeholder="">
</div>
<div class="form-group">
<b>Number of breaking teams</b>
<input type="number" class="form-control" id="break" value = "16" placeholder="">
</div>
<div class="form-group">
<b>Number of rounds</b>
<input type="number" class="form-control"id="rounds" value = "6" placeholder="">
</div>
</div>
<div class="col-md-6">
<button type="button" class="btn btn-default center-block submit-btn" data-format="ap">Asian Parliamentary</button>
</div>
<div class="col-md-6">
<button type="button" class="btn btn-default center-block submit-btn" data-format="bp">British Parliamentary</button>
</div>
</form>
</div>
</div>
<div class="row">
<div class="col-md-6 col-md-offset-3 output" id="output">
<h4>Breaking teams composition for the two extreme cases:</h4>
<div class="row">
<div class="col-md-6">
<h5>All Pull-ups Lose</h5>
</div>
<div class="col-md-6">
<h5>All Pull-ups Win</h5>
</div>
</div>
<div class="col-md-6">
<ul id="pulluplose">
</ul>
</div>
<div class="col-md-6">
<ul id="pullupwin">
</ul>
</div>
</div>
</div>
</div>
</body>
</html>