-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserProfile.html
154 lines (128 loc) · 5.34 KB
/
userProfile.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/style3.css" />
</head>
<body>
<!-- Menu -->
<div class="topnav">
<img src="images/help_35x35_light.png">
<a href="index.html">Home</a>
<a href="#">About Us</a>
<a href="#">Contact</a>
<a href="requestService.html" id="reqServ"> Request service </a>
<div id="userProfile"><a href="userProfile.html">Profile</a></div>
<div style="padding-left:16px">
<button id="loginBtnMain" onclick="document.getElementById('id01').style.display='block'" style="width:auto;">Login</button>
<button id="signUpBtn" onclick="document.getElementById('id02').style.display='block'" style="width:auto;">Sign Up</button>
<button id="signOutBtn" style="width:auto;">Sign Out</button>
<!-- Sign in form -->
<div id="id01" class="modal">
<span onclick="document.getElementById('id01').style.display='none'" class="close" title="Close Modal">×</span>
<!-- <form class="modal-content animate"> -->
<div class="modal-content animate">
<div class="form_container">
<h1> Sign in </h1>
<p id="loginError"> </p>
<label><b>Email</b></label>
<input type="text" placeholder="Enter Email" name="email" id="loginEmail" required>
<label><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="psw" id="loginPassword" required>
<div class="clearfix">
<button type="button" onclick="document.getElementById('id01').style.display='none'" class="cancelbtn">Cancel</button>
<span class="psw">Forgot <a href="resetPassword.html">password?</a></span>
<button class="signupbtn" id="loginBtn">Sign In</button>
</div>
</div>
</div>
<!-- </form> -->
</div>
<!-- End Sign in form -->
<!-- Sign up form -->
<div id="id02" class="modal">
<span onclick="document.getElementById('id02').style.display='none'" class="close" title="Close Modal">×</span>
<!-- <form class="modal-content animate"> -->
<div class="modal-content animate">
<div class="form_container">
<h1> Sign up </h1>
<p id="loginError"> </p>
<label><b>Email</b></label> <br/>
<input type="text" placeholder="Enter Email" name="email" id="signUpEmail" required> <br/>
<label><b>Password</b></label> <br/>
<input type="password" placeholder="Enter Password" name="psw" id="signUpPassword" required> <br/>
<div class="clearfix">
<button type="button" onclick="document.getElementById('id02').style.display='none'" class="cancelbtn">Cancel</button>
<button id="registerBtn">Sign Up</button>
</div>
</div>
</div>
<!-- </form> -->
</div>
<!-- End Sign up form -->
</div>
</div>
<!-- End Menu -->
<div class="main_container">
<!-- User information disclosed -->
<table width="100%">
<tr>
<td colspan="2"><div class="title2">PROFILE</div></td>
<tr>
<tr>
<td colspan="2"><!--<img height="125" width="50" />--></td>
<tr>
<tr>
<td><div class="title1">Name</div></td>
</tr>
<tr>
<td><div class="desc" id="userName"></div>
<div class="desc"> </div>
<div class="desc" id="userLastname"></div></td>
</tr>
<tr>
<td><div class="title1">Phone</div></td>
</tr>
<tr>
<td><div id="userPhone"></div></td>
</tr>
<tr>
<td><div class="title1">Address</div></td>
</tr>
<tr>
<td><div class="desc" id="streetAddress"></div>
<div class="desc"> </div>
<div class="desc" id="cityAddress"></div>
<div class="desc"> </div>
<div class="desc" id="stateAdress"></div>
<div class="desc"> </div>
<div class="desc" id="cityAddress"></div>
<div class="desc"> </div>
<div class="desc" id="zipCode"></div>
</td>
</tr>
</table>
</div>
</body>
<!-- Firebase initialization -->
<script src="https://www.gstatic.com/firebasejs/4.7.0/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyCfHexNzqqcTaEOawoBU1x0qRTKspzcAlM",
authDomain: "yesreadydb.firebaseapp.com",
databaseURL: "https://yesreadydb.firebaseio.com",
projectId: "yesreadydb",
storageBucket: "yesreadydb.appspot.com",
messagingSenderId: "402368660468"
};
firebase.initializeApp(config);
console.log(firebase);
</script>
<!-- jQuery link -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- External JavaScript link -->
<script type="text/javascript" src="js/global.js"></script>
<script type="text/javascript" src="js/global2.js"></script>
<script type="text/javascript" src="js/global3.js"></script>
</html>