mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-10-30 11:46:16 +00:00
34 lines
604 B
Plaintext
34 lines
604 B
Plaintext
|
{% func BaseHTML(title, body string) %}
|
||
|
<!doctype html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<link rel="stylesheet" type="text/css" href="/static/common.css">
|
||
|
<title>{%s title %}</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
{%s= body %}
|
||
|
</body>
|
||
|
</html>
|
||
|
{% endfunc %}
|
||
|
|
||
|
{% func PageListHTML(tbody string) %}
|
||
|
<main>
|
||
|
<h1>List of pages</h1>
|
||
|
<table>
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Name</th>
|
||
|
<th>Text path</th>
|
||
|
<th>Text type</th>
|
||
|
<th>Binary path</th>
|
||
|
<th>Binary type</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{%s= tbody %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</main>
|
||
|
{% endfunc %}
|