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>
About us...
</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" />
</head>
<body>
@ -20,7 +20,7 @@
Who we are
</h2>
<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">
From left to right: Ilja, Jakob, Jan [me], and Erik
</p>
@ -34,7 +34,7 @@
About the server
</h2>
<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">
The server at its current place in the basement
</p>

View File

@ -2,14 +2,14 @@
<html>
<head>
<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">
</head>
<body>
<ul class="topnav">
<li><a href="index.html">Home</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>
</ul>
@ -25,7 +25,7 @@
</div>
<div class="item-2 round-border">
<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="password" name="password" maxlength="256" placeholder="Password" />
<p></p>
@ -35,11 +35,11 @@
</div>
<div class="item-3">
<p></p>
<a href="/common/content/signup/"> <button> Sign up </button> </a>
<a href="%CONTENT_DIR%/signup/"> <button> Sign up </button> </a>
<p></p>
</div>
<!-- <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>
</body>

View File

@ -2,13 +2,13 @@
<html>
<head>
<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>
<body>
<ul class="topnav">
<li><a href="index.html">Home</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>
</ul>
@ -24,7 +24,7 @@
</div>
<div class="item-2 round-border">
<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>E-Mail: <input type="text" name="email" placeholder="yeet@example.com"/> </p>
<p>Passwort: <input type="password" name="password" placeholder="Passwort"/> </p>

View File

@ -2,7 +2,7 @@
<html>
<head>
<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">
</head>
@ -10,8 +10,8 @@
<ul class="topnav">
<li><a class="active" href="#home">Home</a></li>
<li><a href="#news">News</a></li>
<li><a href="/common/content/about/">About</a></li>
<li class="right"><a href="/common/content/login/">Log In</a></li>
<li><a href="%CONTENT_DIR%/about/">About</a></li>
<li class="right"><a href="%CONTENT_DIR%/login/">Log In</a></li>
</ul>
<div style="padding:0 16px;">

View File

@ -18,7 +18,7 @@ echo "Done.";
<html>
<head>
<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
if (!isset($_POST['ondemand'])) {
echo "<meta http-equiv=\"refresh\" content=\"20\" />";