Explorar el Código

Split and add beelance stuff

https
jakobsn hace 6 años
padre
commit
576ee6a0d6
Se han modificado 2 ficheros con 16 adiciones y 0 borrados
  1. BIN
      src/app/static/honeybee.png
  2. +16
    -0
      src/app/templates/login.html

BIN
src/app/static/honeybee.png Ver fichero

Antes Después
Anchura: 200  |  Altura: 188  |  Tamaño: 28KB

+ 16
- 0
src/app/templates/login.html Ver fichero

@@ -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>

Cargando…
Cancelar
Guardar