-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.html
115 lines (108 loc) · 5.52 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0", shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<title> Settings </title>
<link rel="apple-touch-icon" sizes="128x128" href="res/graphics/icon192.png">
<link rel="icon" sizes="192x192" href="res/graphics/icon128.png">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<link href="https://fonts.googleapis.com/css?family=Material+Icons+Outlined" rel="stylesheet">
<link rel="stylesheet" href="css/mdb.min.css">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/myapp.css">
<link id="themeSheet" rel="stylesheet" href="">
<script type = "text/javascript">function loadStyle(){ if (localStorage.getItem("theme") !== null) document.getElementById("themeSheet").href = localStorage.getItem("theme") } window.onload = loadStyle();</script>
</head>
<body>
<header class="sub-menu__header">
<div class="horizontal__container">
<a href="index.html"><span class="grey__color material-icons-outlined">arrow_back</span></a>
<h1 class="small-title__text"> Settings </h1>
</div>
</header>
<main id="settings-main">
<div id="profile-pic-selection" class="box vertical__container">
<p class="small__text grey__color"> Profile </p>
<div class="vertical__container">
<img id="profile-pic" class="profile-picture__image" src="res/graphics/default-profile.png" alt="Profile picture">
</div>
<hr>
<div>
<h1 class="small-title__text"> Profile image </h1>
<select class="grey__color change-button" id="dropdownMenuButton" data-mdb-toggle="dropdown">
<option value="grey"> Grey </option>
<option value="green"> Green </option>
<option value="blue"> Blue </option>
<option value="orange"> Orange </option>
<option value="purple"> Purple </option>
<option value="red"> Red </option>
</select>
</div>
<hr>
<div>
<h1 class="small-title__text"> Name </h1>
<div class="signup-input__container">
<input id="profile__first-name" class="signup-input" type="text" value="Your Name" required>
<label for="profile__first-name"> Full name </label>
</div>
<div class="horizontal__container">
<button id="settings-name-button" class="horizontal__container button small__button next__button">Save <span class="material-icons-outlined">done</span></button>
</div>
</div>
</div>
<div id="profile-pic-selection" class="box vertical__container">
<p class="small__text grey__color"> Theme </p>
<div class="horizontal__container">
<div>
<h1 class="small-title__text"> Theme </h1>
<p id="theme-Text" class="grey__color"></p>
</div>
<div class="form-check form-switch">
<input id="theme-btn" class="form-check-input" type="checkbox" />
</div>
</div>
</div>
<div id="profile-pic-selection" class="box vertical__container">
<p class="small__text grey__color"> Location </p>
<div class="horizontal__container">
<div>
<h1 class="small-title__text"> Local statistics </h1>
<p id="localstats-setting-text" class="grey__color"></p>
</div>
<div class="form-check form-switch">
<input id="localstats-setting-btn" class="form-check-input" type="checkbox" />
</div>
</div>
<hr id = "localSettingLine">
<div class="horizontal__container" id ="active-location">
<div>
<h1 class="small-title__text"> City </h1>
<p id="locationText" class="grey__color">Glasgow City, Scotland</p>
</div>
<span class="accent__color material-icons-outlined" id = "refreshLocation">refresh</span>
</div>
</div>
<div id="profile-pic-selection" class="box vertical__container">
<p class="small__text grey__color"> Notifications </p>
<div class="horizontal__container">
<div>
<h1 class="small-title__text"> Weekly symptom check </h1>
<p id="weeklysymptomscheck-settings-text" class="grey__color"></p>
</div>
<div class="form-check form-switch">
<input id="weeklysymptomscheck-settings-btn" class="form-check-input" type="checkbox" />
</div>
</div>
</div>
</main>
<script src="model.js"></script>
<script src="view.js"></script>
<script src="controller.js"></script>
<script src="src/loadAnimation.js"></script>
</body>
</html>