easybridge/templates/home.html

31 lines
576 B
HTML
Raw Normal View History

2020-02-26 16:45:25 +00:00
{{define "title"}}{{end}}
{{define "body"}}
<div class="alert alert-info">
Logged in as <strong>{{ .Login.MxId }}</strong>
</div>
<div class="d-flex">
<a class="ml-auto btn btn-sm btn-dark" href="/logout">Log out</a>
</div>
<table class="table mt-4">
<thead>
<tr>
<th>Account name</th>
<th>Protocol</th>
<th></th>
</tr>
</thead>
<tbody>
{{range $name, $acc := .Accounts}}
<tr>
<td>{{ $name }}</td>
<td>{{ $acc.Protocol }}</td>
<td>Modifier etc</td>
</tr>
{{end}}
</tbody>
</table>
{{end}}