work on weather services; outbound http request caching; styles updates and icons
This commit is contained in:
22
templates/controls.html.mustache
Normal file
22
templates/controls.html.mustache
Normal file
@@ -0,0 +1,22 @@
|
||||
<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>
|
Reference in New Issue
Block a user