-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.html
126 lines (102 loc) · 4.76 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
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
<!DOCTYPE html>
<html>
<head>
<title>Film Finder</title>
<!-- firebase CDN -->
<script src="https://www.gstatic.com/firebasejs/4.7.0/firebase.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/moment.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="assets/style.css">
</head>
<body>
<div class="profile-body-wrapper">
<nav class="navbar navbar-default">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">Home</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="maps.html">Map<span class="sr-only">(current)</span></a></li>
<li><a href="profile.html">Profile</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li id="welcome">Welcome to Film Finder! To save movies, please sign up or log in!</li>
<li id="login-btn"><a data-toggle="modal" data-target="#loginModal"><span id="login-link" class="glyphicon glyphicon-menu-hamburger"></span> Log In</a></li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<div id="minimum-height" class="row">
<div class="col-lg-offset-2 col-sm-12 col-md-8 col-lg-8">
<!-- Profile and Favorites tab -->
<div class="panel with-nav-tabs panel-default">
<div class="panel-heading" id="profile-panel-header">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab1default" data-toggle="tab">Favorites</a></li>
<li><a href="#tab2default" data-toggle="tab">Friends</a></li>
</ul>
</div>
<!-- Results that panels display -->
<div class="panel-body" id="profile-panel">
<div class="tab-content">
<div class="tab-pane fade in active" id="tab1default"><h1>Oh man!</h1> <h3>You don't have any favorites, you can head back to the home page to get started.</h3></div>
<div class="tab-pane fade" id="tab2default"></div>
</div>
</div>
</div>
</div>
</div>
<div id="results"></div>
<div class="row">
<!-- Modal code -->
<div class="container">
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Log In</h4>
</div>
<div class="modal-body">
<form role="form">
<div class="form-group">
<label for="usrname"><span class="glyphicon glyphicon-user"></span> Username</label>
<input type="text" class="form-control" id="usrname" placeholder="Enter email">
</div>
<div class="form-group">
<label for="psw"><span class="glyphicon glyphicon-eye-open"></span> Password</label>
<input type="text" class="form-control" id="psw" placeholder="Enter password">
</div>
<button type="submit" class="btn btn-default btn-success btn-block"><span class="glyphicon glyphicon-off"></span> Login</button>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- local javascript files -->
<script type="text/javascript" src="assets/logic.js"></script>
<!-- <script type="text/javascript" src="assets/map-logic.js"></script> -->
<script type="text/javascript" src="assets/firebase-logic.js"></script>
<script type="text/javascript" src="assets/profile-logic.js"></script>
</body>
</html>
<!-- end