403 page
This commit is contained in:
8
app/templates/common/403.html
Normal file
8
app/templates/common/403.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{%- from 'common/macros.html' import subheader -%}
|
||||
{%- extends 'base.html' -%}
|
||||
{%- block title -%}Forbidden{%- endblock -%}
|
||||
{%- block content -%}
|
||||
{%- call() subheader('403 Forbidden') -%}
|
||||
<span>You are not allowed to access this page or perform this action.</span>
|
||||
{%- endcall -%}
|
||||
{%- endblock -%}
|
||||
@@ -3,6 +3,6 @@
|
||||
{%- block title -%}Not found{%- endblock -%}
|
||||
{%- block content -%}
|
||||
{%- call() subheader('404 Not Found') -%}
|
||||
<span>The requested URL was not found.</span>
|
||||
<span>The requested page was not found.</span>
|
||||
{%- endcall -%}
|
||||
{%- endblock -%}
|
||||
|
||||
Reference in New Issue
Block a user