replaced some paths with variables

master
LinuxMint4Ever 2020-02-19 03:49:30 +01:00
parent f7c79e1135
commit ad5722995d
5 changed files with 15 additions and 15 deletions

View File

@ -4,7 +4,7 @@
<title> <title>
About us... About us...
</title> </title>
<link rel="stylesheet" type="text/css" href="/common/content/style.css" /> <link rel="stylesheet" type="text/css" href="%CONTENT_DIR%/style.css" />
<meta charset="utf-8" /> <meta charset="utf-8" />
</head> </head>
<body> <body>
@ -20,7 +20,7 @@
Who we are Who we are
</h2> </h2>
<div class="image_container"> <div class="image_container">
<img src="/common/content/img/group.jpg" alt="Image of the team" /> <img src="%CONTENT_DIR%/img/group.jpg" alt="Image of the team" />
<p class="image_container"> <p class="image_container">
From left to right: Ilja, Jakob, Jan [me], and Erik From left to right: Ilja, Jakob, Jan [me], and Erik
</p> </p>
@ -34,7 +34,7 @@
About the server About the server
</h2> </h2>
<div class="image_container"> <div class="image_container">
<img src="/common/content/img/server.jpg" alt="Image of the server"> <img src="%CONTENT_DIR%/img/server.jpg" alt="Image of the server">
<p class="image_container"> <p class="image_container">
The server at its current place in the basement The server at its current place in the basement
</p> </p>

View File

@ -2,14 +2,14 @@
<html> <html>
<head> <head>
<title>ThreadR - Welcome</title> <title>ThreadR - Welcome</title>
<link rel="stylesheet" type="text/css" href="/common/content/style.css"> <link rel="stylesheet" type="text/css" href="%CONTENT_DIR%/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head> </head>
<body> <body>
<ul class="topnav"> <ul class="topnav">
<li><a href="index.html">Home</a></li> <li><a href="index.html">Home</a></li>
<li><a href="#news">News</a></li> <li><a href="#news">News</a></li>
<li><a href="/common/content/about/">About</a></li> <li><a href="%CONTENT_DIR%/about/">About</a></li>
<li class="right"><a class="active" href="login.html">Log In</a></li> <li class="right"><a class="active" href="login.html">Log In</a></li>
</ul> </ul>
@ -25,7 +25,7 @@
</div> </div>
<div class="item-2 round-border"> <div class="item-2 round-border">
<p>Login:</p> <p>Login:</p>
<form action="/common/content/login/redirect.php" method="post"> <form action="%CONTENT_DIR%/login/redirect.php" method="post">
<input type="text" name="name" maxlength="20" placeholder="Username" /> <input type="text" name="name" maxlength="20" placeholder="Username" />
<input type="password" name="password" maxlength="256" placeholder="Password" /> <input type="password" name="password" maxlength="256" placeholder="Password" />
<p></p> <p></p>
@ -35,11 +35,11 @@
</div> </div>
<div class="item-3"> <div class="item-3">
<p></p> <p></p>
<a href="/common/content/signup/"> <button> Sign up </button> </a> <a href="%CONTENT_DIR%/signup/"> <button> Sign up </button> </a>
<p></p> <p></p>
</div> </div>
<!-- <div class="item-4"> <!-- <div class="item-4">
<center><a href="https://lostcave.ddnss.de/common/content/about/">About</a></center> <center><a href="https://lostcave.ddnss.de%CONTENT_DIR%/about/">About</a></center>
</div> --> </div> -->
</div> </div>
</body> </body>

View File

@ -2,13 +2,13 @@
<html> <html>
<head> <head>
<title>Sign Up</title> <title>Sign Up</title>
<link rel="stylesheet" type="text/css" href="/common/content/style.css"> <link rel="stylesheet" type="text/css" href="%CONTENT_DIR%/style.css">
</head> </head>
<body> <body>
<ul class="topnav"> <ul class="topnav">
<li><a href="index.html">Home</a></li> <li><a href="index.html">Home</a></li>
<li><a href="#news">News</a></li> <li><a href="#news">News</a></li>
<li><a href="/common/content/about">About</a></li> <li><a href="%CONTENT_DIR%/about">About</a></li>
<li class="right"><a href="login.html">Log In</a></li> <li class="right"><a href="login.html">Log In</a></li>
</ul> </ul>
@ -24,7 +24,7 @@
</div> </div>
<div class="item-2 round-border"> <div class="item-2 round-border">
<p>Sign Up:</p> <p>Sign Up:</p>
<form action="/common/content/signup/redirect.php" method="post"> <form action="%CONTENT_DIR%/signup/redirect.php" method="post">
<p>Benutzername: <input type="text" name="user" placeholder="Benutzername"/> </p> <p>Benutzername: <input type="text" name="user" placeholder="Benutzername"/> </p>
<p>E-Mail: <input type="text" name="email" placeholder="yeet@example.com"/> </p> <p>E-Mail: <input type="text" name="email" placeholder="yeet@example.com"/> </p>
<p>Passwort: <input type="password" name="password" placeholder="Passwort"/> </p> <p>Passwort: <input type="password" name="password" placeholder="Passwort"/> </p>

View File

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<title>Home page</title> <title>Home page</title>
<link rel="stylesheet" type="text/css" href="/common/content/stylesheet.css"> <link rel="stylesheet" type="text/css" href="%CONTENT_DIR%/stylesheet.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head> </head>
@ -10,8 +10,8 @@
<ul class="topnav"> <ul class="topnav">
<li><a class="active" href="#home">Home</a></li> <li><a class="active" href="#home">Home</a></li>
<li><a href="#news">News</a></li> <li><a href="#news">News</a></li>
<li><a href="/common/content/about/">About</a></li> <li><a href="%CONTENT_DIR%/about/">About</a></li>
<li class="right"><a href="/common/content/login/">Log In</a></li> <li class="right"><a href="%CONTENT_DIR%/login/">Log In</a></li>
</ul> </ul>
<div style="padding:0 16px;"> <div style="padding:0 16px;">

View File

@ -18,7 +18,7 @@ echo "Done.";
<html> <html>
<head> <head>
<title> Strassenkind Server Status Page </title> <title> Strassenkind Server Status Page </title>
<link rel="stylesheet" type="text/css" href="./common/content/style.css" /> <link rel="stylesheet" type="text/css" href=".%CONTENT_DIR%/style.css" />
<?php <?php
if (!isset($_POST['ondemand'])) { if (!isset($_POST['ondemand'])) {
echo "<meta http-equiv=\"refresh\" content=\"20\" />"; echo "<meta http-equiv=\"refresh\" content=\"20\" />";