add main-site
This commit is contained in:
parent
0bcf58c844
commit
0a3a77a9ff
52 changed files with 11206 additions and 0 deletions
32
main-site/CyberTermHack/index.html
Normal file
32
main-site/CyberTermHack/index.html
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<!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>
|
||||
Reference in a new issue