Condense down my needless PHP thing

This commit is contained in:
Salt 2021-03-01 19:55:11 -06:00
parent e132bad0ea
commit a1019449eb
4 changed files with 18 additions and 22 deletions

View File

@ -1,12 +1,24 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<?php include $_SERVER['DOCUMENT_ROOT'].'/src/common-meta.php';?> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
<link href="/styles/styles.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous">
<link href="/favicon.ico" rel="shortcut icon" />
<link href="/styles/buttons.css" type="text/css" rel="stylesheet" /> <link href="/styles/buttons.css" type="text/css" rel="stylesheet" />
<title>desu.local</title> <title>desu.local</title>
</head> </head>
<body> <body>
<?php include $_SERVER['DOCUMENT_ROOT'].'/src/common-header.php';?> <div class="header">
<a href="/" class="logocontainer">
<span>
<h1>desu.local</h1>
<p class="nomobile">Local services and stuffs</p>
</span>
</a>
</div>
<div class="content"> <div class="content">
<div class="iconbuttoncontainer"> <div class="iconbuttoncontainer">
<a href="http://jellyfin.desu.local" class="iconbutton"> <a href="http://jellyfin.desu.local" class="iconbutton">
@ -34,6 +46,9 @@
</a> </a>
</div> </div>
</div> </div>
<?php include $_SERVER['DOCUMENT_ROOT'].'/src/common-footer.php';?> <div class="footer">
<p>Copyright &copy 2019-<?php echo date("Y"); ?> rehashedsalt. Distributed under the terms of the MIT License.</p>
<p><a href="https://git.desu.ltd/salt/9iron">source</a> <a href="/">home</a></p>
</div>
</body> </body>
</html> </html>

View File

@ -1,4 +0,0 @@
<div class="footer">
<p>Copyright &copy 2019-<?php echo date("Y"); ?> rehashedsalt. Distributed under the terms of the MIT License.</p>
<p><a href="https://git.desu.ltd/salt/9iron">source</a> <a href="/">home</a></p>
</div>

View File

@ -1,8 +0,0 @@
<div class="header">
<a href="/" class="logocontainer">
<span>
<h1>desu.local</h1>
<p class="nomobile">Local services and stuffs</p>
</span>
</a>
</div>

View File

@ -1,7 +0,0 @@
<!-- Meta -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
<link href="/styles/styles.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous">
<link href="/favicon.ico" rel="shortcut icon" />