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,8 +1,11 @@
<!DOCTYPE html>
<html>
<?php
include("views/head.php");
?>
<head>
<?php include("views/head.php"); ?>
<style>
@import url("styles/adminpanel.css");
</style>
</head>
<body>
<?php
/*

View File

@@ -1,8 +1,11 @@
<!DOCTYPE html>
<html>
<?php
include("views/head.php");
?>
<head>
<?php include("views/head.php"); ?>
<style>
@import url("styles/chat.css");
</style>
</head>
<body>
<?php
/*

View File

@@ -1,8 +1,11 @@
<!DOCTYPE html>
<html>
<?php
include("views/head.php");
?>
<head>
<?php include("views/head.php"); ?>
<style>
@import url("styles/profile.css");
</style>
</head>
<body>
<?php
/*

View File

@@ -1,8 +1,11 @@
<!DOCTYPE html>
<html>
<?php
include("views/head.php");
?>
<head>
<?php include("views/head.php"); ?>
<style>
@import url("styles/profile.css");
</style>
</head>
<body>
<?php
/*

View File

@@ -1,8 +1,11 @@
<!DOCTYPE html>
<html>
<?php
include("views/head.php");
?>
<head>
<?php include("views/head.php"); ?>
<style>
@import url("styles/search.css");
</style>
</head>
<body>
<?php
/*

View File

@@ -1,6 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<?php include("views/head.php"); ?>
<style>
@import url("styles/settings.css");
</style>
</head>
<body>
<?php
/*

View File

@@ -1,8 +1,11 @@
<!DOCTYPE html>
<html>
<?php
include("views/head.php");
?>
<head>
<?php include("views/head.php"); ?>
<style>
/*Insert own stylesheet here ;)*/
</style>
</head>
<body>
<?php
/*

View File

@@ -1,4 +1,3 @@
<head>
<meta charset="utf-8">
<title>MyHyvesbook+</title>
<!-- Add your javascript files here. -->
@@ -8,14 +7,8 @@
<style>
/* Add your css files here. */
@import url("styles/main.css");
@import url("styles/profile.css");
@import url("styles/font-awesome.css");
@import url("styles/header.css");
@import url("styles/menu.css");
@import url("styles/footer.css");
@import url("styles/search.css");
@import url("styles/adminpanel.css");
@import url("styles/chat.css");
@import url("styles/settings.css");
</style>
</head>