forked from xiaofang168/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
183 lines (178 loc) · 6.37 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/bootstrap.css"/>
<link rel="stylesheet" type="text/css" href="css/sticky-footer.css"/>
<link rel="stylesheet" type="text/css" href="css/navbar.css"/>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<title>bootstrap test</title>
</head>
<body>
<div id="wrap">
<nav class="navbar navbar-default" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<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="#">Home</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Diamonds</a></li>
<li><a href="#">Engagement Rings</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Wedding<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li><a href="#">Separated link</a></li>
<li class="divider"></li>
<li><a href="#">One more separated link</a></li>
</ul>
</li>
</ul>
<form class="navbar-form navbar-left" role="search">
<div class="form-group">
<input type="text" class="form-control" placeholder="Search">
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
<ul class="nav navbar-nav navbar-right">
<li><a data-toggle="modal" href="#login" data-target="#login">Login</a></li>
<li><a data-toggle="modal" href="#register" data-target="#register">Register</a></li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="row">
<div class="col-xs-6 col-md-3">
<a class="thumbnail" href="detail.html">
<img alt="" src="http://wbpreview.com/previews/WB0BMF1K5/img/product2.jpg" class="img-responsive">
</a>
<div class="panel-title text-center">
<a href="single-item.html">HTC One V</a>
</div>
<div class="text-center">
<h1 class="badge">Price: $50.00</h1>
</div>
</div>
<div class="col-xs-6 col-md-3">
<a class="thumbnail" href="detail.html">
<img alt="" src="http://wbpreview.com/previews/WB0BMF1K5/img/product2.jpg" class="img-responsive">
</a>
<div class="panel-title text-center">
<a href="detail.html">HTC One V</a>
</div>
<div class="text-center">
<h1 class="badge">Price: $50.00</h1>
</div>
</div>
<div class="col-xs-6 col-md-3">
<a class="thumbnail" href="detail.html">
<img alt="" src="http://wbpreview.com/previews/WB0BMF1K5/img/product2.jpg" class="img-responsive">
</a>
<div class="panel-title text-center">
<a href="single-item.html">HTC One V</a>
</div>
<div class="text-center">
<h1 class="badge">Price: $50.00</h1>
</div>
</div>
<div class="col-xs-6 col-md-3">
<a class="thumbnail" href="detail.html">
<img alt="" src="http://wbpreview.com/previews/WB0BMF1K5/img/product2.jpg" class="img-responsive">
</a>
<div class="panel-title text-center">
<a href="single-item.html">HTC One V</a>
</div>
<div class="text-center">
<h1 class="badge">Price: $50.00</h1>
</div>
</div>
</div>
</div>
</div>
<div id="footer">
<div class="container">
<p class="text-muted credit" align="center">©Copyright 2013 Bootply | All rights reserved. </p>
</div>
</div>
<div class="modal" id="login">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4>Sign in</h4>
</div>
<div class="modal-body">
<form class="form-horizontal" role="form" action='/user/login' method="post" name="loginForm">
<div class="form-group">
<label for="email" class="col-xs-4 control-label">Email</label>
<div class="col-xs-6">
<input type="text" class="form-control" name="email" id="email" placeholder="Email" value="">
</div>
</div>
<div class="form-group">
<label for="password" class="col-xs-4 control-label">Password</label>
<div class="col-xs-6">
<input type="password" class="form-control" name="password" id="password" placeholder="Password" value="">
</div>
</div>
<div class="form-group">
<div class="col-xs-offset-4 col-xs-10">
<button type="submit" class="btn btn-primary">Login</button>
</div>
</div>
</form>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div class="modal" id="register">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4>Create Account</h4>
</div>
<div class="modal-body">
<form class="form-horizontal" role="form" action='/user/register' method="post" name="registerForm">
<div class="form-group">
<label for="userName" class="col-xs-4 control-label">Username</label>
<div class="col-xs-6">
<input type="text" class="form-control" name="userName" id="userName" placeholder="Username" value="">
</div>
</div>
<div class="form-group">
<label for="password" class="col-xs-4 control-label">Password</label>
<div class="col-xs-6">
<input type="password" class="form-control" name="password" id="password" placeholder="Password" value="">
</div>
</div>
<div class="form-group">
<label for="password2" class="col-xs-4 control-label">Confirm Password</label>
<div class="col-xs-6">
<input type="password" class="form-control" name="password2" id="password2" placeholder="Confirm Password" value="">
</div>
</div>
<div class="form-group">
<div class="col-xs-offset-4 col-xs-10">
<button type="submit" class="btn btn-primary">Create Account</button>
</div>
</div>
</form>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</body>
</html>