Error handler and allow video IDs from app share
This commit is contained in:
parent
f18dd802d5
commit
93de0c2d23
9 changed files with 107 additions and 20 deletions
22
views/error.latte
Normal file
22
views/error.latte
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
{include 'components/head.latte', title: 'ERROR'}
|
||||
|
||||
<body>
|
||||
<section class="hero is-danger is-fullheight">
|
||||
<div class="hero-head">
|
||||
{include 'components/navbar.latte'}
|
||||
</div>
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
<p class="title">{$type|firstUpper} error</p>
|
||||
<p class="subtitle">{$error['message']}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-foot is-danger">
|
||||
{include 'components/footer.latte'}
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue