Browse Source

Split and add beelance stuff

https
jakobsn 6 years ago
parent
commit
576ee6a0d6
2 changed files with 16 additions and 0 deletions
  1. BIN
      src/app/static/honeybee.png
  2. +16
    -0
      src/app/templates/login.html

BIN
src/app/static/honeybee.png View File

Before After
Width: 200  |  Height: 188  |  Size: 28KB

+ 16
- 0
src/app/templates/login.html View File

@@ -0,0 +1,16 @@
$def with (login_form, friends)

<h3>Log In</h3>
<form method="POST">
$:login_form.render()
</form>

$if session.username:
<h1>Logged in as $session.username</h1>
<a href="logout">Logout</a>

<h3>Registered friends:</h3>
<ul>
$for user in friends:
<li id="user[0]">$user[1]</li>
</ul>

Loading…
Cancel
Save