mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-09 17:42:21 +03:00
Converted message.php to responsive.
This commit is contained in:
parent
360b3fed31
commit
41136a6d66
2 changed files with 57 additions and 41 deletions
|
@ -1,12 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><?php echo $company_name; ?></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<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 $company_name; ?></title>
|
||||
|
||||
<?php // INCLUDE JS FILES ?>
|
||||
<?php
|
||||
// ------------------------------------------------------------
|
||||
// INCLUDE JS FILES
|
||||
// ------------------------------------------------------------ ?>
|
||||
<script
|
||||
type="text/javascript"
|
||||
src="<?php echo $this->config->base_url(); ?>/assets/js/libs/jquery/jquery.min.js"></script>
|
||||
|
@ -20,53 +24,60 @@
|
|||
type="text/javascript"
|
||||
src="<?php echo $this->config->base_url(); ?>/assets/js/general_functions.js"></script>
|
||||
|
||||
<?php // INCLUDE CSS FILES ?>
|
||||
<?php
|
||||
// ------------------------------------------------------------
|
||||
// INCLUDE CSS FILES
|
||||
// ------------------------------------------------------------ ?>
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="<?php echo $this->config->base_url(); ?>/assets/ext/bootstrap/css/bootstrap.css">
|
||||
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="<?php echo $this->config->base_url(); ?>/assets/css/frontend.css">
|
||||
|
||||
<?php // SET FAVICON FOR PAGE ?>
|
||||
<?php
|
||||
// ------------------------------------------------------------
|
||||
// SET PAGE FAVICON
|
||||
// ------------------------------------------------------------ ?>
|
||||
<link rel="icon" type="image/x-icon"
|
||||
href="<?php echo $this->config->base_url(); ?>/assets/img/favicon.ico">
|
||||
|
||||
<link rel="icon" sizes="192x192"
|
||||
href="<?php echo $this->config->base_url(); ?>/assets/img/logo.png">
|
||||
|
||||
<style>
|
||||
body {
|
||||
background-color: #CAEDF3;
|
||||
}
|
||||
|
||||
#message-frame {
|
||||
width: 630px;
|
||||
margin: 150px auto 0 auto;
|
||||
background: #FFF;
|
||||
border: 1px solid #DDDADA;
|
||||
padding: 70px;
|
||||
}
|
||||
|
||||
#message-icon {
|
||||
float: right;
|
||||
margin-top: 17px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="message-frame" class="frame-container">
|
||||
<img id="message-icon" src="<?php echo $message_icon; ?>" />
|
||||
<h3><?php echo $message_title; ?></h3>
|
||||
<p><?php echo $message_text; ?></p>
|
||||
<?php
|
||||
// Display exceptions (if any).
|
||||
if (isset($exceptions)) {
|
||||
echo '<div style="margin: 10px">';
|
||||
echo '<h4>Unexpected Errors</h4>';
|
||||
foreach($exceptions as $exception) {
|
||||
echo exceptionToHtml($exception);
|
||||
}
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
<div id="main" class="container">
|
||||
<div class="wrapper row">
|
||||
|
||||
<div id="message-frame" class="frame-container
|
||||
col-xs-12
|
||||
col-sm-offset-1 col-sm-10
|
||||
col-md-offset-2 col-md-8
|
||||
col-lg-offset-2 col-lg-8">
|
||||
|
||||
<div class="col-xs-12 col-sm-2">
|
||||
<img id="message-icon" src="<?php echo $message_icon; ?>" />
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-10">
|
||||
<?php
|
||||
|
||||
echo '<h3>' . $message_title . '</h3>';
|
||||
echo '<p>' . $message_text . '</p>';
|
||||
|
||||
// Display exceptions (if any).
|
||||
if (isset($exceptions)) {
|
||||
echo '<div style="margin: 10px">';
|
||||
echo '<h4>Unexpected Errors</h4>';
|
||||
foreach($exceptions as $exception) {
|
||||
echo exceptionToHtml($exception);
|
||||
}
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -195,18 +195,21 @@ body {
|
|||
padding-left: 0px;
|
||||
}
|
||||
|
||||
/* BOOK SUCCESS
|
||||
/* BOOK SUCCESS & MESSAGE
|
||||
------------------------------------------------------------------------- */
|
||||
#message-frame,
|
||||
#success-frame {
|
||||
background: #FFF;
|
||||
border: 1px solid #DDDADA;
|
||||
padding: 70px;
|
||||
}
|
||||
|
||||
#message-frame #message-icon,
|
||||
#success-frame #success-icon {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#message-frame .alert,
|
||||
#success-frame .alert {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
@ -324,6 +327,7 @@ body {
|
|||
/**
|
||||
* BOOK SUCCESS
|
||||
*/
|
||||
#message-frame,
|
||||
#success-frame {
|
||||
text-align: center;
|
||||
height: 100%;
|
||||
|
@ -331,6 +335,7 @@ body {
|
|||
padding: 35px;
|
||||
}
|
||||
|
||||
#message-frame #message-icon,
|
||||
#success-frame #success-icon {
|
||||
width: 64px;
|
||||
display: block;
|
||||
|
|
Loading…
Reference in a new issue