summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-05-10 22:18:52 +0200
committerAki <please@ignore.pl>2021-05-10 22:18:52 +0200
commitae274a3d86a9489395b55bcefe7d6fd3f1b17c2f (patch)
tree6a7a9b189c7984755a4b5ccbab05c74c41e371a7
parent8c03a579a9e08f69cc5aab3f5ffe3c4a64b7c4d5 (diff)
downloadfield-ae274a3d86a9489395b55bcefe7d6fd3f1b17c2f.zip
field-ae274a3d86a9489395b55bcefe7d6fd3f1b17c2f.tar.gz
field-ae274a3d86a9489395b55bcefe7d6fd3f1b17c2f.tar.bz2
Reworked toolbar in view page
-rw-r--r--view.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/view.tmpl b/view.tmpl
index 035509c..647b718 100644
--- a/view.tmpl
+++ b/view.tmpl
@@ -4,10 +4,12 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" type="text/css" href="/style.css">
+<link rel="stylesheet" type="text/css" href="/page.css">
<title>{{.Name}} - Derelict</title>
<body>
-<div id="wrapper">
- <div id="container"></div>
+<div id="container"></div>
+<div class="toolbar-wrap">
+ <button onclick="this.parentNode.classList.toggle('enabled')">Sidebar</button>
<div id="toolbar">
<h1>Derelict</h1>
<p>LMB and drag in space to rotate camera.<br>RMB and drag in space to move camera.