-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.html
31 lines (28 loc) · 987 Bytes
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html>
<head>
<title>TKML Dev Test</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="dist/styles.min.css">
<script src="dist/tkml.min.js"></script>
</head>
<body>
<div id="container"></div>
<script>
const container = document.getElementById('container');
const tkml = new TKML(container, { dark: true });
tkml.addPage('/', `
<title center>TKML Dev Test</title>
<br/>
<list>
<section href="http://localhost:8348/"><b>[localhost:8348]</b> testing playground</section>
<section href="http://localhost:8084/"><b>[localhost:8084]</b> testing playground</section>
</list>
<br/>
<msg type="info">Changes should be reflected automatically when you modify the source code.</msg>
`)
tkml.route()
</script>
</body>
</html>