<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt_BR" lang="pt_BR">
<head>
<title>Encontro Mineiro de Software Livre</title>
+
+ <style type="text/css">
+ body {
+ margin: 10px;
+ background-color: #fff;
+ }
+
+ h1.title {
+ color: #f00;
+ }
+
+ label {
+ display: block;
+ width: 180px;
+ font-weight: bold;
+ }
+
+ #login-form {
+ position: absolute;
+ right: 10px;
+ background-color: #f7f7f7;
+ padding: 10px;
+ }
+
+ #login-form label {
+ width: 80px !important;
+ float: left;
+ }
+
+ #login-form input[type=text] {
+ width: 100px;
+ }
+
+ #login-form input[type=password] {
+ width: 40px;
+ }
+ </style>
</head>
<body>
- <h1>Encontro Mineiro de Software Livre</h1>
+ <h1 class="title">Encontro Mineiro de Software Livre</h1>
{% if user.is_authenticated %}
<form id="login-form" method="post" action=".">
<h3>Login</h3>
<div class="field">
- <label for="id_username">{% trans "Username" %}</label>
+ <label for="id_username">Usuário:</label>
<input id="id_username" class="vTextField required" type="text"
- maxlength="30" name="username" style="width: 85px" />
+ maxlength="30" name="username" />
</div>
<div class="field">
- <label for="id_password-login">{% trans "Password" %}</label>
+ <label for="id_password-login">Senha:</label>
<input id="id_password-login" class="vTextField required"
- type="password" name="password" style="width: 45px;" />
+ type="password" name="password" />
<input type="submit" value="Login" class="submit" name="submitting_login_form" />
</div>
+
+ <a href="/cadastro">Cadastre-se</a>
</form>
{% endif %}
- {% block content %}
- {% endblock %}
+ <div id="conteudo">
+ {% block content %}{% endblock %}
+ </div>
</body>
</html>
+{# vim: set ft=htmldjango: #}