easyappointments/src/application/views/general/error404.php

113 lines
3.9 KiB
PHP
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
2015-07-09 00:14:42 +03:00
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#35A768">
<title><?php echo $this->lang->line('page_not_found') . ' - ' . $company_name; ?></title>
<?php
// ------------------------------------------------------------
// INCLUDE CSS FILES
// ------------------------------------------------------------ ?>
<link
rel="stylesheet"
type="text/css"
2015-07-08 01:17:39 +03:00
href="<?php echo $this->config->item('base_url'); ?>/assets/ext/bootstrap/css/bootstrap.min.css">
<?php
// ------------------------------------------------------------
// SET PAGE FAVICON
// ------------------------------------------------------------ ?>
<link
rel="icon"
type="image/x-icon"
href="<?php echo $this->config->item('base_url'); ?>/assets/img/favicon.ico">
<?php
// ------------------------------------------------------------
// CUSTOM PAGE JS
// ------------------------------------------------------------ ?>
<script type="text/javascript">
var EALang = <?php echo json_encode($this->lang->language); ?>;
</script>
<?php
// ------------------------------------------------------------
// INCLUDE JS FILES
// ------------------------------------------------------------ ?>
<script
type="text/javascript"
2015-07-08 01:17:39 +03:00
src="<?php echo $this->config->item('base_url'); ?>/assets/ext/jquery/jquery.min.js"></script>
<script
type="text/javascript"
2015-07-08 01:17:39 +03:00
src="<?php echo $this->config->item('base_url'); ?>/assets/ext/bootstrap/js/bootstrap.min.js"></script>
<script
type="text/javascript"
2015-07-08 01:17:39 +03:00
src="<?php echo $this->config->item('base_url'); ?>/assets/ext/datejs/date.js"></script>
<script
type="text/javascript"
src="<?php echo $this->config->item('base_url'); ?>/assets/js/general_functions.js"></script>
<?php
// ------------------------------------------------------------
// CUSTOM PAGE CSS
// ------------------------------------------------------------ ?>
<style>
body {
2015-07-09 00:14:42 +03:00
width: 100vw;
height: 100vh;
display: table-cell;
vertical-align: middle;
background-color: #CAEDF3;
}
#message-frame {
width: 630px;
2015-07-09 00:14:42 +03:00
margin: auto;
background: #FFF;
border: 1px solid #DDDADA;
padding: 70px;
}
.btn {
margin-right: 10px;
}
2015-07-09 00:14:42 +03:00
@media(max-width: 640px) {
#message-frame {
width: 100%;
padding: 20px;
}
.btn {
width: 100%;
margin-bottom: 20px;
}
}
</style>
</head>
<body>
<div id="message-frame" class="frame-container">
<h3><?php echo $this->lang->line('page_not_found')
. ' - ' . $this->lang->line('error') . ' 404' ?></h3>
<p>
<?php echo $this->lang->line('page_not_found_message'); ?>
</p>
<br>
<a href="<?php echo $this->config->item('base_url'); ?>" class="btn btn-primary btn-large">
<i class="icon-calendar icon-white"></i>
<?php echo $this->lang->line('book_appointment_title'); ?>
</a>
<a href="<?php echo $this->config->item('base_url'); ?>/index.php/backend" class="btn btn-danger btn-large">
<i class="icon-wrench icon-white"></i>
<?php echo $this->lang->line('backend_section'); ?>
</a>
</div>
</body>
</html>