blob: 1b4dd8be8eca78c115814b0c608dba733e8ccec9 (
plain) (
tree)
|
|
{{ define tp_index(handle: io::handle, segments: []str) (void | io::error | nomem) }}
<!DOCTYPE html>
<html lang="en">
<head>
{{ render _tp_head_common(handle) }}
<title>Index – {{ global.title }}</title>
</head>
<body>
{{ render _tp_header(handle, "test", "test") }}
<h2>Path segments</h2>
<ul>
{{ for let s .. segments }}
<li>{{ s }}</li>
{{ end }}
</ul>
<div class="padding-wrapper">
<table class="wide rounded">
<thead>
<tr>
<th colspan="2" class="title-row">Groups</th>
</tr>
<tr>
<th scope="col">Name</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div class="padding-wrapper">
<table class="wide rounded">
<thead>
<tr>
<th colspan="2" class="title-row">
Info
</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">SSH public key</th>
<td><code>{{ global.ssh_pubkey }}</code></td>
</tr>
<tr>
<th scope="row">SSH fingerprint</th>
<td><code>{{ global.ssh_fp }}</code></td>
</tr>
</tbody>
</table>
</div>
<footer>
{{ render _tp_footer(handle) }}
</footer>
</body>
</html>
{{ end }}
|