Converted cancel.php to responsive.

This commit is contained in:
Alex Tselegidis 2015-04-26 16:32:34 +02:00
parent e223b7a5b5
commit 360b3fed31

View file

@ -37,23 +37,37 @@
href="<?php echo $this->config->base_url(); ?>/assets/img/logo.png"> href="<?php echo $this->config->base_url(); ?>/assets/img/logo.png">
</head> </head>
<body> <body>
<div id="success-frame" class="frame-container"> <div id="main" class="container">
<div class="wrapper row">
<img id="success-icon" src="<?php echo $this->config->base_url(); ?>/assets/img/success.png" /> <div id="success-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">
<?php <div class="col-xs-12 col-sm-2">
echo '<h3>' . $this->lang->line('appointment_cancelled') . '</h3>'; <img id="success-icon" src="<?php echo $this->config->base_url(); ?>/assets/img/success.png" />
</div>
// Display exceptions (if any). <div class="col-xs-12 col-sm-10">
if (isset($exceptions)) { <?php
echo '<div style="margin: 10px">'; echo '<h3>' . $this->lang->line('appointment_cancelled') . '</h3>';
echo '<h4>Unexpected Errors</h4>';
foreach($exceptions as $exception) { // Display exceptions (if any).
echo exceptionToHtml($exception); if (isset($exceptions)) {
} echo '<div style="margin: 10px">';
echo '</div>'; echo '<h4>Unexpected Errors</h4>';
} foreach($exceptions as $exception) {
?> echo exceptionToHtml($exception);
}
echo '</div>';
}
?>
</div>
</div>
</div>
</div> </div>
</body> </body>
</html> </html>