22 lines
471 B
Plaintext
22 lines
471 B
Plaintext
<aside class="controls">
|
|
<div>
|
|
{{# user }}
|
|
<p>Logged in as
|
|
{{# user.name }}{{ user.name }}{{/ user.name }}
|
|
{{^ user.name }}{{ user.username }}{{/ user.name }}
|
|
-
|
|
</p>
|
|
<form action="/logout" method="POST">
|
|
<button type="submit">Logout</button>
|
|
</form>
|
|
{{/ user }}
|
|
|
|
{{^ user }}
|
|
<form action="/login" method="POST">
|
|
<button type="submit">Login with OpenID Connect</button>
|
|
</form>
|
|
{{/ user }}
|
|
</div>
|
|
|
|
{{> color_theme_controls }}
|
|
</aside> |