Overview
Comment:OK it was just not liking the HTML at the end of the page
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e1a556d1583b57e5e2a63150eba97f6b088bfabb
User & Date: bohwaz on 2020-12-09 00:02:52
Other Links: manifest | tags
Context
2020-12-09
00:06
Improve styling check-in: 8466b29c69 user: bohwaz tags: trunk
00:02
OK it was just not liking the HTML at the end of the page check-in: e1a556d158 user: bohwaz tags: trunk
2020-12-08
23:59
Try indent check-in: b7c6f047dd user: bohwaz tags: trunk
Changes

Modified doc/index.md from [e46ec9b1ad] to [5ded445bf0].

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
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







-






-


-



+
+









+
+
+
+
+





+
+
+
+














-
+







	display: flex;
	padding: 0;
	margin: 1em;
	margin-bottom: 1em;
	font-size: 1.2em;
	list-style: none;
	align-items: stretch;
	flex-wrap: wrap;
}

#gnav li {
	margin: 0;
	padding: 0;
	font-size: 1.2em;
	padding: .5rem 1rem;
	margin: 0 .5em;
	text-align: center;
	height: 100%;
}

#gnav li a {
	height: 100%;
	padding: .5rem 1rem;
	background: #ddf;
	color: black;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: .5em;
	border: 2px solid #99f;
}

#gnav li strong, #gnav li em {
	height: 100%;
	padding: .5rem 1rem;
}

#gnav li a:hover {
	text-decoration: underline;
	background: #eef;
}

#download {
	font-size: .8em;
}
`;

function isNewerVersion (oldVer, newVer) {
	const oldParts = oldVer.split('.')
	const newParts = newVer.split('.')
	for (var i = 0; i < newParts.length; i++) {
		const a = ~~newParts[i] // parse int
		const b = ~~oldParts[i] // parse int
		if (a > b) return true
		if (a < b) return false
	}
	return false
}

fetch('./juvlist').then((r) => {
fetch('/garradin/juvlist').then((r) => {
	r.json().then((list) => {
		let last;
		let selected;

		list.forEach((file) => {
			var v = file.name.match(/^garradin-(.*)\.tar\.bz2/);

105
106
107
108
109
110
111
112

113
114
115


116
117
118
119
120
121
122
113
114
115
116
117
118
119

120
121


122
123
124
125
126
127
128
129
130







-
+

-
-
+
+







		if (days < 31) {
			time = Math.ceil(days) + ' jours';
		}
		else if (days >= 31) {
			time = Math.round(days / 30.5) + ' mois';
		}

		document.querySelector('#download').innerHTML += `<li><h3>Dernière version : ${last}</h3></li>
		document.querySelector('#download').innerHTML += `<li><strong>Dernière version : ${last}</strong></li>
			<li><em>il y a ${days}</em></li>
			<li><a href="./wiki/?name=Changelog">Nouveautés</a></li>
			<li><a href="./uv/${selected.name}">Télécharger</a></li>`;
			<li><a href="/garradin/wiki/?name=Changelog">Nouveautés</a></li>
			<li><a href="/garradin/uv/${selected.name}">Télécharger</a></li>`;
	});
});
</script>

## C'est quoi ?

Garradin est un logiciel de gestion d'association (loi 1901 / ASBL / etc.). Son but est de permettre :