-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOWStatTraker.php
152 lines (102 loc) · 2.86 KB
/
OWStatTraker.php
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
<html>
<head>
<meta charset="utf-8">
<title>OW Character Stats</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> <!-- load bootstrap via CDN -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/jquery-ui.min.js"></script>
<style>
/* div.background {
background-color: #333;
border: 2px solid black;
opacity: 0.6;
}*/
body {
margin: 0 15%;
font-family: Futura, Helvetica, Roboto, Arial, sans-serif;
background-color: #ececec;}
h1 {
text-align: center;
vertical-align: middle;
text-transform: uppercase;
border: 3px solid #ff9c00;
background-color: #ff9c00;
border-color: #FFFFFF;
color: #333;
font-family: Futura, Helvetica, Roboto, Arial, sans-serif;
}
h2 {
text-align: center;
border: 3px solid;
color: #ff9c00;
border-color: #000000;
background-color: #FFFFFF;
font-family: Futura, Helvetica, Roboto, Arial, sans-serif;
}
table {
margin: 10px;
overflow-x:auto;
}
table, th, td, tr {
vertical-align: center;
border: 1px solid black;
color: #333;
font-family: Futura, Helvetica, Roboto, Arial, sans-serif;
padding: 10px;
border-spacing: 0px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
tr:hover {background-color: #f5f5f5}
/* Create Scrolling table */
tbody, thead tr { display: block; }
tbody {
height: 500px;
overflow-y: auto;
}
</style>
</head>
<div id="titleBar"></div>
<h1>OW Stat Traker</h1>
<br>
<section id = "UserInputBar" align="center">
<form id="stat_submission_form" action=" " method="post">
<div class="input">
<input type="text" name="Character" placeholder="Character">
<input type="text" name="Rating" placeholder="2100">
<input list="Map" name="Map" placeholder="Hanamura">
<datalist id="Map">
<option value="Hanamura">
<option value="Temple of Anubis">
<option value="Dorado">
<option value="Route 66">
<option value="Watchpoint: Gibraltar">
<option value="Hollywood">
<option value="King's Row">
<option value="Numbani">
<option value="Eichenwalde">
<option value="Ilios">
<option value="Lijiang Tower">
<option value="Nepal">
<option value="Oasis">
</datalist>
<input type="submit" name="SubmitButton" >
</div>
</form>
</section>
<div id = "TableTitleBar">
<h2> Stats </h2>
</div>
<?php include 'dataGatheringFunctions.php'; ?>
<script>
$( "th" ).resizable();
</script>
<script>
$(document).ready(function(){
$("#TableTitleBar").click(function(){
$("#cellTest").slideToggle("fast");
});
});
</script>
<html>