eclipse/cmd/eclipse-httpd/html/lib/page.html.tmpl

43 lines
1.1 KiB
Cheetah
Raw Normal View History

2024-01-18 02:47:08 +00:00
{{/*
* Copyright (C) 2023-2024 Umorpha Systems
* SPDX-License-Identifier: AGPL-3.0-or-later
*/ -}}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Eclipse CI : {{ template "page-title" . }}</title>
<link rel="stylesheet" type="text/css" href="/style.css">
2024-03-03 06:11:43 +00:00
{{- jsLicense }}
2024-01-28 00:18:22 +00:00
<script>
function localizeTimes() {
var formatter = new Intl.DateTimeFormat(undefined, {
year: 'numeric',
month: 'numeric',
day: 'numeric',
hour: 'numeric',
minute: 'numeric',
second: 'numeric',
timeZoneName: 'short',
});
for (const el of document.getElementsByTagName('time')) {
el.textContent = formatter.format(new Date(el.dateTime));
}
}
document.addEventListener('DOMContentLoaded', localizeTimes);
</script>
2024-01-18 02:47:08 +00:00
</head>
<body>
<header>
<h1>Eclipse CI : {{ template "page-title" . }}</h1>
</header>
<article>
{{- template "page-content" . }}
</article>
<footer>
Eclipse CI is free software under the GNU AGPL.
<a href="/eclipse.tar">Download the source code.</a>
</footer>
</body>
</html>