21 lines
451 B
HTML
21 lines
451 B
HTML
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Complete Hospital HIS</title>
|
|
</head>
|
|
<body>
|
|
<h1>Complete Hospital HIS Dashboard</h1>
|
|
<button onclick="load()">Load Modules</button>
|
|
<pre id="out"></pre>
|
|
|
|
<script>
|
|
async function load() {
|
|
const r = await fetch('http://localhost:4000/api/modules');
|
|
const d = await r.json();
|
|
document.getElementById('out').textContent = JSON.stringify(d, null, 2);
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|