This repository has been archived on 2024-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
OLD-GZod01.fr_Source_Code-OLD/main-site/CyberTermHack/index.html

33 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2023-03-25 09:29:34 +00:00
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="//api.gzod01.fr/pictures/gzod01.ico">
<link rel="stylesheet" href="//api.gzod01.fr/css/style.css">
<script src="//api.gzod01.fr/scripts/main.js"></script>
<title>index.html</title>
</head>
<body>
<div id="header"></div>
<div class=content>
<ul><h1>Liste des versions</h1><li-a ref="V0.1/">Version 0.1</li-a><li-a ref="./V0.1.2:OPTIMIZED/">Version O.1.2 OPTIMISEE</li-a><li-a ref="V0.2/">Version 0.2 <span style="color:white; background-color:red">NEWEST</span></li-a></ul>
<script>
class ListAnchor extends HTMLElement { // (1)
connectedCallback() {
let t_li = document.createElement('li')
let t_a = document.createElement('a')
t_a.href= this.getAttribute('ref')
t_a.innerHTML = this.innerHTML
t_li.appendChild(t_a)
this.replaceWith(t_li)
}
}
customElements.define("li-a", ListAnchor);
</script>
</div>
<div id="footer"></div>
</body>
</html>