forked from Monitorr/Monitorr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
changelog.html
126 lines (98 loc) · 4.55 KB
/
changelog.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title> Monitorr | Releases </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link type="text/css" href="assets/css/bootstrap.min.css" rel="stylesheet">
<link type="text/css" href="assets/css/main.css" rel="stylesheet">
<link type="text/css" href="assets/data/css/custom.css" rel="stylesheet">
<link type="text/css" href="assets/css/font-awesome.min.css" rel="stylesheet">
<script src="assets/js/monitorr.main.js"></script>
<meta name="theme-color" content="#464646" />
<meta name="theme_color" content="#464646" />
<style>
body {
margin: auto;
margin-top: 1rem;
background-color: #3d3d3d;
color: white;
}
body::-webkit-scrollbar {
width: .75rem;
background-color: #252525;
}
body::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 .25rem rgba(0, 0, 0, 0.3);
box-shadow: inset 0 0 .25rem rgba(0, 0, 0, 0.3);
border-radius: .75rem;
background-color: #252525;
}
body::-webkit-scrollbar-thumb {
border-radius: .75rem;
-webkit-box-shadow: inset 0 0 .25rem rgba(0, 0, 0, .3);
box-shadow: inset 0 0 .25rem rgba(0, 0, 0, .3);
background-color: #8E8B8B;
}
h3 {
color: white;
}
.pace .pace-progress {
box-shadow: .1rem .1rem .2rem rgb(15, 15, 15);
}
</style>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/pace.js" async></script>
<script>
function checkGithub() {
console.log("Retrieving Monitorr release info from GH.");
$.ajax({
type: "GET",
url: "https://api.github.com/repos/monitorr/monitorr/releases",
dataType: "json",
success: function(github) {
let infoTabVersionHistory = $('#about').find('#versionHistory');
$.each(github, function(i,v) {
if(i === 0){
//console.log(v.tag_name);
githubVersion = v.tag_name;
githubDescription = v.body;
githubName = v.name;
}
var body = parseGithubToHTML(v.body);
infoTabVersionHistory.append(
'<li style="display: none">' +
'<div class="github-item">' +
'<h2 class="releaseName text-uppercase">' + v.name + '</h2>' +
'<time class="github-item-time" datetime="' + v.published_at + '">' +
'<span class="releasetime">Released on: ' + v.published_at.substring(0,10) + ' at ' + v.published_at.substring(11,19) + '</span>' +
'</time>' +
'<div class="releaseBody">' + body + '</div>' +
'</div>' +
'<hr class="releasehr"\>' +
'</li>'
);
let size_li = $("#versionHistory > li");
let x = 4; //show this many releases
$('#versionHistory > li:lt(' + x + ')').show();
});
}
});
}
</script>
</head>
<body onload="checkGithub()">
<div id="releaseWrapper">
<h4 class="releaseHeader">
<a class="releaselink" href="https://github.com/Monitorr/Monitorr/releases" target="_blank"
title="Monitorr Releases">
Monitorr Release Log:
</a>
</h4>
<div id="about">
<ul id="versionHistory"> </ul>
</div>
</div>
</body>
</html>