20 lines
579 B
Cheetah
20 lines
579 B
Cheetah
{{define "header"}}
|
|
<div class="columns is-mobile">
|
|
<div class="column is-4-tablet is-8-mobile">
|
|
<div class="columns is-mobile is-gapless">
|
|
<div class="column is-narrow">
|
|
<h1 class="is-size-3 title"><a href="/" rel="Homepage" class="has-text-black">OIDC Test App</a></h1>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="column">
|
|
<div class="buttons is-right">
|
|
{{if .IDToken}}
|
|
<a class="button" href="/logout">Logout</a>
|
|
{{else}}
|
|
<a class="button is-primary" href="/login">Login</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}} |