Files

84 lines
3.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Data documentation</title>
<meta charset="utf-8">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-128628977-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-128628977-1');
</script>
<script src="https://code.jquery.com/jquery-1.10.2.min.js" > </script>
<script src="https://cdn.datatables.net/1.10.7/js/jquery.dataTables.js"> </script>
<script type="text/javascript" charset="utf8"
src="https://cdn.datatables.net/colvis/1.1.2/js/dataTables.colVis.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script type="text/javascript">
var $j = $.noConflict(true);
</script>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.7/css/jquery.dataTables.css"/>
<link rel="stylesheet" type="text/css"
href="https://cdn.datatables.net/colvis/1.1.2/css/dataTables.colVis.min.css"/>
<style>
.tab-content { position:absolute; width: 95%; left:20px; }
table.packets { width: auto; }
table.packets th, table.packets td {
text-align: center;
vertical-align: inherit;
}
#top { padding: 1%; }
/* top version picker */
.active-version-link { color: red; font-weight: bold; }
a { cursor: pointer; }
</style>
</head>
<body>
<div id="top"></div>
<div id="main">
<ul class="nav nav-tabs" role="tablist" id="navTabs"></ul>
<div class="tab-content" id="tabContent">
<h1>Please wait...</h1>
</div>
</div>
<script async src="https://cdn.rawgit.com/skyzyx/dombuilder/1.3/dombuilder.min.js"></script>
<script>
class WebView extends HTMLElement {
scrollCallback = () => {
if (!document.getElementById(location.hash.slice(1)) && location.hash) {
this.shadowRoot.getElementById(location.hash.slice(1))?.scrollIntoView({ behavior: 'smooth' })
}
}
connectedCallback() {
fetch(this.getAttribute('src'))
.then(response => response.text())
.then(html => {
const shadow = this.attachShadow({ mode: 'open' });
shadow.innerHTML = html;
})
.then(() => setTimeout(() => this.scrollCallback(), 500))
window.addEventListener('hashchange', this.scrollCallback, false);
}
disconnectedCallback() {
window.removeEventListener('hashchange', this.scrollCallback)
}
}
window.customElements.define('html-view', WebView)
</script>
<script async src="./bundle.js"></script>
</body>
</html>