Seperated header into own file.
This commit is contained in:
parent
b3d7fbe287
commit
55128e47b5
17
common/header.html
Normal file
17
common/header.html
Normal file
@ -0,0 +1,17 @@
|
||||
<header>
|
||||
<ul class="header-list">
|
||||
<li>
|
||||
<a class="tab-button" href="/">Hjem</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="tab-button" href="/speedtest/">Nettverkstest</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="tab-button" href="/filopplasting">Filopplasting</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="tab-button" href="/diverse">Flere Saker</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</header>
|
20
index.php
20
index.php
@ -8,23 +8,9 @@
|
||||
<link rel="stylesheet" href="./common/main.css">
|
||||
</head>
|
||||
<body class="theme-auto">
|
||||
<header>
|
||||
<ul class="header-list">
|
||||
<li>
|
||||
<a class="tab-button" href="/">Hjem</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="tab-button" href="/speedtest/">Nettverkstest</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="tab-button" href="/filopplasting">Filopplasting</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="tab-button" href="/diverse">Flere Saker</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</header>
|
||||
|
||||
<?php include "common/header.html"; ?>
|
||||
|
||||
<center>
|
||||
<h1>Velkommen til Trygves side!</h1>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user