forked from xiaofang168/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdetail.html
251 lines (246 loc) · 8.6 KB
/
detail.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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<!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/navbar.css"/>
<link rel="stylesheet" type="text/css" href="css/sticky-footer.css"/>
<link rel="stylesheet" type="text/css" href="css/product.css"/>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<title>bootstrap test</title>
<script type="text/javascript">
$(document).ready(function(){
$('.img-thumbnail a').hover(function(e){
var big_src = $(this).attr('big');
$('#big_img').attr('src', big_src);
});
});
</script>
</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-12">
<div class="row product-detail">
<div class="col-xs-12">
<h2>Product name</h2>
</div>
</div>
<div class="row">
<div class= "col-xs-4">
<img id="big_img" alt="" src="http://wbpreview.com/previews/WB0BMF1K5/img/product2.jpg" class="img-responsive">
</div>
<div class="col-xs-1">
<div class="row">
<div class="img-thumbnail" onfocus="alert('')">
<a href="" big="http://wbpreview.com/previews/WB0BMF1K5/img/product2.jpg">
<img src="http://wbpreview.com/previews/WB0BMF1K5/img/product2.jpg" style="width:100%;" onclick="alert(this.src)"/>
</a>
</div>
</div>
<div class="row">
<div class="img-thumbnail">
<a href="" big="https://apps.bigbase.nl/templates/data/web/5001/img/product_01.jpg">
<img src="https://apps.bigbase.nl/templates/data/web/5001/img/product_01.jpg" style="width:100%;"/>
</a>
</div>
</div>
<div class="row">
<div class="img-thumbnail">
<a href="" big="https://apps.bigbase.nl/templates/data/web/5001/img/product_02.jpg">
<img src="https://apps.bigbase.nl/templates/data/web/5001/img/product_02.jpg" style="width:100%;"/>
</a>
</div>
</div>
<div class="row">
<div class="img-thumbnail">
<a href="" big="https://apps.bigbase.nl/templates/data/web/5001/img/product_02b.jpg">
<img src="https://apps.bigbase.nl/templates/data/web/5001/img/product_02b.jpg" style="width:100%;"/>
</a>
</div>
</div>
</div>
<div class= "col-xs-7">
<div class="col-xs-7">
<div class="row">
<div class="col-xs-7">
<strong>Brand:</strong>
<span>Squeezer</span>
<br/>
<strong>Model:</strong>
<span>Squeezer</span>
<br/>
<strong>Size:</strong>
<span>7</span>
<br/>
<strong>Color</strong>
<span>Yellow</span>
<br/>
<strong>Quality:</strong>
<span>new</span>
<br/>
</div>
<div class="col-xs-5">
<span class="label label-warning price">$ 0,50</span>
</div>
</div>
<div class="row">
<div class="col-xs-7">
<br/>
<h3>Description</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean rhoncus, nisl nec volutpat pretium, tellus lectus
condimentum leo, non facilisis tortor sapien a lectus.
</p>
<hr/>
</div>
</div>
<div class="row">
<div class="col-xs-3">
<a href="products.html" class="btn btn-default"><i class="glyphicon glyphicon-chevron-left"></i> Back</a>
</div>
<div class="col-xs-7">
<form class="form-horizontal">
<div class="form-group">
<label class="col-xs-3 control-label">Count</label>
<div class="col-xs-4">
<select class="form-control">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</div>
</div>
</form>
</div>
<div class="col-xs-2">
<a href="order.html" class="btn btn-primary"><i class="glyphicon glyphicon-shopping-cart"></i> Order now</a>
</div>
</div>
</div>
</div>
</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>