-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (85 loc) · 4.56 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
<!DOCTYPE html>
<html lang="ru">
<head>
<link href='https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300|Open+Sans&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/main.css" media="screen" title="no title" charset="utf-8">
<meta charset="utf-8">
<title>Keksogram</title>
<script src="lib/jquery.min.js"></script>
<script src="lib/underscore-min.js"></script>
<script src="lib/backbone-min.js"></script>
</head>
<body>
<form class="filters" action="index.html" method="get">
<input type="radio" id="filter-popular" class="filters-radio" name="filter" value="popular" checked>
<label for="filter-popular" class="filters-item">Популярные</label>
<input type="radio" id="filter-new" class="filters-radio" name="filter" value="new">
<label for="filter-new" 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>
</form>
<div class="upload">
<form class="upload-form upload-image" id="upload-select-image" method="post" enctype="multipart/form-data">
<input type="file" id="upload-file" class="upload-input" name="filename" required>
<label class="upload-file upload-control" for="upload-file"></label>
<button class="upload-submit upload-control" type="submit"></button>
</form>
<form class="upload-form upload-resize invisible" id="upload-resize" method="post" enctype="multipart/form-data">
<img src="" class="resize-image-preview" />
<input type="text" class="invisible" name="resize-image-src" id="resize-image-src" />
<fieldset class="upload-resize-controls">
<label for="resize-x">Слева</label><input type="number" id="resize-x" name="x">
<label for="resize-y">Сверху</label><input type="number" id="resize-y" name="y">
<label for="resize-size">Сторона</label><input type="number" id="resize-size" name="size">
</fieldset>
<fieldset class="upload-form-controls">
<button class="upload-form-controls-prev" type="button" id="resize-prev" name="prev"></button>
<button class="upload-form-controls-fwd" type="submit" id="resize-fwd" name="fwd"></button>
</fieldset>
</form>
<form class="upload-form upload-filter invisible" id="upload-filter" method="post" enctype="multipart/form-data">
<img src="" class="filter-image-preview" />
<input type="text" class="invisible" name="filter-image-src" id="filter-image-src" />
<fieldset class="upload-filter-controls">
<input type="radio" name="upload-filter" id="upload-filter-none" value="none" checked><label class="upload-filter-label" for="upload-filter-none">Оригинал</label>
<input type="radio" name="upload-filter" id="upload-filter-chrome" value="chrome"><label class="upload-filter-label" for="upload-filter-chrome">Хром</label>
<input type="radio" name="upload-filter" id="upload-filter-sepia" value="sepia"><label class="upload-filter-label" for="upload-filter-sepia">Сепия</label>
</fieldset>
<fieldset class="upload-form-controls">
<button class="upload-form-controls-prev" type="button" id="filter-prev" name="prev"></button>
<button class="upload-form-controls-fwd" type="submit" id="filter-fwd" name="fwd"></button>
</fieldset>
</form>
</div>
<div class="pictures"></div>
<div class="gallery-overlay invisible">
<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">
<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="lib/cookies.js" charset="utf-8"></script>
<script>
/**
* Объект Resizer находится в глобальной области видимости, чтобы разные
* формы могли использовать его независимо друг от друга.
* @type {Resizer}
*/
var resizer;
</script>
<script data-main="js/photos.js" src="lib/require.min.js"></script>
</body>
</html>