-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (77 loc) · 5.2 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Тестовое задание Сахаровой Анастасии</title>
<link rel="stylesheet" href="static/styles/bootstrap.css">
<link rel="stylesheet" href="static/styles/style.css">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600' rel='stylesheet' type='text/css'>
</head>
<body>
<a class="pony__link" href="#">find a pony</a>
<div class="pony__overlay" style="display: none"></div>
<div class="pony__container" style="display: none">
<form id="pony-form">
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="color" data-toggle="dropdown">
Цвет
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="color">
<li><input type="radio" id="no_color" name="color" checked="checked" value=""><label for="no_color">Не выбрано</label></li>
<li><input type="radio" id="violet" name="color" value="Фиолетовый"><label for="violet">Фиолетовый</label></li>
<li><input type="radio" id="orange" name="color" value="Оранжевый"><label for="orange">Оранжевый</label></li>
<li><input type="radio" id="blue" name="color" value="Голубой"><label for="blue">Голубой</label></li>
<li><input type="radio" id="white" name="color" value="Белый"><label for="white">Белый</label></li>
<li><input type="radio" id="yellow" name="color" value="Желтый"><label for="yellow">Желтый</label></li>
<li><input type="radio" id="pink" name="color" value="Розовый"><label for="pink">Розовый</label></li>
<li><input type="radio" id="purple" name="color" value="Сиреневый"><label for="purple">Сиреневый</label></li>
</ul>
</div>
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="kind" data-toggle="dropdown">
Вид
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="kind">
<li><input type="radio" id="no_kind" name="kind" checked="checked" value=""><label for="no_kind">Не выбрано</label></li>
<li><input type="radio" id="earth-pony" name="kind" value="Земная пони"><label for="earth-pony">Земная пони</label></li>
<li><input type="radio" id="unicorn" name="kind" value="Единорог"><label for="unicorn">Единорог</label></li>
<li><input type="radio" id="pegasus" name="kind" value="Пегас"><label for="pegasus">Пегас</label></li>
<li><input type="radio" id="alicorn" name="kind" value="Аликорн"><label for="alicorn">Аликорн</label></li>
</ul>
</div>
Цена от
<input class="input-price" type="number" step="0.01" name="min" min='0'>
до
<input class="input-price" type="number" step="0.01" name="max">
<input type="checkbox" id="is_new" name="is_new"><label for="is_new">Новинка</label>
<input class="btn btn-default" type='submit' id='submit' value='Найти'>
</form>
<form class="pony-list">
<div class="container__row container__row--header">
<div class="container__item">Имя</div>
<div class="container__item">Цвет</div>
<div class="container__item">Вид</div>
<div class="container__item">Цена (в рублях)</div>
<div class="container__item">Новинка</div>
</div>
<div class="container__separator"></div>
<script id="pony-template" type="text/x-handlebars-template">
<div class="container__row" style="display: none;">
<div class="container__item">{{name}}</div>
<div class="container__item">{{color}}</div>
<div class="container__item">{{kind}}</div>
<div class="container__item">{{price}}</div>
<div class="container__item">{{is_new}}</div>
</div>
</script>
</form>
</div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script type="text/javascript" src="scripts/dropdown.js"></script>
<script src="scripts/handlebars.js"></script>
<script src="scripts/script.js"></script>
</html>