Improve fatal error template
This commit is contained in:
parent
317afd31f2
commit
cd8b577693
1 changed files with 19 additions and 7 deletions
|
@ -1,12 +1,24 @@
|
||||||
{extends file='Tpl:empty.tpl'}
|
{extends file='Tpl:empty.tpl'}
|
||||||
{block name="content"}
|
{block name="content"}
|
||||||
<h1 class="center">{t domain=$CORE_TEXT_DOMAIN}Oops...{/t}</h1>
|
<div class="p-5 mb-4 bg-light rounded-3">
|
||||||
|
<div class="container-fluid py-5">
|
||||||
<p class="center">{t domain=$CORE_TEXT_DOMAIN}A fatal error has occurred and it is preventing this application from working properly. Please try again later or contact support.{/t}</p>
|
<h1 class="display-5 fw-bold">
|
||||||
|
<i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
|
||||||
<p class='fatal_error_msg'>{t 1=$fatal_error domain=$CORE_TEXT_DOMAIN}Error: %1{/t}</p>
|
{t domain=$CORE_TEXT_DOMAIN}Oops...{/t}
|
||||||
|
</h1>
|
||||||
<div class="center"><a href="javascript:history.back()" class="btn btn-primary"><i class="fa fa-undo"></i> {t domain=$CORE_TEXT_DOMAIN}Back{/t}</a></div>
|
<p class="lead">
|
||||||
|
{t}{t domain=$CORE_TEXT_DOMAIN}A fatal error has occurred and it is preventing this application from working properly. Please try again later or contact support.{/t}{/t}
|
||||||
|
</p>
|
||||||
|
<p class="fatal_error_msg">
|
||||||
|
{t 1=$fatal_error domain=$CORE_TEXT_DOMAIN}Error: %1{/t}
|
||||||
|
</p>
|
||||||
|
<div class="text-center">
|
||||||
|
<a href="javascript:history.back()" class="btn btn-secondary">
|
||||||
|
<i class="fa fa-undo"></i> {t domain=$CORE_TEXT_DOMAIN}Back{/t}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
{*
|
{*
|
||||||
# vim: autoindent expandtab tabstop=2 shiftwidth=2 softtabstop=2
|
# vim: autoindent expandtab tabstop=2 shiftwidth=2 softtabstop=2
|
||||||
|
|
Loading…
Reference in a new issue