summaryrefslogtreecommitdiffhomepage
path: root/view.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'view.tmpl')
-rw-r--r--view.tmpl34
1 files changed, 34 insertions, 0 deletions
diff --git a/view.tmpl b/view.tmpl
new file mode 100644
index 0000000..835d2f0
--- /dev/null
+++ b/view.tmpl
@@ -0,0 +1,34 @@
+{{define "view"}}
+<!doctype html>
+<html lang="en">
+<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">
+<title>Derelict</title>
+<body>
+<div id="wrapper">
+ <div id="container"></div>
+ <div id="toolbar">
+ <h1>Derelict</h1>
+ <p>LMB and drag in space to rotate camera.<br>RMB and drag in space to move camera.
+ <p>LMB wreck to open killmail.<br>RMB wreck to focus camera.
+ <p>Address must contain <code>id</code> parameter to show some wrecks.
+ <br>Currently there is no service that would offer an API to acquire battle reports, so only battles that I
+ uploaded manually are available as of now:
+ <ul>
+ <li><a href="?id=30002016_202012141900">Random nano gang</a>
+ <li><a href="?id=30002537_202104060300">Battle in Amamake</a>
+ <li><a href="?id=31000376_202103301800">Another nano gang</a>
+ <li><a href="?id=31001761_202012040000">Foxholers eviction defense</a>
+ <li><a href="?id=31000488_202104142200">Fight in J123450</a>
+ <li><a href="?id=30002134_202104152000">French fries nano</a>
+ </ul>
+ <p>I plan to address this issue.
+ <h2>Grid</h2>
+ <select id="grid"></select>
+ <h2>Timeline</h2>
+ <input type="range" id="timeline">
+ </div>
+</div>
+<script type="module" src="/derelict.js"></script>
+{{end}}