38 lines
1.4 KiB
HTML
38 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Rapport d'import FIC</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
|
<style>li:hover { background: lightgrey; }
|
|
</style>
|
|
<script type="text/javascript">
|
|
function disp(data) {
|
|
Object.keys(data).map(function(theme) {
|
|
if (data[theme] != null) {
|
|
var title = document.createElement("h3");
|
|
title.id = theme;
|
|
title.innerHTML = theme;
|
|
document.getElementById("content").appendChild(title);
|
|
|
|
var row = document.createElement("ul");
|
|
row.type = "square";
|
|
for (var i = 0; i < data[theme].length; i++) {
|
|
var col = document.createElement("li");
|
|
col.innerHTML = data[theme][i];
|
|
row.appendChild(col);
|
|
}
|
|
document.getElementById("content").appendChild(row);
|
|
document.getElementById("content").appendChild(document.createElement("hr"));
|
|
}
|
|
});
|
|
}
|
|
</script>
|
|
</head>
|
|
<body class="container">
|
|
<h1>Rapport d'import FIC</h1>
|
|
<div id="content"></div>
|
|
<script src="full_import_report.json"></script>
|
|
</body>
|
|
</html>
|