-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
226 lines (200 loc) · 9.9 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Reddit Image Gallery</title>
<meta name="description" content="Reddit image gallery based on customizable single or multiple subreddits.">
<meta name="robots" content="index,follow">
<meta name="googlebot" content="index,follow">
<!-- FB OG -->
<meta property="og:url" content="http://red2img.com/">
<meta property="og:type" content="website">
<meta property="og:title" content="Reddit Image Gallery">
<meta property="og:image" content="http://red2img.com/img/og_img.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1400">
<meta property="og:image:height" content="733">
<meta property="og:description" content="Reddit image gallery based on customizable single or multiple subreddits.">
<meta property="og:site_name" content="Red2IMG">
<meta property="og:locale" content="en_US">
<!-- Links -->
<link rel="me" href="https://github.com/slitthe/" type="text/html">
<!-- Icons -->
<link rel="apple-touch-icon" href="img/icon.png">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="icon" type="image/png" href="img/favicon.png">
<!-- Stylesheets -->
<!-- Libs sheets -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/lib/alertify.css">
<link rel="stylesheet" href="css/lib/awesomplete.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato|Montserrat">
<!-- Author stylsheet(s) -->
<link rel="stylesheet" href="css/main.css">
<!-- Lib Scripts -->
<script src="js/lib/hammer.min.js"></script> <!-- Hammer.js (touch gestures) https://hammerjs.github.io/ -->
<script src="js/lib/alertify.min.js"></script> <!-- alertify.js (alerts) https://alertifyjs.org/ -->
<script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script> <!-- Masonry (grid layout) https://masonry.desandro.com/ -->
<script>window.Masonry || document.write('<script src="js/lib/masonry.pkgd.min.js"><\/script>')</script>
<script src="js/lib/awesomplete.min.js"></script> <!-- Awesomplete (autocomplete) https://leaverou.github.io/awesomplete/ -->
</head>
<body>
<!--[if lte IE 10]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
<main>
<!-- Side menu toggle -->
<button id="menu-btn" class="hamburger-btn no-input-style menu-btn" type="button">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</button>
<!-- To top -->
<button class="to-top no-input-style">
<i class="fa fa-arrow-up"></i>
</button>
<!-- Side bar -->
<aside class="menu slide-closed">
<!-- Add input -->
<section id="sr-search-container" class="sr-search-container clearfix">
<input id="add-sr" class="awesomplete add-sr no-input-style" type="text" placeholder="Subreddit name.">
<button id="clear-input-btn" class="no-input-style clear-input-btn" type="button">
<i class="fa fa-close"></i>
</button>
<button id="add-sr-btn" class="no-input-style add-sr-btn" type="button">
<i class="fa fa-plus"></i>
</button>
</section>
<!-- Subreddits list & deletion -->
<section>
<!-- Check all / delete -->
<h2>Subreddits</h2>
<div class="mult-del-container clearfix">
<label>
<div class="custom-checkbox-wrapper">
<input id="check-all" class="check-all hidden-input" type="checkbox">
<div class="faux-checkbox"></div>
</div>
Check All
</label>
<button id="mult-del" class="mult-del no-input-style" type="button">
Remove Selected
<i class="fa fa-trash"></i>
</button>
</div>
<!-- Subreddits list -->
<div id="sr-list" class="sr-list"></div>
<button id="restore-sr" class="restore-sr no-input-style" type="button">Restore default subreddits</button>
</section>
<!-- Recommandations -->
<section>
<h3>Suggestions</h3>
<ul id="recommended" class="recommended"></ul>
</section>
</aside> <!-- Side Bar End -->
<!-- Header -->
<header>
<!-- Title / main heading -->
<div class="main-heading-container">
<h1 class="main-heading">
Red<span class="special-text">2</span>IMG</h1>
<p class="heading-info">
<span class="normal-text">Re</span><span class="special-text">d</span><span class="special-text">d</span>it
<span class="normal-text">Im</span>a<span class="normal-text">g</span>e
Gallery
</p>
</div>
<!-- Settings container -->
<section id="settings" class="settings">
<!-- Sliders settings (adult & titles show) -->
<label>
<div class="custom-slider-wrapper">
<input id="nsfw" class="hidden-input" type="checkbox" value="nsfw" name="adultContent" checked>
<div class="faux-checkbox"></div>
<span class="input-text"></span>
</div>
Safe For Work
</label>
<label>
<div class="custom-slider-wrapper">
<input id="titles" class="hidden-input" type="checkbox" value="displayTitles" name="displayTitles" checked>
<div class="faux-checkbox"></div>
<span class="input-text"></span>
</div>
Show Info
</label>
<!-- Sorting -->
<div class="sorting">
Sort by:
<select id="type" class="no-input-style" name="type" >
<option selected value="hot">Hot</option>
<option value="new">New</option>
<option value="rising">Rising</option>
<option value="controversial">Controversial</option>
<option value="top">Top</option>
</select>
<select id="time" class="hidden no-input-style" name="time" >
<option value="hour">Hour</option>
<option selected value="day">Day</option>
<option value="week">Week</option>
<option value="controversial">Month</option>
<option value="year">Year</option>
<option value="all">All</option>
</select>
<!-- Images reload -->
<button id="reload-imgs" class="reload-imgs no-input-style" type="button">
<i class="fa fa-refresh"></i>
</button>
</div>
</section> <!-- Settings End -->
</header>
<!-- Images container -->
<section class="images">
<!-- Images themselves go in Here -->
<div class="imgs-container" id="imgs-container"></div>
<!-- Load More button -->
<button type="button" id="load-more" class="load-more no-input-style">Load More</button>
<!-- Loading circle -->
<div id="loading" class="loading invisible"></div>
</section>
</main>
<!-- Full screen feature -->
<div class="full-screen-container hidden" id="full-screen-container">
<!-- Previous, next and close -->
<div class="next"></div>
<button class="next-arrow no-input-style">
<i class="fa fa-chevron-right"></i>
</button>
<div class="previous"></div>
<button class="prev-arrow no-input-style">
<i class="fa fa-chevron-left"></i>
</button>
<div class="close"></div>
<button class="close-full-screen no-input-style">
<i class="fa fa-close"></i>
</button>
<!-- Positiong indicator (current and total images) -->
<div class="pos-indicator">
<div class="loading"></div>
<span class="currentPosition"></span> / <span class="totalImages"></span>
</div>
<!-- Image title and subreddit name -->
<div class="img-desc clearfix">
<a href="#" class="post-txt" target="_blank" title=""></a>
<div class="img-sr-name"></div>
</div>
<!-- Video Element -->
<video playsinline muted preload="auto" autoplay="autoplay" loop="loop" class="whole-screen-content">
<source src="#" type="#">
</video>
</div> <!-- End of full screen feature -->
<!-- Lib Scripts -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="js/lib/jquery-3.2.1.min.js"><\/script>')</script>
<!-- Page Script -->
<script src="js/main.js"></script>
</body>
</html>