2023-03-16 22:26:54 +00:00
|
|
|
<!DOCTYPE html>
|
2023-03-17 02:18:29 +00:00
|
|
|
|
2023-03-16 22:26:54 +00:00
|
|
|
<html lang="en-US">
|
2023-03-17 02:18:29 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
|
|
|
|
<title>Web-Test | NerdEMU</title>
|
|
|
|
<link rel="stylesheet" href="test.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
2023-03-17 13:48:26 +00:00
|
|
|
<noscript>THIS PAGE DOES NOT WORK WITHOUT JAVASCRIPT!</noscript>
|
2023-03-17 02:18:29 +00:00
|
|
|
|
2023-03-17 13:48:26 +00:00
|
|
|
<div class="horizontal-aligner">
|
|
|
|
<div class="info-view generic-panel">
|
|
|
|
<div class="header">
|
|
|
|
<p>Information- / Debug - View</p>
|
|
|
|
</div>
|
2023-03-17 02:18:29 +00:00
|
|
|
|
|
|
|
|
2023-03-17 13:48:26 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="monitor-view">
|
|
|
|
<div class="monitor" id="primary-monitor">
|
|
|
|
<div class="info-header">Primary Monitor</div>
|
|
|
|
<canvas class="output">HTML5 Canvas must be supported!</canvas>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="control-view generic-panel">
|
|
|
|
<div class="header">
|
|
|
|
<p>Control Panel</p>
|
|
|
|
</div>
|
|
|
|
|
2023-03-17 02:18:29 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-03-17 13:48:26 +00:00
|
|
|
<div id="configurator">
|
2023-03-17 02:18:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2023-03-17 13:48:26 +00:00
|
|
|
</div>
|
2023-03-17 02:18:29 +00:00
|
|
|
</body>
|
|
|
|
|
|
|
|
<script src="test.js"></script>
|
|
|
|
<script type="module">
|
|
|
|
import init, { greet } from "./base/pkg/nemu_base.js";
|
|
|
|
|
|
|
|
init().then(() => {
|
|
|
|
greet("NerdEMU");
|
|
|
|
});
|
|
|
|
</script>
|
2023-03-16 22:26:54 +00:00
|
|
|
</html>
|