1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt_BR" lang="pt_BR">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <link href="/site_media/css/geral.css" rel="stylesheet" type="text/css" />
7 <title>Gerenciador de eventos</title>
10 <h1>Gerenciador de eventos</h1>
11 <em>Livre para aprimorar</em>
13 {% if not user.is_authenticated %}
15 <form id="login-form" action="/login/" method="post">
16 <div class="field login">
17 <label for="login">Usuário</label>
18 <input type="text" name="username" id="login" />
20 <div class="field password">
21 <label for="password">Senha</label>
22 <input type="password" name="password" id="password" />
24 <div class="field submit">
25 <input type="submit" value="Ok" />
31 {% if user.is_authenticated %}
33 {% if user.palestrante_set.all %}
34 <li><a href="/lecturer/{{ user.palestrante_set.get.id }}/">Editar dados pessoais</a></li>
35 <li><a href="/talks/add/">Enviar trabalho</a></li>
36 <li><a href="/lecturer/{{ user.palestrante_set.get.id }}/talks/">Ver trabalhos cadastrados</a></li>
39 {% if user.participante_set.all %}
40 <li><a href="/gerar-boleto">Gerar Boleto</a></li>
43 <li><a href="/logout">Sair</a></li>
46 <li><a href="/lecturer/add/">Cadastre-se para enviar trabalhos</a></li>
47 <li><a href="/cadastro-participante">Cadastre-se para participar</a></li>