2023-10-18 23:58:51 +00:00
|
|
|
<!DOCTYPE html>
|
2023-10-18 21:23:22 +00:00
|
|
|
<html lang="">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
2023-10-18 23:11:03 +00:00
|
|
|
<title>WIP: Obsiview</title>
|
2023-10-19 10:41:35 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2023-10-26 02:53:08 +00:00
|
|
|
<!-- Interaction scripts -->
|
|
|
|
<script type="module" src="src/index.mjs"></script>
|
|
|
|
<!-- Global style -->
|
2023-10-29 18:19:29 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="style/base.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="style/light.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="style/dark.css">
|
2023-10-26 02:53:08 +00:00
|
|
|
<!-- Templates -->
|
|
|
|
<template id="template-vault">
|
|
|
|
<div class="vault">
|
|
|
|
<slot name="vault-child"></slot>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<template id="template-canvas">
|
|
|
|
<div class="canvas">
|
|
|
|
<slot name="canvas-nodes">{Canvas nodes}</slot>
|
2023-10-27 01:15:29 +00:00
|
|
|
<slot name="canvas-edges">{Canvas edges}</slot>
|
2023-10-26 02:53:08 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
2023-10-21 22:37:05 +00:00
|
|
|
<template id="template-display">
|
2023-10-24 07:53:59 +00:00
|
|
|
<slot name="display-container">{Displayed content}</slot>
|
2023-10-21 22:37:05 +00:00
|
|
|
</template>
|
|
|
|
<template id="template-node-group">
|
2023-10-26 02:53:08 +00:00
|
|
|
<div class="canvas-item node node-group">
|
|
|
|
<aside class="node-group-label">
|
|
|
|
<h1 class="node-group-label-title"><slot name="node-group-label">{Group label}</slot></h1>
|
|
|
|
</aside>
|
|
|
|
</div>
|
2023-10-21 22:37:05 +00:00
|
|
|
</template>
|
|
|
|
<template id="template-node-file">
|
2023-10-26 02:53:08 +00:00
|
|
|
<article class="canvas-item node node-file">
|
|
|
|
<h1 class="node-file-label">
|
|
|
|
<slot name="node-file-label">{Node title}</slot>
|
2023-10-18 21:23:22 +00:00
|
|
|
</h1>
|
2023-10-26 02:53:08 +00:00
|
|
|
<slot name="node-file-contents">{Node contents}</slot>
|
2023-10-20 01:44:56 +00:00
|
|
|
</article>
|
|
|
|
</template>
|
2023-10-21 22:37:05 +00:00
|
|
|
<template id="template-node-text">
|
2023-10-26 02:53:08 +00:00
|
|
|
<article class="canvas-item node node-text">
|
|
|
|
<slot name="node-text-contents">{Node contents}</slot>
|
2023-10-21 22:37:05 +00:00
|
|
|
</article>
|
|
|
|
</template>
|
|
|
|
<template id="template-edge">
|
2023-10-27 00:44:49 +00:00
|
|
|
<div class="canvas-item edge">
|
2023-10-26 02:53:08 +00:00
|
|
|
<slot name="edge-svg">{Edge SVG}</slot>
|
|
|
|
</div>
|
2023-10-21 22:37:05 +00:00
|
|
|
</template>
|
|
|
|
<template id="template-markdown">
|
2023-10-26 02:53:08 +00:00
|
|
|
<div class="markdown">
|
|
|
|
<slot name="markdown-document">{Markdown text}</slot>
|
|
|
|
</div>
|
2023-10-21 22:37:05 +00:00
|
|
|
</template>
|
2023-10-22 01:40:49 +00:00
|
|
|
<template id="template-frontmatter">
|
2023-10-26 02:53:08 +00:00
|
|
|
<div class="frontmatter">
|
|
|
|
<slot name="frontmatter-contents">{Markdown text}</slot>
|
|
|
|
</div>
|
2023-10-22 01:40:49 +00:00
|
|
|
</template>
|
2023-10-26 02:53:08 +00:00
|
|
|
<template id="template-hashtag">
|
|
|
|
<span class="hashtag"><slot name="hashtag-tag">{#Hashtag}</slot></span>
|
2023-10-18 21:23:22 +00:00
|
|
|
</template>
|
2023-10-19 12:56:08 +00:00
|
|
|
<template id="template-wikilink">
|
2023-10-27 00:44:49 +00:00
|
|
|
<a class="wikilink"></a>
|
2023-10-19 12:56:08 +00:00
|
|
|
</template>
|
2023-10-20 01:44:56 +00:00
|
|
|
</head>
|
2023-10-27 00:44:49 +00:00
|
|
|
<body is="x-browse"></body>
|
2023-10-18 21:23:22 +00:00
|
|
|
</html>
|