/
settings.html
65 lines (61 loc) · 2.44 KB
/
settings.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
<!-- This was a educational project made for UIC CS 422
Authors: Cecilia Avila, Sidney Spurgeon, Latrell Thomas, Kaveesha Weerasiri, Adrian Zavala-->
<!DOCTYPE html>
<html>
<head>
<title>Chemistry: Settings</title>
<link rel="stylesheet" href="CSS/navbarLayout.css">
<link rel="stylesheet" href="CSS/settingsLayout.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
</head>
<script>
$(document).ready(function() {
readyModal();
});
function readyModal(){
$(document).on('click', '#helpButton', function(){
document.getElementById("helpModal").style.display = "block";
});
$(document).on('click', '.modalClose', function(){
document.getElementById("helpModal").style.display = "none";
});
window.onclick = function(event) {
var modal = document.getElementById("helpModal");
if (event.target == modal) {
modal.style.display = "none";
}
}
}
</script>
<body>
<!-- <h1 class = "chem-subPage"><b>Chemistry: Assistance</b></h1> -->
<!-- Got this from https://www.w3.org/wiki/Creating_multiple_pages_with_navigation_menus -->
<div class="cContainer">
<div class = "center">
<input type="button" id="helpButton" value="?">
<p id="chemistryTitle">Chemistry</p>
<p id="settingsLabel">Settings</p>
</div>
<div class="header">
<nav>
<ul>
<li><a href="index.html">Courses</a></li>
<li><a href="calendar.html">Calendar</a></li>
<li><a href="reminders.html">Reminders</a></li>
<li><a href="messages.html">Direct Messages</a></li>
<li><a href="assistance.html">Assistance</a></li>
<li><a class = "active" href="settings.html">Settings</a></li>
</ul>
</nav>
</div>
</div>
<!-- Modal content that should be placed in every html file with a help button -->
<div id="helpModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<h1 style="text-align: center;">Need Help?<span class="modalClose">X</span></h1>
<img src="images/helpinstructions.png"/>
</div>
</div>
</body>