added navbar and resolved redundance of the navbar
This commit is contained in:
47
app/public/css/styles.css
Normal file
47
app/public/css/styles.css
Normal file
@@ -0,0 +1,47 @@
|
||||
nav a{
|
||||
float: right;
|
||||
text-decoration: none;
|
||||
color: #FFFFFF;
|
||||
font-size: 18px;
|
||||
padding: 25px 35px;
|
||||
display: inline-block;
|
||||
transition: all 0.5s ease 0s;
|
||||
}
|
||||
|
||||
#logo {
|
||||
font-size: 20px;
|
||||
text-transform: uppercase;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
float: left;
|
||||
padding: 20px;
|
||||
margin-left: 17%;
|
||||
}
|
||||
|
||||
header {
|
||||
overflow: hidden;
|
||||
background-color: #090CA9;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
}
|
||||
|
||||
nav {
|
||||
margin-right: 17%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0px auto;
|
||||
font-size: 26px;
|
||||
padding: 40px 0px;
|
||||
color: #002e5b;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1 span{
|
||||
font-weight: 400;
|
||||
}
|
||||
2
app/public/html/footer.html
Normal file
2
app/public/html/footer.html
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
</html>
|
||||
23
app/public/html/header.html
Normal file
23
app/public/html/header.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Punktesystem</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="css/styles.css">
|
||||
</head>
|
||||
|
||||
<header>
|
||||
<section>
|
||||
<div id="logo">
|
||||
<img src="Bilder/Jugendfeuerwehr-Altdorf.gif" alt="">
|
||||
Punktesystem-KSP</div>
|
||||
<nav>
|
||||
<a href="index.php">Home</a>
|
||||
<a href="mannschaft.php">Mannschaftsverwaltung</a>
|
||||
<a href="stationen.php">Stationen</a>
|
||||
<a href="statistik.php">Statistik</a>
|
||||
</nav>
|
||||
</section>
|
||||
</header>
|
||||
@@ -1,19 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Punktesystem</title>
|
||||
</head>
|
||||
|
||||
<header>
|
||||
<nav>
|
||||
<p><a href="mannschaft.php">Mannschaftsverwaltung</a></p>
|
||||
<p><a href="stationen.php">Stationen</a></p>
|
||||
<p><a href="statistik.php">Statistik</a></p>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<?php echo file_get_contents("html/header.html"); ?>
|
||||
<body>
|
||||
<h1></h1>
|
||||
<p><?php phpinfo() ?></p>
|
||||
<h1><span>Punktesystem Kreispokalwettbewerb Altdorf</span></h1>
|
||||
<p>test</p>
|
||||
</body>
|
||||
</html>
|
||||
<?php echo file_get_contents("html/footer.html"); ?>
|
||||
@@ -1,11 +1,3 @@
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<title>Punktesystem</title>
|
||||
</head>
|
||||
<header>
|
||||
<nav>
|
||||
<p><a href="index.php">Startseite</a></p>
|
||||
<p><a href="stationen.php">Stationen</a></p>
|
||||
<p><a href="statistik.php">Statistik</a></p>
|
||||
</nav>
|
||||
</header>
|
||||
<?php echo file_get_contents("html/header.html"); ?>
|
||||
<?php echo file_get_contents("html/footer.html"); ?>
|
||||
@@ -1,11 +1,3 @@
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<title>Punktesystem</title>
|
||||
</head>
|
||||
<header>
|
||||
<nav>
|
||||
<p><a href="mannschaft.php">Mannschaftsverwaltung</a></p>
|
||||
<p><a href="index.php">Startseite</a></p>
|
||||
<p><a href="statistik.php">Statistik</a></p>
|
||||
</nav>
|
||||
</header>
|
||||
<?php echo file_get_contents("html/header.html"); ?>
|
||||
<?php echo file_get_contents("html/footer.html"); ?>
|
||||
@@ -1,11 +1,3 @@
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<title>Punktesystem</title>
|
||||
</head>
|
||||
<header>
|
||||
<nav>
|
||||
<p><a href="mannschaft.php">Mannschaftsverwaltung</a></p>
|
||||
<p><a href="stationen.php">Stationen</a></p>
|
||||
<p><a href="index.php">Startseite</a></p>
|
||||
</nav>
|
||||
</header>
|
||||
<?php echo file_get_contents("html/header.html"); ?>
|
||||
<?php echo file_get_contents("html/footer.html"); ?>
|
||||
Reference in New Issue
Block a user