mirror of
https://github.com/thomiceli/opengist.git
synced 2025-06-12 13:37:13 +02:00
Initial commit
This commit is contained in:
14
templates/pages/error.html
vendored
Normal file
14
templates/pages/error.html
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
{{ template "header" .}}
|
||||
|
||||
<div class="mt-4">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-12 w-12 text-slate-400">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z" />
|
||||
</svg>
|
||||
|
||||
<h1 class="mt-2 text-3xl font-medium text-slate-300">Error {{ .error.Code }}</h1>
|
||||
<h3 class="mt-2 text-md font-medium text-slate-300">{{ httpStatusText .error.Code }}</h3>
|
||||
{{ if lt .error.Code 500 }}
|
||||
<p class="mt-2 text-sm font-medium text-slate-300">{{ .error.Message }}</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ template "footer" .}}
|
Reference in New Issue
Block a user