Skip to content

Commit

Permalink
add missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmiddleditch committed Apr 27, 2009
1 parent ae0e835 commit 31482ab
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data/html/tpl/footer.tpl
@@ -0,0 +1,5 @@
</div>

<div id="footer">Source MUD {version}<br /><a href="http://www.sourcemud.org">http://www.sourcemud.org</a></div>
</body>
</html>
24 changes: 24 additions & 0 deletions data/html/tpl/header.tpl
@@ -0,0 +1,24 @@
<?xml version="1.0"?>
<html>
<head>
<title>Source MUD Portal</title>
<link rel="stylesheet" href="/css/common.css" type="text/css" />
</head>
<body>
<div id="title">Source MUD Portal</div>

<div id="menu">
{if $account}
<b>{$account.name}</b>
| <a href="/">Home</a>
| <a href="/account">Account</a>
| <a href="/logout">Logout</a>
{else}
<a href="/login">Login</a>
| <a href="/">Home</a>
{endif}
| <a href="/stats">Stats</a>
</div>

<div id="body">
{if $msg}<p id="msg">{$msg}</p>{endif}
7 changes: 7 additions & 0 deletions data/html/tpl/index.tpl
@@ -0,0 +1,7 @@
<p>Welcome to the Source MUD portal!</p>

{if $account}
<p>Welcome, {$account.name}!</p>
{else}
<p><a href="/login">Please Login</a></p>
{endif}

0 comments on commit 31482ab

Please sign in to comment.