WWW improvements, fixes and a bug.

This commit is contained in:
Andrew Pamment
2018-01-21 15:02:21 +10:00
parent 3f1f8f9749
commit 6ac2e6f125
10 changed files with 202 additions and 107 deletions

1
dist/config/bbs.ini vendored
View File

@@ -16,6 +16,7 @@ Automessage Write Level = 10
Fork = false
Enable WWW = false
WWW Port = 8080
WWW URL = http://127.0.0.1:8080/
Enable SSH = false
SSH Port = 2024
SSH DSA Key = /home/andrew/MagickaBBS/keys/ssh_host_dsa_key

12
dist/www/header.tpl vendored
View File

@@ -1,19 +1,19 @@
<HTML>
<HEAD>
<TITLE>Magicka BBS</TITLE>
<link rel="stylesheet" type="text/css" href="/static/style.css">
<link rel="stylesheet" type="text/css" href="@@WWW_URL@@static/style.css">
<meta charset="utf-8">
</HEAD>
<BODY>
<div class="header">
<img src="/static/header.png" alt="Magicka BBS" />
<img src="@@WWW_URL@@static/header.png" alt="Magicka BBS" />
</div>
<div class="menu">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/last10/">Last 10 Callers</a></li>
<li><a href="/email/">Email</a></li>
<li><a href="/msgs/">Conferences</a></li>
<li><a href="@@WWW_URL@@">Home</a></li>
<li><a href="@@WWW_URL@@last10/">Last 10 Callers</a></li>
<li><a href="@@WWW_URL@@email/">Email</a></li>
<li><a href="@@WWW_URL@@msgs/">Conferences</a></li>
</ul>
</div>
<hr />