Moved <head>-tag to the page files, not all css files will be loaded for each page.

This commit is contained in:
Marijn Jansen
2017-01-13 12:03:46 +01:00
parent 3cd0772224
commit 9db7c6776c
8 changed files with 147 additions and 131 deletions

View File

@@ -1,21 +1,24 @@
<!DOCTYPE html>
<html>
<?php
include("views/head.php");
?>
<body>
<?php
/*
* This view adds the main layout over the screen.
* Header, menu, footer.
*/
include("views/main.php");
<head>
<?php include("views/head.php"); ?>
<style>
@import url("styles/chat.css");
</style>
</head>
<body>
<?php
/*
* This view adds the main layout over the screen.
* Header, menu, footer.
*/
include("views/main.php");
/* Add your view files here. */
include("views/chat-view.php");
/* Add your view files here. */
include("views/chat-view.php");
/* This adds the footer. */
include("views/footer.php");
?>
</body>
/* This adds the footer. */
include("views/footer.php");
?>
</body>
</html>