-
Notifications
You must be signed in to change notification settings - Fork 11
/
changelog-gen.html
87 lines (79 loc) · 3.27 KB
/
changelog-gen.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>What's new in TotalFinder?</title>
<style type="text/css" media="screen">
body,h1,h2,h3,h4,p,table{padding:0;margin:0;}
a{text-decoration:none;font-variant:normal;color:#1e51be;}
a:hover{text-decoration:underline;}
body {
font-family:"Helvetica Neue",Arial,Helvetica,sans-serif;
font-size: 12px;
}
.changelog .changes{margin:0;padding-left:30px;list-style-type:none;padding-right:10px;padding-top:6px;}
.changelog .changes li{margin-bottom:5px;}
.changelog .titlebox { background-color: #eee; border-bottom: 0px solid #aaa; margin-top: 20px; line-height: 20px;}
.changelog h4{float:left;font-size: 12px;padding:3px;line-height:16px;font-weight: bold; padding-left: 10px; padding-right:6px; width: 100px; white-space:nowrap; text-align:right;}
.changelog h5{margin:0;padding:0;padding:3px;margin-left:6px;font-size:10px;color:#666;line-height:16px;font-weight:normal;}
.changelog .sticker { float: left; width: 80px; margin-right: 6px; display: block; text-align: right; text-transform: uppercase; }
.changelog .sticker b { color: white; font-weight: bold; padding: 1px 6px 2px 6px; -moz-border-radius: 3px; -webkit-border-radius: 3px; font-size: 10px; position: relative; top:-1px; }
.changelog .fixed b { background-color: #00A825; }
.changelog .new b { background-color: #BCB901; }
.changelog .removed b { background-color: #BC0E00; }
.changelog .improved b { background-color: #0486BC; }
.changelog .note b { background-color: #AEAEAE; }
.changelog .info {
display: table-cell;
}
.changes i {
color: #999;
font-style: normal;
font-size: 10px;
}
.changes em {
font-style: normal;
background-color: #FCFFDD;
padding: 0px 2px;
border: 1px solid #ccc;
color: #999;
border-radius: 2px;
white-space: nowrap;
}
#notice {
padding: 4px 10px;
background-color:#FCFFDD;
border: 1px solid #ccc;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
.announce {
padding: 2px 6px;
background-color:#FCFFDD;
border: 1px solid #ccc;
border-radius: 4px;
display: inline-block;
margin-bottom: 8px;
margin-left: -11px;
}
</style>
<script src="//code.jquery.com/jquery-2.1.0.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/shared/js/changelog.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div id="page" class="changelog">
</div>
<script>
$.get('changelog.txt?x='+((Math.random()+"").substring(2)), function(data) {
var changelog = parsePlaintextChangelog(data);
var getDownloadLinkForVersion = function(version) {
return "https://downloads.binaryage.com/TotalFinder-"+version+".dmg"
};
var getReleaseDateText = function(date) {
return "released on " + date;
};
generateChangelogHTML("#page", changelog, getDownloadLinkForVersion, getReleaseDateText);
});
</script>
</body>
</html>