website/web/templates/errors/maintenance.html

62 lines
2.1 KiB
HTML
Raw Normal View History

{{define "title"}}Not Available{{end}}
{{define "content"}}
<div class="container">
<section class="hero block is-warning is-bold">
<div class="hero-body">
<div class="container">
<h1 class="title">Not Available</h1>
<h2 class="subtitle">The website is currently unavailable</h2>
</div>
</div>
</section>
<div class="block content p-4 mb-0">
<h1>{{PrettyTitle}} is currently not available</h1>
<p>
We regret to inform you that {{PrettyTitle}} is currently not available.
</p>
<p>
The website is currently in "maintenance mode" and the feature you requested
is currently on pause. Please check back again later.
</p>
<!-- More information? -->
{{if .Reason}}
<h2>More Information</h2>
{{end}}
{{if eq .Reason "interaction"}}
<p>
All user interaction on the website is currently on pause. You are currently
logged in to an account (username: {{.CurrentUser.Username}}) and you may
remain logged-in if you want, but all actions that require a logged-in account
are currently disabled.
</p>
<p>
If you'd like, you may <a href="/logout">log out</a> or just come back later
and see if the maintenance mode of the website has been lifted.
</p>
{{else if eq .Reason "signup"}}
<p>
All new account signups are currently on pause. We are not accepting any new
members at this time. Please check back again later.
</p>
{{else if eq .Reason "login"}}
<p>
All new account logins are currently on pause. Please try again later.
</p>
{{else if eq .Reason "chat"}}
<p>
The chat room is currently offline for maintenance. Please try again some other time.
</p>
{{else}}
<p>
No further information is available at this time.
</p>
{{end}}
</div>
</div>
{{end}}