generated from COMP1800Hoda/Demo10Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.html
87 lines (74 loc) · 3.74 KB
/
profile.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>My BCIT Project</title>
<meta name="comp1800 template" content="My 1800 App">
<!------------------------>
<!-- Required meta tags -->
<!------------------------>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!------------------------------------------>
<!-- Bootstrap Library CSS JS CDN go here -->
<!------------------------------------------>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous">
</script>
<!-------------------------------------------------------->
<!-- Firebase 8 Library related CSS, JS, JQuery go here -->
<!-------------------------------------------------------->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/ui/4.8.1/firebase-ui-auth.js"></script>
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.8.1/firebase-ui-auth.css" />
<!-------------------------------------------->
<!-- Other libraries and styles of your own -->
<!-------------------------------------------->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="./styles/style.css">
</head>
<body>
<!------------------------------>
<!-- Your HTML Layout go here -->
<!------------------------------>
<!-- our own navbar goes here -->
<nav id="navbarPlaceholder"></nav>
<!-- the body of your page goes here -->
<div class="container">
<h1>User Profile </h1>
<form>
<fieldset class="mb-3" id="personalInfoFields" disabled>
<div class="form-group">
<label>Name</label>
<input type="text" id="nameInput" class="form-control" placeholder="Enter your name">
</div>
<div class="form-group">
<label>School</label>
<input type="text" id="schoolInput" class="form-control" placeholder="Enter your school">
</div>
<div class="form-group">
<label>City</label>
<input type="text" id="cityInput" class="form-control" placeholder="Enter your city">
</div>
</fieldset>
<div class="d-flex justify-content-end mt-5">
<button type="button" class="btn btn-secondary" onclick="editUserInfo()">Edit</button>
<span style="width: 10px"></span>
<button type="button" class="btn btn-info" onclick="saveUserInfo()">Save</button>
</div>
</form>
</div>
<!-- our own footer goes here-->
<nav id="footerPlaceholder"></nav>
<!---------------------------------------------->
<!-- Your own JavaScript functions go here -->
<!---------------------------------------------->
<script src="./scripts/firebaseAPI_TEAM99.js"></script>
<script src="./scripts/skeleton.js"></script>
<script src="./scripts/profile.js"></script>
</body>
</html>