1 <!-- -*- coding: utf-8 -*-
2 Copyright (C) 2008 Lincoln de Sousa <lincoln@minaslivre.org>
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
14 You should have received a copy of the GNU General Public
15 License along with this program; if not, write to the
16 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 Boston, MA 02111-1307, USA.
19 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
20 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
21 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt_BR" lang="pt_BR">
23 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
24 <link href="/css/reset.css" type="text/css" rel="stylesheet" />
25 <link href="/css/geral.css" rel="stylesheet" type="text/css" />
26 <title>Gerenciador de eventos</title>
30 <h1><a href="/"><img src="/imgs/emsl.png" alt="EMSL - Encontro Mineiro de Software Livre" /></a></h1>
32 <li><a href="/">Início</a></li>
34 <li><a href="{{ i.entry.get_absolute_url }}">{{ i }}</a></li>
42 {% if not user.is_authenticated %}
44 <form id="login-form" action="/login/" method="post">
45 <label for="login" class="inline">usuário</label>
46 <input type="text" id="login" name="username" size="16" />
47 <label for="passwd" class="inline">senha</label>
48 <input type="password" id="passwd" name="password" size="16" />
49 <input type="submit" value="ENTRAR" class="button" />
54 <ul id="menu_usuario">
56 {% if user.palestrante_set.all %}
57 <li><a href="/speaker/{{ user.palestrante_set.get.id }}/">Editar dados pessoais</a></li>
58 <li><a href="/talks/add/">Enviar trabalho</a></li>
59 <li><a href="/speaker/{{ user.palestrante_set.get.id }}/talks/">Ver trabalhos cadastrados</a></li>
62 {% if user.participante_set.all %}
63 <li><a href="/gerar-boleto">Gerar Boleto</a></li>
66 {% if user.is_staff %}
67 <li><a href="/admin">Administrar o conteúdo</a></li>
70 <li><a href="/logout">Sair</a></li>