D3vugu-components/html/navbar.html

160 lines
7.0 KiB
HTML
Raw Permalink Normal View History

2023-05-08 18:43:07 +00:00
<!DOCTYPE html>
<html>
<head>
<title>D3vugu-components examples</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://cdn.jsdelivr.net/npm/text-encoding@0.7.0/lib/encoding.min.js"></script>
<script src="/wasm_exec.js"></script>
<style>
html {
font-family: "Segoe UI", sans-serif;
}
body {
margin: 0;
}
.d3c-icon-stroke {
stroke: black;
}
.d3c-icon-fill {
fill: black;
}
</style>
<style>
.d3c-1633357633 {
width: 100%;
height: 100%;
position: absolute;
display: flex;
}
.d3c-1633357633-sidebar {
height: 100%;
border-right: 1px solid RGBA(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
flex-shrink: 0;
background-color: white;
position: relative;
}
.d3c-1633357633-spacer {
flex-grow: 1;
}
.d3c-1633357633-body {
overflow: auto;
flex-grow: 1;
flex-shrink: 1;
padding: 0 16px;
}
</style>
<style>
.d3c-1633424238 {
padding: 8px;
margin: 4px;
border-radius: 4px;
}
.d3c-1633424238>* {
margin-right: 12px;
height: 16px;
}
.d3c-1633424238:hover {
background-color: RGBA(127, 127, 127, 0.1);
}
.d3c-1633424238-selected {
background-color: RGBA(127, 127, 127, 0.2);
}
</style>
</head>
<body>
<div style="width: 100vw; height: 100wh;">
<div class="d3c-1633357633">
<div class="d3c-1633357633-sidebar" style="width: 300px;">
<div>
<div class="d3c-1633424238">
<svg viewBox="0 0 16 16">
<path class="d3c-icon-stroke" d="M0.5 8.5l15 0m-15 5l15 0m-15 -10l15 0" stroke="black"
stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"></path>
</svg>
</div>
</div>
<div>
<div class="d3c-1633424238">
<svg viewBox="0 0 16 16">
<polygon class="d3c-icon-stroke"
points="0.5,15.5 0.5,5.5 8,0.5 15.5,5.5 15.5,15.5 9.5,15.5 9.5,10.5 6.5,10.5 6.5,15.5"
stroke="black" stroke-width="1" stroke-linejoin="round" fill="none"></polygon>
</svg>Entry 1
</div>
<div class="d3c-1633424238">
<svg viewBox="0 0 16 16">
<path class="d3c-icon-stroke" d="M0.5 8.5l15 0m-15 5l15 0m-15 -10l15 0" stroke="black"
stroke-width="1" stroke-linejoin="round" stroke-linecap="round" fill="none"></path>
</svg>Icons
</div>
<div class="d3c-1633424238">
<svg viewBox="0 0 16 16"></svg>Entry 3
</div>
</div>
<div class="d3c-1633357633-spacer"></div>
<div>
<div class="d3c-1633424238">
<svg viewBox="0 0 16 16">
<path class="d3c-icon-stroke"
d="M8.001 10.504c1.384,0 2.503,-1.119 2.503,-2.503 0,-1.384 -1.119,-2.503 -2.503,-2.503 -1.384,0 -2.503,1.119 -2.503,2.503 0,1.384 1.119,2.503 2.503,2.503zm-5.332 -1.157c-0.218,-0.87 -0.225,-1.797 0,-2.693l-1.784 -1.03c0.157,-0.468 0.362,-0.929 0.62,-1.374 0.256,-0.444 0.552,-0.853 0.88,-1.224l1.784 1.031c0.645,-0.625 1.444,-1.095 2.332,-1.346l0 -2.061c0.484,-0.098 0.986,-0.15 1.5,-0.15 0.514,0 1.016,0.052 1.5,0.15l0.001 2.063c0.863,0.246 1.668,0.7 2.33,1.344l1.785 -1.031c0.327,0.371 0.624,0.78 0.88,1.225 0.257,0.444 0.463,0.905 0.62,1.373l-1.786 1.033c0.219,0.87 0.227,1.795 0.001,2.69l1.785 1.03c-0.157,0.469 -0.363,0.93 -0.62,1.375 -0.256,0.444 -0.553,0.853 -0.88,1.224l-1.787 -1.032c-0.645,0.625 -1.441,1.095 -2.329,1.347l0 2.061c-0.484,0.098 -0.986,0.15 -1.5,0.15 -0.514,0 -1.016,-0.052 -1.5,-0.15l-0.001 -2.063c-0.864,-0.246 -1.668,-0.701 -2.331,-1.345l-1.784 1.032c-0.328,-0.371 -0.624,-0.78 -0.88,-1.225 -0.258,-0.444 -0.463,-0.905 -0.62,-1.374l1.784 -1.03z"
stroke="black" stroke-width="1" stroke-linejoin="round" fill="none"></path>
</svg>Bottom
</div>
</div>
</div>
<div class="d3c-1633357633-body">
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
<p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
<p>Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p>
</div>
</div>
</div>
<script>
var wasmSupported = (typeof WebAssembly === "object");
if (wasmSupported) {
if (!WebAssembly.instantiateStreaming) {
WebAssembly.instantiateStreaming = async (resp, importObject) => {
const source = await (await resp).arrayBuffer();
return await WebAssembly.instantiate(source, importObject);
};
}
const go = new Go();
WebAssembly.instantiateStreaming(fetch("/main.wasm"), go.importObject).then((result) => {
go.run(result.instance);
});
} else {
document.getElementById("vugu_mount_point").innerHTML = 'This application requires WebAssembly support. Please upgrade your browser.';
}
</script>
</body>
</html>