+<!-- -*- coding: utf-8 -*-
+ Copyright (C) 2008 Lincoln de Sousa <lincoln@minaslivre.org>
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public
+ License along with this program; if not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt_BR" lang="pt_BR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link href="/site_media/css/geral.css" rel="stylesheet" type="text/css" />
+ <link href="/css/geral.css" rel="stylesheet" type="text/css" />
<title>Gerenciador de eventos</title>
</head>
<body>
- <h1>Gerenciador de eventos</h1>
- <em>Livre para aprimorar</em>
+ <div id="top">
+ <h1 class="title"><a href="/">Gerenciador de eventos</a></h1>
+ <em>"Livre para aprimorar"</em>
+ </div>
{% if not user.is_authenticated %}
<form id="login-form" action="/login/" method="post">
+ <h2>Autenticação</h2>
<div class="field login">
<label for="login">Usuário</label>
<input type="text" name="username" id="login" />
<li><a href="/gerar-boleto">Gerar Boleto</a></li>
{% endif %}
+ {% if user.is_staff %}
+ <li><a href="/admin">Administrar o conteúdo</a></li>
+ {% endif %}
+
<li><a href="/logout">Sair</a></li>
{% else %}
<li><a href="/lecturer/add/">Cadastre-se para enviar trabalhos</a></li>
- <li><a href="/cadastro-participante">Cadastre-se para participar</a></li>
+ <!--<li><a href="/cadastro-participante">Cadastre-se para participar</a></li>-->
{% endif %}
</ul>
- {% block content %}
- {% endblock %}
+ <div id="content">
+ {% block content %}
+ {% endblock %}
+ </div>
</body>
</html>