Make a stupid page with a layout template
This commit is contained in:
13
assets/tmpl/layout.tmpl
Normal file
13
assets/tmpl/layout.tmpl
Normal file
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Everything is Peachy</title>
|
||||
</head>
|
||||
<body>
|
||||
{% function block.pagebody() %}
|
||||
<h1>It works!</h1>
|
||||
<p>But something seems to be missing…</p>
|
||||
{% end %}
|
||||
{% block.pagebody() %}
|
||||
</body>
|
||||
</html>
|
4
assets/tmpl/opendb.tmpl
Normal file
4
assets/tmpl/opendb.tmpl
Normal file
@ -0,0 +1,4 @@
|
||||
{% function block.pagebody() %}
|
||||
<p>Please select a database file to load.</p>
|
||||
{% end %}
|
||||
{% render('layout') %}
|
Reference in New Issue
Block a user