Compare commits

...

3 Commits

Author SHA1 Message Date
f042d4eaa7 Fix flattening 2021-03-01 19:58:44 -06:00
a1019449eb Condense down my needless PHP thing 2021-03-01 19:55:11 -06:00
e132bad0ea Alright maybe this is the problem and it's a health check 2021-03-01 19:53:04 -06:00
5 changed files with 19 additions and 24 deletions

View File

@ -1,6 +1,5 @@
FROM httpd:latest
COPY httpd.conf /usr/local/apache2/conf/httpd.conf
COPY vhost.conf /usr/local/apache2/conf/vhost.conf
CMD rm /usr/local/apache2/htdocs/index.html
COPY src/* /usr/local/apache2/htdocs
COPY src/ /usr/local/apache2/htdocs
EXPOSE 80

View File

@ -1,12 +1,24 @@
<!DOCTYPE html>
<html>
<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" />
<title>desu.local</title>
</head>
<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="iconbuttoncontainer">
<a href="http://jellyfin.desu.local" class="iconbutton">
@ -34,6 +46,9 @@
</a>
</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>
</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" />