-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
138 lines (117 loc) · 6.92 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Finals Calculator</title>
<link rel="shortcut icon" href="images/favicon.ico">
<link href='https://fonts.googleapis.com/css?family=Rubik:400,700italic' rel='stylesheet' type='text/css'>
<!--This overpowered the background color set in the html-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<meta name="viewport" content="initial-scale=1">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/responsive.css">
<link rel="stylesheet" href="css/extra.css">
<link rel="apple-touch-icon" href="images/ios/AppIcon.appiconset/Icon-60@2x.png" />
<link rel="apple-touch-icon" sizes="180x180" href="images/ios/AppIcon.appiconset/Icon-60@3x.png" />
<link rel="apple-touch-icon" sizes="76x76" href="images/ios/AppIcon.appiconset/Icon-76.png" />
<link rel="apple-touch-icon" sizes="152x152" href="images/ios/AppIcon.appiconset/Icon-76@2x.png" />
<link rel="apple-touch-icon" sizes="58x58" href="images/ios/AppIcon.appiconset/Icon-Small@2x.png" />
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-67862949-2', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<!--Google Font - Work Sans-->
<link href='https://fonts.googleapis.com/css?family=Work+Sans:400,300,700' rel='stylesheet' type='text/css'>
<div id='container'>
<h1>Finals Calculator</h1>
<button id='aboutButton' class='moreButton' style='margin-top: 0;'><u><span>About</span></u></button>
<div id='header' style='display: none;'>
<h3 style='margin-top: 5px;'>Developed by: Alex Atwater - V. 1.0</h3>
<table id='aboutTable' style="width:100%" border=1>
<tr class='tableHeader'>
<th>Twitter</th>
<th>LinkedIn</th>
<th>Email</th>
<th>Website</th>
</tr>
<tr>
<td><a id='twitterClick' href='http://twitter.com/akath20' target="_blank">@akath20</a></td>
<td><a id='linkedinClick' href='http://linkedin.com/in/akath20' target="_blank">akath20</a></td>
<td style='word-wrap: break-word;'><a id='emailClick' href='mailto:akath20developer@gmail.com' target="_blank" title='akath20developer@gmail.com'>akath20developer@gmail.com</a></td>
<td style='word-wrap: break-word;'><a id='websiteClick' href='http://alexatwater.com' target="_blank">Alexatwater.com</a></td>
</tr>
</table>
</br>
<a href='https://itunes.apple.com/us/app/finals-calculator/id823997874?ls=1&mt=8' target='_blank'>Download iOS App</a>
</div>
<div id='dataScreen'>
<div id='currentAverageDiv'>
<h2>What is your current average?</h2><input pattern="\d+(\.\d*)?" id='currentAverage' class='text-line' type="number" placeholder='%'><p class='percentSym' data-toggle="tooltip" title='' data-placement="right">%</p>
</div>
<div id='finalWorthdiv'>
<h2>What is the final worth?</h2><input pattern="\d+(\.\d*)?" class='text-line' id='finalWeight' type="number" placeholder='%'><p class='percentSym' data-toggle="tooltip" title='' data-placement="right">%</p>
</div>
<div id='roundupDiv'>
<h2>Does the teacher round up?</h2>
<div class="switch">
<input type="radio" class="switch-input" name="view" value="week" id="week" checked>
<label for="week" class="switch-label switch-label-off" id='yesButton'>Yes</label>
<input type="radio" class="switch-input" name="view" value="month" id="month">
<label for="month" class="switch-label switch-label-on" id='noButton'>No</label>
<span class="switch-selection"></span>
</div>
</div>
<div id='goDiv'>
<button class='btn' id='goButton'>Go</button>
</div>
</div>
<div id='resultsScreen' style='display: none;'>
<div class='header'>
<img id='resultsBackArrow' class='backArrow' src="images/arrow_back.png" style='margin-top: 4px;'>
<h2><u>Breakdown</u></h2>
</div>
<div id='resultsInfo' style='margin-top: 20px;'>
<table id='resultsTable' style="width:100%" border=1>
<tr>
<th>Grade</th>
<th>Minimum Grade on Final</th>
</tr>
<tr>
<td>A</td>
<td>90%</td>
</tr>
<tr>
<td>A-</td>
<td>60%</td>
</tr>
</table>
</div>
<button id='showGradeScale' class='moreButton'><u><span id='gradeScaleButtonText'>Show Grade Scale</span></u></button>
<div id='gradeScaleView' style="display: none;">
<div id='changeScaleView'>
<button class='incrementButton' id='minusButton' style='padding-left: 12px; padding-right: 12px;'>-</button>
<p style='margin: auto; width: 50px;' id='incrementText'>0.0</p>
<button class='incrementButton' id='plusButton'>+</button>
</div>
<div id='gradeScaleTableDiv'>
<table border='1' id='gradeScaleTable' style='width: 100%;'>
<tr>
<td>Letter</td>
<td>%</td>
</tr>
</table>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="js/data.js"></script>
<script src="js/main.js"></script>
</body>
</html>