Selaa lähdekoodia

Split and add beelance stuff

https
jakobsn 6 vuotta sitten
vanhempi
commit
576ee6a0d6
2 muutettua tiedostoa jossa 16 lisäystä ja 0 poistoa
  1. BIN
      src/app/static/honeybee.png
  2. +16
    -0
      src/app/templates/login.html

BIN
src/app/static/honeybee.png Näytä tiedosto

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

+ 16
- 0
src/app/templates/login.html Näytä tiedosto

@@ -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…
Peruuta
Tallenna