21 lines
515 B
Plaintext
21 lines
515 B
Plaintext
<html>
|
|
<head>
|
|
<title>BeastBB</title>
|
|
<link rel="stylesheet" href="/css/index.css"/>
|
|
<head>
|
|
<body>
|
|
<h1>Welcome to BeastBB <%= defined $user ? $user->Username : 'anonymous user' %>.</h1>
|
|
% if (!defined $user) {
|
|
<p><a href="/login">Login</a> <a href="/signup">Signup</a>
|
|
% }
|
|
% if (defined $user) {
|
|
<form action="/logout" method="post">
|
|
<input type="submit" class="fake-a" value="Logout"/>
|
|
</form>
|
|
% }
|
|
% if (defined $error) {
|
|
<p style="color: red;"><%= $error %></p>
|
|
% }
|
|
</body>
|
|
</html>
|