Ghost/ghost/admin/app/templates/error.hbs

31 lines
1.2 KiB
Handlebars
Raw Normal View History

2015-06-08 13:13:42 +03:00
<div class="gh-view">
<section class="flex flex-column items-center flex-grow justify-center h-100 nt10">
<div class="absolute error-background nudge-right--5">
{{svg-jar "desert" class="error-background absolute"}}
<div class="traveler-1">{{svg-jar "tumbleweed" class="w6 h6 absolute bouncer-1"}}</div>
<div class="traveler-2">{{svg-jar "tumbleweed" class="w11 h11 absolute bouncer-2"}}</div>
</div>
2021-07-08 16:42:46 +03:00
<div class="mt5 tc">
<h1 class="midlightgrey error-code-size fw6">{{this.code}}</h1>
<h2 class="midlightgrey f4 fw3">{{this.message}}</h2>
</div>
</section>
{{#if this.stack}}
2015-06-08 13:13:42 +03:00
<section class="error-stack">
<h3>Stack Trace</h3>
<p><strong>{{this.message}}</strong></p>
2015-06-08 13:13:42 +03:00
<ul class="error-stack-list">
{{#each this.stack as |item|}}
2015-06-08 13:13:42 +03:00
<li>
at
{{#if item.function}}<em class="error-stack-function">{{item.function}}</em>{{/if}}
<span class="error-stack-file">({{item.at}})</span>
</li>
{{/each}}
</ul>
</section>
{{/if}}
</div>