-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainpage-loggedin.html
227 lines (209 loc) · 12.8 KB
/
mainpage-loggedin.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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!DOCTYPE html>
<html>
<head>
<title>Spawts</title>
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Droid+Sans" rel="stylesheet">
<!-- Scripts -->
<script src="js/jquery.popupoverlay.js"></script>
<script src="js/mainpage.js"></script>
<script src="js/jquery.parallax.js"></script>
<script src="js/smoothscroll.js"></script>
<!-- Styles -->
<link rel="stylesheet" href="css/mainpage.css">
<link rel="stylesheet" href="css/navbar-style.css">
</head>
<body class="bg">
<nav class="navbar navbar-default" style="padding-top: 10px; padding-bottom: 5px">
<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-left" href="[email protected]">
<img src="images/SpawtsLogo_inverse.png" alt="" style="width: 64px; height: auto; padding-left: 20px;">
<span><img src="images/SPAWTS.png" alt="" style="width: 128px; height: auto;"></span>
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" id="button-listings" class="dropdown-toggle btn btn-basic" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
<span class="listingTab" aria-hidden="true">Listings</span></a>
<ul class="dropdown-menu">
<li><a href="create-listing.html">Creating listing</a></li>
<li><a href="listings.html">View Listing</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" id="button-comment" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-comment" aria-hidden="true"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Chat 1</a></li>
<li><a href="#">Chat 2</a></li>
<li><a href="#">Chat 3</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" id="button-bell" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-bell" aria-hidden="true"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Notif 1</a></li>
<li><a href="#">Notif 2</a></li>
<li><a href="#">Notif 3</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" id="button-user" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-user" aria-hidden="true"></span></a>
<ul class="dropdown-menu">
<li><a href="owner-profile.html">My Profile</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Pet 1</a></li>
<li><a href="#">Pet 2</a></li>
<li><a href="#">Pet 3</a></li>
<li role="separator" class="divider"></li>
<li><a href="mainpage-loggedout.html">Log Out</a></li>
</ul>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<section id="home" class="main-home parallax-section">
<div class="container">
<div class="row" id="welcome_msg">
<div class="col-md-12 col-sm-12">
<h1>Good day to you!<br><span id="username-display"></span></h1>
<h4>Spawt. The one-stop shop for all pet owners and pet-sitters </h4>
<a href="#content" class="smoothScroll btn btn-default">Find Out More</a>
</div>
</div>
</div>
</section>
<section id="content">
<div class="row row1">
<div class='container'>
<h2 class="header">Recent News</h2>
<div class="row row3">
<div class="col-md-6 side-pic">
<div class="container-fluid">
<img src="images/Pepper.jpeg" class="img-responsive img-rounded limitHeight">
</div>
</div>
<div class="col-md-6">
<h2>Pepper is not Feeling Well</h2>
<br>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<button class="btn btn-default">Read More</button>
</div>
</div>
</div>
</div>
<div class="row row2">
<div class='container'>
<h2 class="header">Featured Pet</h2>
<div class="row row4">
<div class="col-md-6 side-pic">
<div class="container-fluid">
<img src="images/Leonard.jpg" class="img-responsive img-rounded limitHeight">
</div>
</div>
<div class="col-md-6">
<h2>Leonard, the Prancing Parrot </h2>
<br>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<button class="btn btn-default">Read More</button>
</div>
</div>
</div>
</div>
<div class="row row1">
<div class='container'>
<h2 class="header">Top Pet-sitters This Month</h2>
<div class="row row3">
<h4>Give a paw to these awesome pet-sitters</h4>
<div class="col-md-4 rank">
<div class="rank-img" style="background-image: url('../images/gold-laurel-wreath.jpg');">
<a href="owner-profile.html"><img src="img/profile-pic1.png" alt="" class="img-responsive ownerPicStyle ownerProfile"></a>
</div>
<h3>Clara Alfonso</h3>
<h4>Rank Stars: 31</h4>
</div>
<div class="col-md-4 rank">
<div class="rank-img" style="background-image: url('../images/silver-laurel-wreath.jpg');">
<a href="owner-profile.html"><img src="img/alex-strov.jpg" alt="" class="img-responsive ownerPicStyle ownerProfile"></a>
</div>
<h3>Alexandria Strovanov</h3>
<h4>Rank Stars: 18</h4>
</div>
<div class="col-md-4 rank">
<div class="rank-img" style="background-image: url('../images/bronze-laurel-wreath.jpg');">
<a href="owner-profile.html"><img src="img/male-smile.jpg" alt="" class="img-responsive ownerProfile"></a>
</div>
<h3>Thomas Engine</h3>
<h4>Rank Stars: 14</h4>
</div>
</div>
</div>
</div>
</section>
<a href="#back-top" class="go-top"><span class="glyphicon glyphicon-chevron-up"></span></a>
<!------------------------ New Registration Pop Up --------------------------->
<div id="openNewUser" class="openNewUser-popup">
<h1>Welcome <span id="username-prompt"></span>! You have just registered as a new Spawt-er.</h1>
<div class='col-md-6'>
<h4>Click on the 'Profile' button here or in the top-right corner of the navigation bar to create your profile</h4>
<a class="btn btn-default" href="create-profile.html">Create Profile</a>
</div>
<div class='col-md-6 formbox-right'>
<h4>Click on the 'Listings' button here or in the navigation bar to View listings<br><br></h4>
<a class="btn btn-default" href="listings.html">View listing</a>
</div>
</div>
</body>
<footer>
<div class="container">
<div class="row">
<div class="col-md-5 col-md-offset-1 col-sm-6">
<h3>Spawts</h3>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</p>
<div class="footer-copyright">
<p>Copyright © 2017 CS3240 - Interaction Design</p>
</div>
</div>
<div class="col-md-4 col-md-offset-1 col-sm-6">
<h3>Talk to us</h3>
<p><i class="fa fa-globe"></i> 3E Temasek Blvd Suntec City Tower 5 #32-40 Singapore 039450</p>
<p><i class="fa fa-phone"></i> +65 90210111</p>
<p><i class="fa fa-save"></i> [email protected]</p>
</div>
<div class="clearfix col-md-12 col-sm-12">
<hr>
</div>
<div class="col-md-12 col-sm-12">
<ul class="social-icon">
<li><a href="#" class="glyphicon glyphicon-heart"></a></li>
<li><a href="#" class="glyphicon glyphicon-gift"></a></li>
<li><a href="#" class="glyphicon glyphicon-earphone"></a></li>
<li><a href="#" class="glyphicon glyphicon-tree-deciduous"></a></li>
<li><a href="#" class="glyphicon glyphicon-pushpin"></a></li>
</ul>
</div>
</div>
</div>
</footer>
</html>