-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpants.html
More file actions
189 lines (186 loc) · 6.12 KB
/
pants.html
File metadata and controls
189 lines (186 loc) · 6.12 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="./assets/css/style.css" />
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
<link
rel="shortcut icon"
type="image/png"
href="./assets/images/favicon.png"
/>
<link
href="https://use.fontawesome.com/releases/v5.0.8/css/all.css"
rel="stylesheet"
/>
<title>Pants</title>
</head>
<body>
<div class="wrapper">
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li>
<a href="#">Items</a>
<ul class="dropdown-1">
<li><a href="motorcycles.html">Motorcycles</a></li>
<li><a href="helmets.html">Helmets</a></li>
<li><a href="jackets.html">Jackets</a></li>
<li><a class="nav-active" href="pants.html">Pants</a></li>
</ul>
</li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
<p id="p3">Pants</p>
<!--review form-->
<div class="row">
<section>
<form>
<fieldset>
<legend id="p1">Review A Pair Of Pants</legend>
<label
>Name<br />
<input
class="text"
id="name-input"
required="true"
cols="15"
rows="3"
placeholder="Your name"
required
/> </label
><br />
<label
>Item name<br />
<input
class="text"
id="item-input"
required="true"
cols="15"
rows="3"
placeholder="Pants name"
/> </label
><br />
<label
>Review<br />
<textarea
class="comment"
required="true"
id="comment-input"
required
cols="35"
rows="10"
placeholder="Your review"
></textarea> </label
><br />
<input id="comment-data" type="button" value="Post" />
<br />
<br />
</fieldset>
</form>
<aside>
<!--Star Rating-->
<div class="item-listing">
<div class="container mt-5">
<div class="form-group">
<select
id="product-select"
class="form-control custom-select"
>
<option value="0" disabled selected>Select Product</option>
<option value="rhino">Rhino Nylon</option>
<option value="short">Short Nylon</option>
<option value="astars">Alpine Star Leather</option>
<option value="fly">Fly Moto-Cross</option>
<option value="astarsM">Alpine Stars Moto-x</option>
</select>
</div>
</div>
<div class="form-group">
<input
type="number"
id="rating-control"
class="form-control"
step="0.1"
max="5"
placeholder="Rate 1 - 5"
disabled
/>
</div>
<table class="table table-striped">
<thead>
<tr>
<th>Rating</th>
</tr>
</thead>
<tbody>
<tr class="rhino">
<td>Rhino Nylon Pants</td>
<td>
<div class="stars-outer">
<div class="stars-inner"></div>
</div>
<span class="number-rating"></span>
</td>
</tr>
<tr class="short">
<td>Short Nylon Pants</td>
<td>
<div class="stars-outer">
<div class="stars-inner"></div>
</div>
<span class="number-rating"></span>
</td>
</tr>
<tr class="astars">
<td>Alpine Stars Leather Pants</td>
<td>
<div class="stars-outer">
<div class="stars-inner"></div>
</div>
<span class="number-rating"></span>
</td>
</tr>
<tr class="fly">
<td>Fly Moto-Cross Pants</td>
<td>
<div class="stars-outer">
<div class="stars-inner"></div>
</div>
<span class="number-rating"></span>
</td>
</tr>
<tr class="astarsM">
<td>Alpine Stars Moto-Cross Pants</td>
<td>
<div class="stars-outer">
<div class="stars-inner"></div>
</div>
<span class="number-rating"></span>
</td>
</tr>
</tbody>
</table>
</div>
</aside>
<!--Comment displayed here-->
<div id="f1">
<p id="name-output"></p>
<p id="item-output"></p>
<p id="comment-output"></p>
<p id="datetime"></p>
</div>
</section>
<!--json file displayed here-->
<aside>
<legend><ul id="item-list"></ul></legend>
</aside>
</div>
<footer id="p1">Copyright © Sam Hewitt 2019</footer>
</div>
<script src="./assets/js/pants.js"></script>
</body>
</html>