More work on WWW Server

This commit is contained in:
Andrew Pamment
2016-08-17 10:55:03 +10:00
parent f214eb2faf
commit ce15bedcde
11 changed files with 242 additions and 3 deletions

2
www/403.tpl Normal file
View File

@@ -0,0 +1,2 @@
<h1>403 - Forbidden</h1>
The page you are looking for can not be accessed.

2
www/404.tpl Normal file
View File

@@ -0,0 +1,2 @@
<h1>404 - Page not found</h1>
The page you are looking for can not be found.

View File

@@ -1,2 +1,4 @@
<hr />
<div class="footer">Powered By Magicka BBS</div>
</BODY>
</HTML>

View File

@@ -1,4 +1,11 @@
<HTML>
<HEAD>
<TITLE>Magicka BBS</TITLE>
<link rel="stylesheet" type="text/css" href="/static/style.css">
</HEAD>
<BODY>
<div class="header">
<img src="/static/header.png" alt="Magicka BBS" />
</div>
<hr />

View File

@@ -1,3 +1,3 @@
<h2>Welcome to another Magicka BBS!</h2>
The sysop should customize this file with what he wants on the front page!
The sysop should customize this file with what he/she wants on the front page!

1
www/mime.types Normal file
View File

@@ -0,0 +1 @@
image/png png

BIN
www/static/header.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

3
www/static/style.css Normal file
View File

@@ -0,0 +1,3 @@
.footer {
font-size: small;
}