add handlebars for blueprints

This commit is contained in:
Lachlan Kermode
2020-06-02 14:58:22 +02:00
parent aa30489be9
commit 63c26bdb12
7 changed files with 143 additions and 8 deletions

8
views/blueprints.hbs Normal file
View File

@@ -0,0 +1,8 @@
<h1>Blueprints</h1>
{{#each bps}}
<div>Source: {{ source }}</div>
<div>Tab: {{ tab }}</div>
<div>URLS: {{ urls }}</div>
<br>
{{/each}}

15
views/layouts/default.hbs Normal file
View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Datasheet Server</title>
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
</head>
<body>
<div class="container">
{{{body}}}
</div>
</body>
</html>