-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharticle_list.html
68 lines (58 loc) · 1.92 KB
/
article_list.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="shortcut icon" href="res/img/JJK_1.png" type="image/x-icon" />
<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/article_list.css">
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/articlelist.js"></script>
<script type="text/javascript" src="js/snackbar.js"></script>
</head>
<body>
<nav id="titlebar">
<img src="res/img/pingguo.png" />
<span>终端 Shell 编辑 显示 窗口 帮助</span>
</nav>
<section class="content">
<nav id="header">
<div class="decorate red">
</div>
<div class="decorate yellow">
</div>
<div class="decorate green">
</div>
</nav>
<ul id="list">
</ul>
<a id="bottom" href="javascript:void(0)">undefined: ~ developer$ </a>
<p id="bottom">数据加载中...</p>
</section>
<script>
let t = getQueryString("t");
if (t == null || t == "" || t == "null") {
t = "chenBingX/CoorChiceArticale";
}
try {
document.title = t.substring(0, t.indexOf("/")) + "的博客";
} catch (error) {
}
window.onload = function() {
setTimeout(function() {
let url = "https://api.github.com/repos/" + t + "/contents";
startRequestArticles(url);
}, 100);
}
</script>
<div id="imgcontent">
<img id="img" src="res/img/JJK_1.png">
</div>
<script>
addSnackbar();
$('#imgcontent').click(function() {
$('#imgcontent').css("display", "none");
});
</script>
</body>
</html>