Generate error pages
This commit is contained in:
parent
e4106ef46c
commit
5e8781baf7
6 changed files with 72 additions and 24 deletions
|
|
@ -1,12 +0,0 @@
|
|||
{extends file="layout.tpl"}
|
||||
{block name=content}
|
||||
<div class="page-header">
|
||||
<h1>
|
||||
{text file="erreurs" path="$err/title"}
|
||||
<small>{text file="erreurs" path="$err/subtitle"}</small>
|
||||
</h1>
|
||||
</div>
|
||||
<p>
|
||||
{text file="erreurs" path="$err/content"}
|
||||
</p>
|
||||
{/block}
|
||||
15
onyx/tpl/bootstrap/err.tpl
Normal file
15
onyx/tpl/bootstrap/err.tpl
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{extends file="layout.tpl"}
|
||||
|
||||
{block name=content}
|
||||
<div class="jumbotron">
|
||||
<div class="container">
|
||||
<h1>
|
||||
{text file="erreurs" path="$err/title"}
|
||||
<small>{text file="erreurs" path="$err/subtitle"}</small>
|
||||
</h1>
|
||||
<p>
|
||||
{text file="erreurs" path="$err/content"}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
Reference in a new issue