mirror of
https://github.com/twisterarmy/cloud-server.git
synced 2025-03-13 05:51:46 +00:00
fix 404 page
This commit is contained in:
parent
ec00ef7d08
commit
5ef188e19c
@ -4,4 +4,8 @@ header('HTTP/1.0 404 Not Found');
|
||||
|
||||
$metaTitle = _('Page not Found | Twisterarmy Cloud');
|
||||
|
||||
// Load dependencies
|
||||
$metaStyles = ['css/template/default/error/404.css',];
|
||||
$metaScripts = [];
|
||||
|
||||
require(PROJECT_DIR . '/application/view/error/404.phtml');
|
@ -1,8 +1,8 @@
|
||||
<?php include(PROJECT_DIR . '/application/controller/common/header/guest.php') ?>
|
||||
<div class="mw-1024 mx-auto of-hidden">
|
||||
<div class="mw-360 mx-auto my-100 bg-c-4 b-r-3 py-28 px-24">
|
||||
<h1 class="f-size-65 f-normal mb-20 t-center"><?php echo _('404') ?></h1>
|
||||
<p class="t-center"><?php echo _('Page not Found') ?></p>
|
||||
<div class="container">
|
||||
<div class="error404">
|
||||
<h1><?php echo _('404') ?></h1>
|
||||
<?php echo _('Page not Found') ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php include(PROJECT_DIR . '/application/controller/common/footer/guest.php') ?>
|
14
src/public/css/template/default/error/404.css
Normal file
14
src/public/css/template/default/error/404.css
Normal file
@ -0,0 +1,14 @@
|
||||
.error404 {
|
||||
border-radius: 3px;
|
||||
padding: 36px 16px;
|
||||
margin: 100px auto;
|
||||
background-color: #272E39;
|
||||
width: 360px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.error404 h1 {
|
||||
margin-bottom: 20px;
|
||||
font-weight: normal;
|
||||
font-size: 36px;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user