Resources attached to the Road To DevOps tutorial https://blog.noobtoroot.xyz/road-to-devops/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.2 KiB

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>SII - Formation Docker</title>
<link rel="icon" type="image/png" href="index/favicon-logo-sii.png" />
<link rel="stylesheet" href="index/sii.css"> <!-- SII theme -->
</head>
<body>
<div id="content"></div>
<script src="index/marked.min.js"></script>
<script>
fileName = 'README.md';
fileContent = '';
// Read file content
function readTextFile(file) {
var rawFile = new XMLHttpRequest();
rawFile.open("GET", file, false);
rawFile.onreadystatechange = function () {
if(rawFile.readyState === 4) {
if(rawFile.status === 200 || rawFile.status == 0) {
fileContent = rawFile.responseText;
}
}
}
rawFile.send(null);
}
readTextFile(fileName);
// Convert markdown file content to html
document.getElementById('content').innerHTML =
marked(fileContent);
</script>
<img class="logo" src="index/logo-sii.svg" />
<p class="footer">SII • www.groupe-sii.com • août 2018</p>
</body>
</html>