-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
160 lines (145 loc) · 5.63 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Main - shop "SQUARE METER"</title>
<link rel="stylesheet" href="libs/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.min.css">
<link
href="https://fonts.googleapis.com/css?family=Montserrat:500,600,700,800|Oswald:700&display=swap&subset=cyrillic-ext"
rel="stylesheet">
</head>
<body>
<div class="top-panel">
<div class="top-panel__container">
<div class="top-panel__title">real estate online store</div>
<div class="top-panel__phone"><a href="tel:+8800557755">8 (800) 55-77-55</a></div>
</div>
</div>
<div class="logo-wrapper">
<div class="logo">
<div class="logo__title">SQUARE METER</div>
<div class="logo__subtitle">buy an apartment in one click</div>
</div>
</div>
<div class="container p-0">
<div class="heading-1">The choice of apartments:</div>
<div class="filter">
<div class="filter__col">
<div class="filter__label">Project selection:</div>
<select name="" id="" class="filter__dropdown" data-filter-label>
<option value="">all projects</option>
<option value="generalskij">Residential Complex Generalsky</option>
<option value="petrovskij">Residential Complex Petrovsky</option>
<option value="centralnij">Residential Complex Central</option>
</select>
</div>
<div class="filter__col rooms">
<div class="filter__label">Rooms:</div>
<div class="rooms__wrapper" data-filter-rooms >
<input number = "1" type="checkbox" id="rooms_1" class="rooms__checkbox"><label for="rooms_1"
class="rooms__btn" number = "1">1</label>
<input number = "2" type="checkbox" id="rooms_2" class="rooms__checkbox"><label for="rooms_2"
class="rooms__btn" number = "2">2</label>
<input number = "3" type="checkbox" id="rooms_3" class="rooms__checkbox"><label for="rooms_3"
class="rooms__btn" number = "3">3</label>
<input number = "4" type="checkbox" id="rooms_4" class="rooms__checkbox"><label for="rooms_4"
class="rooms__btn" number = "4">4</label>
</div>
</div>
<div class="filter__col">
<div class="filter__label">Square:</div>
<div class="range__wrapper">
<div class="range">
<label for="" class="range__label">from</label>
<input type="number" class="range__input" data-filter-square-min>
<div class="range__value">м2</div>
</div>
<div class="range">
<label for="" class="range__label">until</label>
<input type="number" class="range__input" data-filter-square-max>
<div class="range__value">м2</div>
</div>
</div>
</div>
<div class="filter__col">
<div class="filter__label">Cost:</div>
<div class="range__wrapper">
<div class="range">
<label for="" class="range__label">from</label>
<input type="number" class="range__input range__input--price" data-filter-price-min>
<div class="range__value">₽</div>
</div>
<div class="range">
<label for="" class="range__label">until</label>
<input type="number" class="range__input range__input--price" data-filter-price-max>
<div class="range__value">₽</div>
</div>
</div>
</div>
</div>
<div class="filter__buttons" data-show-if-filter>
<button class="filter__show">Found <span data-filtered-number>a lot of</span> apartments</button>
<button class="filter__reset" data-filter-reset>Reset filter</button>
</div>
</div>
<div class="view-options-wrapper">
<div class="container">
<!-- view-options -->
<div class="view-options">
<div class="view-options__sort">
<label for="sort-cards-by" class="view-options__label">Sort</label>
<select id="sort-cards-by" name="" id="" class="view-options__select" data-sort>
<option value="">None</option>
<option value="priceToUp">by price ↑</option>
<option value="priceToDown">by price ↓</option>
<option value="squareToUp">by square ↑</option>
<option value="squareToDown">by square ↓</option>
</select>
</div>
<div class="view-options__type">
<a data-viewmode-showcase-button href="#"
class="view-options__type-item view-options__type-item--active">
<i class="fas fa-th-large"></i>
</a>
<a data-viewmode-listcase-button href="#" class="view-options__type-item">
<i class="fas fa-bars"></i>
</a>
</div>
</div>
<!-- // view-options -->
</div>
</div>
<div data-viewmode-showcase></div>
<!-- panels-wrapper -->
<div data-viewmode-listcase ></div>
<!-- // panels-wrapper -->
<!-- pagination -->
<div class="pagination" data-pagination>
<a href="#" class="pagination__link" data-pagination-previos>Previous</a>
<a href="#" class="pagination__page">1</a>
<a href="#" class="pagination__page">2</a>
<a href="#" class="pagination__page">3</a>
<a href="#" class="pagination__page">4</a>
<!-- <span href="#" class="pagination__dots">...</span> -->
<a href="#" class="pagination__link" data-pagination-next>Next</a>
</div>
<!-- // pagination -->
<div class="footer">
<div class="contaier">
<p>Training project <a href="https://webcademy.ru/">WebCademy</a> from curs <a
href="https://webcademy.ru/jscourse/">JavaScript developer</a>. Project completed <a href="#">Evgeny
Bondar</a>.</p>
</div>
</div>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> -->
<script src="js/View.js"></script>
<script src="js/Model.js"></script>
<!-- <script src='js/ElementCard.js'></script> -->
<script src="js/Controller.js"></script>
<script>
Controller.start()
</script>
</body>
</html>