-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
442 lines (412 loc) · 19.6 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
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
<!DOCTYPE html>
<html lang="cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Beautiful Eyes - a Photographs Album of us</title>
<!-- CSS includes -->
<!-- Bootstrap basic css -->
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- font -->
<link href="https://fonts.googleapis.com/css?family=Karla" rel="stylesheet" type="text/css">
<link href="css/font-awesome.min.css" rel="stylesheet">
<!-- Local define css -->
<link href="css/theme.css" rel="stylesheet">
<link href="css/magnific-popup.css" rel="stylesheet">
<link href="css/comment.css" rel="stylesheet">
<link href="css/active-button.css" rel="stylesheet">
<link href="css/carousel.css" rel="stylesheet">
<!-- gitalk -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.css">
<script src="https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js"></script>
<!-- css shake -->
<link rel="stylesheet" type="text/css" href="css/csshake.min.css">
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="https://mybeautifuleyes.github.io/" target="_blank">
<h3><span class="fa fa-cloud"></span> <strong>Beautiful Eyes - a Photographs Album of us</strong></h3>
</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="info"><a href="#about" class="smooth-scroll">About</a></li>
<li class="danger"><a href="#projects" class="smooth-scroll">Album</a></li>
<li class="success"><a href="#gallery" class="smooth-scroll">Gallery</a></li>
<li class="primary"><a href="#contact" class="smooth-scroll">Contact</a></li>
<li class="warning"><a href="#comment" class="smooth-scroll">Comment</a></li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<!-- New Carousel -->
<div class="container">
<div id="myCarousel" class="carousel slide" data-ride="carousel" style="margin-top: 3px">
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="carousel-inner" id="myCarouselImgs">
<div class="item active">
<img src="img/carousel/c1_760x400.jpg">
<div class="carousel-caption">
<p class="small"><i class="fa fa-envelope-open-o"></i> [顽固] 鼻青脸肿的哭过/若无其事的忘记</p>
</div>
</div>
<div class="item">
<img src="img/carousel/c2_760x400.jpg">
<div class="carousel-caption">
<p class="small"><i class="fa fa-envelope-open-o"></i> [晴天] rui sou sou xi dou xi la/sou la xi xi xi xi la xi la sou</p>
</div>
</div>
<div class="item">
<img src="img/carousel/c3_760x400.jpg">
<div class="carousel-caption">
<p class="small"><i class="fa fa-envelope-open-o"></i> <倔强> 我就是我自己的神/在我活的地方</p>
</div>
</div>
<div class="item">
<img src="img/carousel/5.jpeg">
<div class="carousel-caption">
<p class="small"><i class="fa fa-envelope-open-o"></i> <理想> 梦醒后/还是依然奔波在风雨的街头/有时候想哭就把泪 咽进一腔热血的胸口</p>
</div>
</div>
<div class="item">
<img src="img/carousel/c5_760x400.jpg">
<div class="carousel-caption">
<p class="small"><i class="fa fa-envelope-open-o"></i> <步步> 如果相识/不能相恋/是不是还不如擦肩</p>
</div>
</div>
</div>
</div>
<ul class="list-group col-sm-4" id="myCarouselTitle">
<li data-target="#myCarousel" data-slide-to="0" class="list-group-item active"><h4>Beautiful Eyes, a private site of world wonderful photos.</h4></li>
<li data-target="#myCarousel" data-slide-to="1" class="list-group-item"><h4>About - 李美丽是一只傻猫</h4></li>
<li data-target="#myCarousel" data-slide-to="2" class="list-group-item"><h4>Album - 被分类的照片集合</h4></li>
<li data-target="#myCarousel" data-slide-to="3" class="list-group-item"><h4>Gallery - 主题照片展览</h4></li>
<li data-target="#myCarousel" data-slide-to="4" class="list-group-item"><h4><i class="fa fa-envelope-open-o"></i> Contact me<mark>联系英俊帅气潇洒的我</mark></h4></li>
</ul>
<!-- Controls -->
<div class="carousel-controls">
<a class="left carousel-control" href="#myCarousel" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a class="right carousel-control" href="#myCarousel" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
</a>
</div>
</div><!-- End Carousel -->
</div>
<!-- Whisper -->
<div class="container-about">
<div class="container">
<div class="page-header" id="about">
<h2 class="text-center text-info"><span class="fa fa-user"></span> ABOUT</h2>
</div>
<div class="row">
<div class="col-sm-6 col-sm-offset-3 col-xs-12 col-md-4 col-md-offset-4">
<div class="row" style="font: normal 20px/30px Arial, sans-serif; margin-bottom: 5px; padding-left: 5px">
<p style="height: 30px; float: left; margin-right: 0.3em;">这是:</p>
<b style="float: left; overflow: hidden; position: relative; height: 30px">
<span class="title-span">
分享照片的私人网站<br />
一名程序员无聊时期的产物<br />
朋友圈不敢装的逼可以在这里装<br />
技术太老了,该更新了
</span>
</b>
</div>
</div>
<div class="col-md-6 col-sm-6 col-xs-12 text-justify">
<div class="section-div-comment">
<section class="comments" id="comment-section" style="margin-top: 10px">
</section>
</div>
</div>
<div class="col-md-6 col-sm-6 col-xs-12 text-justify">
<div class="section-div-timeline">
<section class="comments" style="margin-top: 10px">
<article class="comment">
<div class="comment-img">
<button type="button" class="btn btn-primary btn-circle btn-lg">
<i class="fa fa-space-shuttle faa-passing animated"></i>
</button>
</div>
<div class="comment-body">
<div class="text"><p>
2020.02, 底层数据结构优化了,更新了一波新的照片!
</p></div>
</div>
</article>
<article class="comment">
<div class="comment-img">
<button type="button" class="btn btn-danger btn-circle btn-lg">
<i class="fa fa-photo faa-spin animated"></i>
</button>
</div>
<div class="comment-body">
<div class="text"><p>
2018.12, 更新18年的相册,但是丢了很多老照片
</p></div>
</div>
</article>
<article class="comment">
<div class="comment-img">
<button type="button" class="btn btn-warning btn-circle btn-lg">
<i class="fa fa-heart faa-shake animated"></i>
</button>
</div>
<div class="comment-body">
<div class="text"><p>
2017.07,页面图片采用Lazy Load的加载方式,优化访问速度,照片详情页重新设计更新
</p></div>
</div>
</article>
<article class="comment">
<div class="comment-img">
<button type="button" class="btn btn-success btn-circle btn-lg">
<i class="fa fa-commenting-o faa-pulse animated"></i>
</button>
</div>
<div class="comment-body">
<div class="text"><p>
2017.05, 新域名上线,使用国内服务云存储照片,自适应手机尺寸,评论系统开放
</p></div>
</div>
</article>
</section>
</div>
</div>
</div>
</div>
</div>
<div class="clearfix hidden-xs" style="width:100%; height:10px;"></div>
<!-- photograph album -->
<div class="container-projects" id="projects">
<div class="container">
<div class="page-header">
<h2 class="text-center text-danger"><span class="fa fa-paint-brush"></span> PHOTO ALBUM</h2>
</div>
<div id="album-content">
<div class="row">
<div class="col-md-4 col-sm-6 col-xs-12 album-panel-col" id="album-col-1" hidden></div>
<div class="col-md-4 col-sm-6 col-xs-12 album-panel-col" id="album-col-2" hidden></div>
<div class="col-md-4 col-sm-6 col-xs-12 album-panel-col" id="album-col-3" hidden></div>
</div>
<div id="album-loading" class="row">
<h3 class="text-center text-danger">Waiting to a beautiful show!</h3>
<div>
<ul class="bokeh">
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
</div>
</div>
</div>
<div class="clearfix hidden-xs" style="width:100%; height:50px;"></div>
</div>
<!-- gallery -->
<div class="container-gallery">
<div class="container">
<div class="page-header" id="gallery">
<h2 class="text-center text-success"><span class="fa fa-camera"></span> GALLERY</h2>
</div>
<div id="gallery-content">
<div id="gallery-loading" class="row">
<h3 class="text-center text-success">Waiting to a beautiful show!</h3>
<div>
<ul class="bokeh">
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
</div>
</div>
</div>
<div class="clearfix hidden-xs" style="width:100%; height:50px;"></div>
</div>
<!-- contacts -->
<div class="container-contacts">
<div class="container">
<div class="page-header" id="contact">
<h2 class="text-center text-primary"><span class="fa fa-phone"></span> CONTACT ME</h2>
</div>
<div class="row">
<div class="col-md-3 col-sm-3 col-xs-6">
<div class="panel">
<div class="panel-body">
<img data-original="./img/contact_1.png" class="lazy img-responsive" />
</div>
</div>
</div>
<div class="col-md-3 col-sm-3 col-xs-6">
<div class="panel">
<div class="panel-body">
<img data-original="./img/contact_3.jpeg" class="lazy img-responsive" />
</div>
</div>
</div>
<div class="col-md-6 col-sm-6 col-xs-12">
<p style="font-size:18px;">INFORMATION</p>
<p><span class="fa fa-globe"></span> ECNU, 3663, North Zhongshan Road, Shanghai 200062, CHINA</p>
<p><span class="fa fa-bell"></span> IQIYI, 365, Linhong Road, Shanghai 201103, CHINA</p>
<p><span class="fa fa-phone"></span> +189 3063 4731</p>
<p><span class="fa fa-envelope"></span><a href="mailto:ly.forwork@foxmail.com"> ly.forwork@foxmail.com</a></p>
<p>
<a class="fa fa-twitter footer-socialicon" target="_blank" href="https://twitter.com/"></a>
<a class="fa fa-facebook footer-socialicon" target="_blank" href="https://www.facebook.com/"></a>
<a class="fa fa-google-plus footer-socialicon" target="_blank" href="https://plus.google.com/"></a>
<a class="fa fa-linkedin footer-socialicon" target="_blank" href="https://www.linkedin.com/"></a>
</p>
</div>
</div>
</div>
<div class="clearfix hidden-xs" style="width:100%; height:30px;"></div>
</div>
<!-- comment -->
<div class="container-comment">
<!-- <div class="container">
<div id="SOHUCS" sid="index"></div>
</div> -->
<div class="container">
<div class="page-header" id="comment">
<h2 class="text-center text-warning"><span class="fa fa-commenting-o"></span> COMMENT</h2>
<p class="text-center text-warning" id="message">评论功能暂时关闭啦!</p>
</div>
<div class="panel panel-default">
<div class="panel-body">
<div class="media">
<div class="media-left">
<a href="#">
<img class="media-object" src="img/comment/comment_2.jpg" alt="...">
</a>
</div>
<div class="media-body">
<h4 class="media-heading">李美丽真身</h4>
之前的评论系统是接入第三方应用,畅言的广告实在有点讨厌,之后自己写一个吧!<br/>
定个目标,今年上半年完成!<br/>
--- FLAG <br/>
<small>2020.03.16 20:17:35</small>
<div class="media">
<div class="media-left">
<a href="#">
<img class="media-object" src="img/comment/comment_3.jpg" alt="...">
</a>
</div>
<div class="media-body">
<h4 class="media-heading">"美丽2号"回复:李美丽真身</h4>
请时刻牢记FLAG!<br/>
<small>2020.03.16 21:05:56</small>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="gitalk-container" style="min-height: 200px;"></div>
</div>
</div>
<footer id="footer" class="clearfix">
<div class="col-md-4 col-md-offset-8">
<p>Created by Ye Li</a> and the template is from <a href="https://www.prepbootstrap.com" title="PrepBootstrap">PrepBootstrap</a></p>
</div>
</footer>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9] -->
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<!-- [endif] -->
<!-- juery -->
<script src="js/jquery-3.2.1.min.js"></script>
<!-- bootstrap -->
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- lazyload -->
<script src="js/jquery.lazyload.js"></script>
<!-- local define -->
<script src="js/jquery.mixitup.min.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/theme.js"></script>
<!-- config img -->
<script src="js/commons.js"></script>
<script src="js/modules/carousel.js"></script>
<script src="js/modules/album.js"></script>
<script src="js/modules/gallery.js"></script>
<script src="js/modules/comment.js"></script>
<!-- 关闭评论功能 -->
<script type="text/javascript">
jQuery(function($) {
// Lazy load static img
$("img.lazy").lazyload({
threshold : 200,
effect : "fadeIn"
});
// event monitor
$(window).on("scroll", function () {
call_show_album();
call_show_gallery();
});
$(window).on("resize", function () {
call_show_album();
call_show_gallery();
});
// carousel
var clickEvent = false;
$('#myCarousel').carousel({
interval: 4000
}).on('click', '.list-group li', function() {
clickEvent = true;
$('.list-group li').removeClass('active');
$(this).addClass('active');
}).on('slid.bs.carousel', function(e) {
if(!clickEvent) {
var count = $('.list-group').children().length -1;
var current = $('.list-group li.active');
current.removeClass('active').next().addClass('active');
var id = parseInt(current.data('slide-to'));
if(count == id) {
$('.list-group li').first().addClass('active');
}
}
clickEvent = false;
});
});
function resizeList() {
var boxheight = $('#myCarousel .carousel-inner').innerHeight();
var itemlength = $('#myCarousel .item').length;
var triggerheight = Math.round(boxheight/itemlength+1);
$('#myCarousel .list-group-item').outerHeight(triggerheight);
}
resizeList();
window.onresize = function () {
resizeList();
};
// load comment
var gitalk = new Gitalk({
clientID: 'c6b590b73697b90483b2',
clientSecret: 'f22004def7645525faf46d15d8e8e374358fb97d',
repo: 'mybeautifuleyes.github.io',
owner: 'mybeautifuleyes',
admin: ['mybeautifuleyes'],
id: 'index.html', // Ensure uniqueness and length less than 50
distractionFreeMode: false // Facebook-like distraction free mode
});
gitalk.render('gitalk-container');
</script>
</body>
</html>