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>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title><?php echo $company_name; ?></title>
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="theme-color" content="#35A768">
|
<meta name="theme-color" content="#35A768">
|
||||||
|
<title><?php echo $company_name; ?></title>
|
||||||
|
|
||||||
<?php // INCLUDE JS FILES ?>
|
<?php
|
||||||
|
// ------------------------------------------------------------
|
||||||
|
// INCLUDE JS FILES
|
||||||
|
// ------------------------------------------------------------ ?>
|
||||||
<script
|
<script
|
||||||
type="text/javascript"
|
type="text/javascript"
|
||||||
src="<?php echo $this->config->base_url(); ?>/assets/js/libs/jquery/jquery.min.js"></script>
|
src="<?php echo $this->config->base_url(); ?>/assets/js/libs/jquery/jquery.min.js"></script>
|
||||||
|
@ -20,43 +24,46 @@
|
||||||
type="text/javascript"
|
type="text/javascript"
|
||||||
src="<?php echo $this->config->base_url(); ?>/assets/js/general_functions.js"></script>
|
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"
|
<link rel="stylesheet" type="text/css"
|
||||||
href="<?php echo $this->config->base_url(); ?>/assets/ext/bootstrap/css/bootstrap.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
|
||||||
<?php // SET FAVICON FOR PAGE ?>
|
// ------------------------------------------------------------
|
||||||
|
// SET PAGE FAVICON
|
||||||
|
// ------------------------------------------------------------ ?>
|
||||||
<link rel="icon" type="image/x-icon"
|
<link rel="icon" type="image/x-icon"
|
||||||
href="<?php echo $this->config->base_url(); ?>/assets/img/favicon.ico">
|
href="<?php echo $this->config->base_url(); ?>/assets/img/favicon.ico">
|
||||||
|
|
||||||
<link rel="icon" sizes="192x192"
|
<link rel="icon" sizes="192x192"
|
||||||
href="<?php echo $this->config->base_url(); ?>/assets/img/logo.png">
|
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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="message-frame" class="frame-container">
|
<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; ?>" />
|
<img id="message-icon" src="<?php echo $message_icon; ?>" />
|
||||||
<h3><?php echo $message_title; ?></h3>
|
</div>
|
||||||
<p><?php echo $message_text; ?></p>
|
|
||||||
|
<div class="col-xs-12 col-sm-10">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
echo '<h3>' . $message_title . '</h3>';
|
||||||
|
echo '<p>' . $message_text . '</p>';
|
||||||
|
|
||||||
// Display exceptions (if any).
|
// Display exceptions (if any).
|
||||||
if (isset($exceptions)) {
|
if (isset($exceptions)) {
|
||||||
echo '<div style="margin: 10px">';
|
echo '<div style="margin: 10px">';
|
||||||
|
@ -68,5 +75,9 @@
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -195,18 +195,21 @@ body {
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* BOOK SUCCESS
|
/* BOOK SUCCESS & MESSAGE
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
#message-frame,
|
||||||
#success-frame {
|
#success-frame {
|
||||||
background: #FFF;
|
background: #FFF;
|
||||||
border: 1px solid #DDDADA;
|
border: 1px solid #DDDADA;
|
||||||
padding: 70px;
|
padding: 70px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#message-frame #message-icon,
|
||||||
#success-frame #success-icon {
|
#success-frame #success-icon {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#message-frame .alert,
|
||||||
#success-frame .alert {
|
#success-frame .alert {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
@ -324,6 +327,7 @@ body {
|
||||||
/**
|
/**
|
||||||
* BOOK SUCCESS
|
* BOOK SUCCESS
|
||||||
*/
|
*/
|
||||||
|
#message-frame,
|
||||||
#success-frame {
|
#success-frame {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -331,6 +335,7 @@ body {
|
||||||
padding: 35px;
|
padding: 35px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#message-frame #message-icon,
|
||||||
#success-frame #success-icon {
|
#success-frame #success-icon {
|
||||||
width: 64px;
|
width: 64px;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
Loading…
Reference in a new issue