-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
166 lines (141 loc) · 7.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
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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700|Open+Sans&subset=latin,cyrillic">
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<title>Кекстаграм</title>
</head>
<body>
<form class="filters filters-inactive" action="index.html" method="get" autocomplete="off">
<input type="radio" id="filter-recommend" class="filters-radio" name="filter" value="recommend" checked>
<label for="filter-recommend" class="filters-item">Рекомендуемые</label>
<input type="radio" id="filter-popular" class="filters-radio" name="filter" value="popular">
<label for="filter-popular" class="filters-item">Популярные</label>
<input type="radio" id="filter-discussed" class="filters-radio" name="filter" value="discussed">
<label for="filter-discussed" class="filters-item">Обсуждаемые</label>
<input type="radio" id="filter-random" class="filters-radio" name="filter" value="random">
<label for="filter-random" class="filters-item">Случайные</label>
</form>
<form class="upload-form" id="upload-select-image" method="post" enctype="multipart/form-data" autocomplete="off">
<div class="upload-image">
<input type="file" id="upload-file" class="upload-input" name="filename" required>
<label class="upload-file upload-control" for="upload-file"></label>
</div>
<div class="upload-overlay hidden">
<div class="upload-effect">
<div class="upload-effect__container">
<fieldset class="upload-resize-controls">
<button type="button"
class="upload-resize-control upload-resize-controls-button upload-resize-controls-button-dec">–
</button><!--
--><input type="text" class="upload-resize-control upload-resize-controls-value" value="55%" readonly title="Image Scale" name="scale"><!--
--><button type="button"
class="upload-resize-control upload-resize-controls-button upload-resize-controls-button-inc">+
</button>
</fieldset>
<div class="upload-form-preview">
<div></div>
<img src="img/upload-default-image.jpg" class="effect-image-preview">
</div>
<fieldset class="upload-effect-controls">
<div class="upload-effect-level">
<input type="number" class="upload-effect-level-value" name="effect-level" value="20">
<div class="upload-effect-level-line">
<div class="upload-effect-level-pin" style="left: 20%"></div>
<div class="upload-effect-level-val"></div>
</div>
</div>
<input type="radio" name="effect" id="upload-effect-none" value="none" checked>
<label class="upload-effect-label" for="upload-effect-none">
<div class="upload-effect-preview"></div>
Оригинал
</label>
<input type="radio" name="effect" id="upload-effect-chrome" value="chrome">
<label class="upload-effect-label upload-effect-label-chrome" for="upload-effect-chrome">
<div class="upload-effect-preview"></div>
Хром
</label>
<input type="radio" name="effect" id="upload-effect-sepia" value="sepia">
<label class="upload-effect-label upload-effect-label-sepia" for="upload-effect-sepia">
<div class="upload-effect-preview"></div>
Сепия
</label>
<input type="radio" name="effect" id="upload-effect-marvin" value="marvin">
<label class="upload-effect-label upload-effect-label-marvin" for="upload-effect-marvin">
<div class="upload-effect-preview"></div>
Марвин
</label>
<input type="radio" name="effect" id="upload-effect-phobos" value="phobos">
<label class="upload-effect-label upload-effect-label-phobos" for="upload-effect-phobos">
<div class="upload-effect-preview"></div>
Фобос
</label>
<input type="radio" name="effect" id="upload-effect-heat" value="heat">
<label class="upload-effect-label upload-effect-label-heat" for="upload-effect-heat">
<div class="upload-effect-preview"></div>
Зной
</label>
</fieldset>
<input class="upload-form-hashtags" name="hashtags" placeholder="#хэш-тег">
<textarea class="upload-form-description" name="description" placeholder="Ваш комментарий..."></textarea>
<button class="upload-form-cancel" type="reset" id="upload-cancel">Закрыть</button>
<button class="upload-form-submit" type="submit" id="upload-submit">Отправить</button>
</div>
</div>
</div>
<div class="upload-message hidden">
<div class="upload-message-container"></div>
</div>
</form>
<div class="pictures container" style="font-size: 12px;"></div>
<footer class="footer container">
<div class="center-wrapper">
<section class="footer-logo">
Сделано в <a tabindex="1" href="#" class="footer-logo-link"><img src="img/ha-logo.png" class="footer-logo-image" width="130" alt="Alex Grand">Alex Grand</a> © 2019
</section>
<nav class="footer-social">
<a href="https://twitter.com/htmlacademy_ru" alt="twitter"
class="footer-social-item footer-social-item-twitter" target="_blank" rel="nofollow">Twitter</a>
<a href="https://www.instagram.com/htmlacademy/" alt="instagram"
class="footer-social-item footer-social-item-instagram" target="_blank" rel="nofollow">Instagtam</a>
<a href="https://www.facebook.com/htmlacademy" alt="facebook"
class="footer-social-item footer-social-item-facebook" target="_blank" rel="nofollow">Facebook</a>
<a href="https://vk.com/htmlacademy" alt="vk" class="footer-social-item footer-social-item-vk" target="_blank" rel="nofollow">VK</a>
</nav>
</div>
</footer>
<div class="gallery-overlay hidden">
<span class="gallery-overlay-close">×</span>
<div class="gallery-overlay-preview">
<img src="" class="gallery-overlay-image" alt="">
<div class="gallery-overlay-controls">
<div class="gallery-overlay-controls-like">Нравится <span class="likes-count">0</span></div>
<div class="gallery-overlay-controls-comments"><span class="comments-count">125</span> комментариев</div>
</div>
</div>
</div>
<template id="picture-template" style="display: none">
<a href="" class="picture">
<img src="" width="182" height="182">
<span class="picture-stats">
<span class="picture-stat picture-comments"></span>
<span class="picture-stat picture-likes"></span>
</span>
</a>
</template>
<script src="js/backend.js"></script>
<script src="js/utils.js"></script>
<script src="js/data.js"></script>
<script src="js/picture.js"></script>
<script src="js/preview.js"></script>
<script src="js/filter.js"></script>
<script src="js/gallery.js"></script>
<script src="js/upload-file.js"></script>
<script src="js/scaling.js"></script>
<script src="js/effects.js"></script>
<script src="js/validation.js"></script>
<script src="js/upload-form.js"></script>
</body>
</html>