-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
280 lines (274 loc) · 16.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
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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="blog.css" rel="stylesheet" type="text/css">
<link href="media.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Asap:400,400italic,700,700italic&subset=latin,latin-ext' rel='stylesheet' type='text/css'> <meta name="description" content>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<script type="text/javascript" src="jquery-ui-1.11.4.custom/jquery-ui.min.js"></script>
<script type="text/css" src="jquery-ui-1.11.4.custom/jquery-ui.min.css"></script>
<script src='https://api.mapbox.com/mapbox-gl-js/v0.18.0/mapbox-gl.js'></script>
<link href='https://api.mapbox.com/mapbox-gl-js/v0.18.0/mapbox-gl.css' rel='stylesheet' />
<title>blog</title>
</head>
<body>
<main class="main o-flow">
<div class="col col1">
<div class="section-editor o-flow rel" id="editor-tabs">
<ul>
<li class="outer flexy"><a class="speed" href="#inner-1"></a></li>
<li class="outer flexy"><a class="doc" href="#inner-2"></a></li>
<li class="outer flexy"><a class="landscape" href="#inner-3"></a></li>
<li class="outer flexy"><a class="chain" href="#inner-4"></a></li>
<li class="outer flexy"><a class="chat" href="#inner-5"></a></li>
<li></li>
</ul>
<div class="inner" id="inner-1">
<h2>1</h2>
<form method="post" name="section-editor-form">
<input type="text" class="inp editor-inp" placeholder="Enter title here">
<nav class="o-flow">
<button type="button" class="button editor-menu-button left bold"></button>
<button type="button" class="button editor-menu-button left italic"></button>
<button type="button" class="button editor-menu-button left underlined"></button>
<button type="button" class="button editor-menu-button left strike-through"></button>
<button type="button" class="button editor-menu-button left unordered"></button>
<button type="button" class="button editor-menu-button left ordered"></button>
</nav>
<textarea name="section-editor-area"></textarea>
<input type="button" class="button grey editor-button editor-left" value="save draft">
<input type="button" class="button grey editor-button editor-mid" value="preview">
<input type="button" class="button red editor-button editor-right" value="publish">
</form>
</div>
<div class="inner o-flow" id="inner-2">
<h2>Add New Post</h2>
<form method="post" name="section-editor-form">
<input type="text" class="inp editor-inp" placeholder="Enter title here">
<nav class="o-flow">
<button type="button" class="button editor-menu-button left bold"></button>
<button type="button" class="button editor-menu-button left italic"></button>
<button type="button" class="button editor-menu-button left underlined"></button>
<button type="button" class="button editor-menu-button left strike-through"></button>
<button type="button" class="button editor-menu-button left unordered"></button>
<button type="button" class="button editor-menu-button left ordered"></button>
</nav>
<textarea name="section-editor-area"></textarea>
<input type="button" class="button grey editor-button editor-left" value="save draft">
<input type="button" class="button grey editor-button editor-mid" value="preview">
<input type="button" class="button red editor-button editor-right" value="publish">
</form>
</div>
<div class="inner" id="inner-3">
<h2>3</h2>
<form method="post" name="section-editor-form">
<input type="text" class="inp editor-inp" placeholder="Enter title here">
<nav class="o-flow">
<button type="button" class="button editor-menu-button left bold"></button>
<button type="button" class="button editor-menu-button left italic"></button>
<button type="button" class="button editor-menu-button left underlined"></button>
<button type="button" class="button editor-menu-button left strike-through"></button>
<button type="button" class="button editor-menu-button left unordered"></button>
<button type="button" class="button editor-menu-button left ordered"></button>
</nav>
<textarea name="section-editor-area"></textarea>
<input type="button" class="button grey editor-button editor-left" value="save draft">
<input type="button" class="button grey editor-button editor-mid" value="preview">
<input type="button" class="button red editor-button editor-right" value="publish">
</form>
</div>
<div class="inner" id="inner-4">
<h2>4</h2>
<form method="post" name="section-editor-form">
<input type="text" class="inp editor-inp" placeholder="Enter title here">
<nav class="o-flow">
<button type="button" class="button editor-menu-button left bold"></button>
<button type="button" class="button editor-menu-button left italic"></button>
<button type="button" class="button editor-menu-button left underlined"></button>
<button type="button" class="button editor-menu-button left strike-through"></button>
<button type="button" class="button editor-menu-button left unordered"></button>
<button type="button" class="button editor-menu-button left ordered"></button>
</nav>
<textarea name="section-editor-area"></textarea>
<input type="button" class="button grey editor-button editor-left" value="save draft">
<input type="button" class="button grey editor-button editor-mid" value="preview">
<input type="button" class="button red editor-button editor-right" value="publish">
</form>
</div>
<div class="inner" id="inner-5">
<h2>5</h2>
<form method="post" name="section-editor-form">
<input type="text" class="inp editor-inp" placeholder="Enter title here">
<nav class="o-flow">
<button type="button" class="button editor-menu-button left bold"></button>
<button type="button" class="button editor-menu-button left italic"></button>
<button type="button" class="button editor-menu-button left underlined"></button>
<button type="button" class="button editor-menu-button left strike-through"></button>
<button type="button" class="button editor-menu-button left unordered"></button>
<button type="button" class="button editor-menu-button left ordered"></button>
</nav>
<textarea name="section-editor-area"></textarea>
<input type="button" class="button grey editor-button editor-left" value="save draft">
<input type="button" class="button grey editor-button editor-mid" value="preview">
<input type="button" class="button red editor-button editor-right" value="publish">
</form>
</div>
</div>
<div class="section-navi o-flow">
<nav>
<ul>
<li class="flexy"><a href="" class="navi-link navi-link1"></a></li>
<li class="flexy rel">
<a href="" class="navi-link navi-link2"></a>
<div class="notice"></div>
</li>
<li class="flexy"><a href="" class="navi-link navi-link3"></a></li>
<li class="flexy">
<form method="post" name="section-navi-form">
<input type="text" class="inp navi-inp" name="navi-inp">
</form>
</li>
</ul>
</nav>
</div>
<div class="section-sub o-flow">
<h1>Subscribe</h1>
<p>Get out feed through email.</p>
<form method="post" class="o-flow flexy">
<input type="text" class="inp sub-inp" placeholder="e.g. sinbad@montecristo.com">
<input type="submit" class="button red sub-button" value="SUBSCRIBE">
</form>
</div>
</div>
<div class="col col2">
<div class="section-related o-flow">
<h1>Related Posts</h1>
<div class="o-flow">
<div class="inner-wrap left">
<h2>Philosophy can't be taught; it's an application of the sciences to truth</h2>
by Lord Wilmore
</div>
<form method="post" name="section-related-form" class="left">
<input type="checkbox" id="related-check1" class="related-checkbox">
<label for="related-check1"></label>
</form>
</div>
<div class="o-flow">
<div class="inner-wrap left">
<h2>Now let the avenging god make way for me to punish the wrongdoer!</h2>
by Abbé Bussoni
</div>
<form method="post" name="section-related-form" class="left">
<input type="checkbox" id="related-check2" class="related-checkbox">
<label for="related-check2"></label>
</form>
</div>
<div class="o-flow">
<div class="inner-wrap left">
<h2>There's neither happiness nor misery in the world</h2>
by Monsieur Zaccone
</div>
<form method="post" name="section-related-form" class="left">
<input type="checkbox" id="related-check3" class="related-checkbox">
<label for="related-check3"></label>
</form>
</div>
</div>
<div class="section-tags">
<h1>Tags</h1>
<form method="post" class="flexy">
<input type="text" class="inp tags-inp" id="tags-check"><label for="tags-check"></label>
<input type="submit" class="button red tags-button" value="ADD">
</form>
<p>Separate tags with comas</p>
</div>
<div class="section-map">
<div id="map" class="map"></div>
<div class="add-map">
<form class="flexy" method="post">
<input type="text" class="inp map-inp" id="map-check"><label for="map-check"></label>
<input type="submit" class="button red add-map-button" value="ADD MAP">
</form>
</div>
</div>
</div>
<div class="col col3 o-flow">
<div id="section-calendar"></div>
<div class="section-recent rel">
<h1>Recent Posts</h1>
<a href="#toggle-1" class="recent-toggle"><i class="recent-arrow"><i></i></i></a>
<div class="recent-inner" id="toggle-1">:></div>
</div>
<div class="section-cats rel">
<h1>Categories</h1>
<a href="#toggle-2" class="cats-toggle" ><i class="cats-arrow"><i></i></i></a>
<div class="cats-inner" id="toggle-2">
<form method="post">
<input type="text" class="inp cats-inp" placeholder="Title">
<div><input type="checkbox" id="cats-check-1"><label for="cats-check-1">Display as dropdown</label></div>
<div><input type="checkbox" id="cats-check-2"><label for="cats-check-2">Show post counts</label></div>
<div><input type="checkbox" id="cats-check-3"><label for="cats-check-3">Show hierarchy</label></div>
<input type="button" class="button green cats-button" value="save">
<input type="button" class="button red cats-button right" value="delete">
</form>
</div>
</div>
<div class="section-pop" id="tabs">
<ul class="flexy">
<li class="flexy"><a href="#tab-popular">Popular</a></li>
<li class="flexy"><a href="#tab-comments">Comments</a></li>
<li class="flexy"><a href="#tab-recent">Recent</a></li>
</ul>
<div id="tab-popular" class="pop-tab">
<div class="o-flow">
<div class="left tr"><img src="img/_tmp-Chateau.jpg" alt="Château"></div>
<div class="left tr"><a href=""><h2>Fourteen years in Château d'If</h2></a>by Edmond Dantè</div>
</div>
<div class="o-flow">
<div class="left tr"><img src="img/_tmp-Count.jpg" alt="Count"></div>
<div class="left tr"><a href=""><h2>Number 34 and number 27</h2></a>by the Count of Monte Cristo</div>
</div>
</div>
<div id="tab-comments" class="pop-tab"></div>
<div id="tab-recent" class="pop-tab"></div>
</div>
</div>
</main>
<script>
mapboxgl.accessToken = 'pk.eyJ1IjoiZmlsa3kiLCJhIjoiY2lvYmpraXdzMDA0NHZqbTVheTJoY2dwMSJ9.99xzuah8HZeQyTZrQWH1hw';
if (!mapboxgl.supported()) {
alert('Your browser does not support Mapbox GL');
} else {
var map = new mapboxgl.Map({
container: 'map',
style: 'cinvwo787001sd5m2tjc1txcs.json',
center: [2.351845, 48.855082],
zoom: 14.6
});
map.dragRotate.disable();
map.touchZoomRotate.disableRotation();
map.scrollZoom.disable();
map.addControl(new mapboxgl.Navigation());
}
$(document).ready(function() {
$(".cats-toggle").click(function(){
$(".cats-inner").slideToggle(500);
});
$(".recent-toggle").click(function(){
$(".recent-inner").slideToggle(500);
});
$( "#tabs").tabs();
$( "#editor-tabs" ).tabs({
active: 1
});
$('#section-calendar').datepicker ({
inline: true,
showOtherMonths: true,
dayNamesMin:["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
});
});
</script>
</body>
</html>