Created
August 24, 2016 11:44
-
-
Save chihebnabil/050f8f77b590afdfa98301929e708077 to your computer and use it in GitHub Desktop.
Chat Application cakephp Layout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<?php echo $this->Html->charset(); ?> | |
<title> | |
<?php echo $this->fetch('title'); ?> | |
</title> | |
<!-- Material Design fonts --> | |
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Roboto:300,400,500,700"> | |
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/icon?family=Material+Icons"> | |
<?php echo $this->Html->css("bootstrap.min"); ?> | |
<?php echo $this->Html->css("bootstrap-material-design.min"); ?> | |
<?php echo $this->Html->css("ripples.min"); ?> | |
<?php echo $this->Html->css("snackbar.min"); ?> | |
<?php | |
echo $this->fetch('meta'); | |
echo $this->fetch('css'); | |
?> | |
<?php echo $this->Html->script("jquery"); ?> | |
<?php echo $this->Html->script("snackbar.min"); ?> | |
</head> | |
<body> | |
<?php echo $this->Element('header'); ?> | |
<?php echo $this->Session->flash(); ?> | |
<?php echo $this->fetch('content'); ?> | |
<?php echo $this->fetch('script'); ?> | |
<?php echo $this->Html->script("material.min"); ?> | |
<?php echo $this->Html->script("ripples.min"); ?> | |
<script type="text/javascript"> | |
$.material.init() | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment