forked from Deuxfleurs/guichet
48 lines
1.5 KiB
HTML
48 lines
1.5 KiB
HTML
{{define "title"}}{{end}}
|
|
|
|
{{define "body"}}
|
|
<div class="alert alert-info">
|
|
Welcome, <strong>{{ .Login.WelcomeName }}</strong> !
|
|
</div>
|
|
<div class="d-flex">
|
|
<a class="ml-auto btn btn-sm btn-dark" href="/logout">Disconnect</a>
|
|
</div>
|
|
<div class="mt-3"></div>
|
|
|
|
<div class="card">
|
|
<div class="card-header">
|
|
My Account
|
|
</div>
|
|
<div class="list-group list-group-flush">
|
|
<a class="list-group-item list-group-item-action" href="/profile">Modify My Profile</a>
|
|
<a class="list-group-item list-group-item-action" href="/passwd">Modify My Password</a>
|
|
<a class="list-group-item list-group-item-action" href="/directory">Directory</a>
|
|
</div>
|
|
</div>
|
|
|
|
{{if .Login.CanInvite}}
|
|
<div class="card mt-3">
|
|
<div class="card-header">
|
|
Invite People To Deuxfleurs
|
|
</div>
|
|
<div class="list-group list-group-flush">
|
|
<a class="list-group-item list-group-item-action" href="/invite/send_code">Send an invite code</a>
|
|
<a class="list-group-item list-group-item-action" href="/invite/new_account">Create a new Account</a>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
|
|
{{if .Login.CanAdmin}}
|
|
<div class="card mt-3">
|
|
<div class="card-header">
|
|
Administration
|
|
</div>
|
|
<div class="list-group list-group-flush">
|
|
<a class="list-group-item list-group-item-action" href="/admin/users">Users</a>
|
|
<a class="list-group-item list-group-item-action" href="/admin/groups">Groups</a>
|
|
<a class="list-group-item list-group-item-action" href="/admin/ldap/{{.BaseDN}}">Explore the Directory</a>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
|
|
{{end}}
|