bricks/xterm/index.ui

29 lines
626 B
Plaintext
Raw Normal View History

2023-09-14 10:28:07 +08:00
<html>
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/xterm@4.19.0/css/xterm.css" />
<link rel="stylesheet" href="/bricks/css/bricks.css" />
<script src="https://cdn.jsdelivr.net/npm/xterm@4.19.0/lib/xterm.js"></script>
<script src="
https://cdn.jsdelivr.net/npm/xterm-addon-fit@0.8.0/lib/xterm-addon-fit.min.js
"></script>
</head>
<body>
<script src="/bricks/bricks.js"></script>
<script>
const opts =
{
"widget": {
2023-12-18 18:15:22 +08:00
"widgettype":"urlwidget",
2023-09-14 10:28:07 +08:00
"options":{
2023-12-18 18:15:22 +08:00
"url":"{{entire_url('wterm.ui')}}"
2023-09-14 10:28:07 +08:00
}
}
}
;
const app = new BricksApp(opts);
app.run();
</script>
</body>
</html>