pequenas melhorias no estilo, alteração na mensagem de confirmação de cadastro de...
authorLincoln de Sousa <pythonwarrior@pidinti.localdomain>
Tue, 14 Aug 2007 18:40:51 +0000 (15:40 -0300)
committerLincoln de Sousa <pythonwarrior@pidinti.localdomain>
Tue, 14 Aug 2007 18:40:51 +0000 (15:40 -0300)
media/css/geral.css
templates/chamada_trabalhos.html
templates/inscrever_palestra.html
urls.py

index 8dbc370..4e6e12c 100644 (file)
@@ -28,6 +28,8 @@ label {
     display: block;
     width: 180px;
     font-weight: bold;
+    font-style: normal;
+    color: #000;
 }
 
 em {
@@ -136,3 +138,27 @@ a:hover {
     color: red;
     list-style-type: none;
 }
+
+#cadastro input[type=text] {
+    width: 300px;
+}
+
+#cadastro p {
+    display: block;
+    width: 450px;
+    font-style: italic;
+    font-size: small;
+    color: #666;
+}
+
+#cadastro p textarea {
+    width: 100%;
+}
+
+#id_descricao_curta {
+    height: 60px;
+}
+
+#id_recursos {
+    height: 150px;
+}
index ff8ea9f..55b5733 100644 (file)
@@ -3,6 +3,6 @@
 
 Texto aqui!
 
-<a href="/cadastro">Cadastrar palestrante</a>
+<a href="/cadastro_palestrante">Cadastrar palestrante</a>
 
 {% endblock %}
index a771ca7..0342891 100644 (file)
@@ -4,7 +4,7 @@
 {% if ok %}
 
 <div class="confirmation">
-    <p>Sua palestra foi cadastrada com sucesso!</p>
+    <p>Seu trabalho foi cadastrado com sucesso!</p>
 </div>
 
 {% else %}
diff --git a/urls.py b/urls.py
index 4dfe4a7..0899686 100644 (file)
--- a/urls.py
+++ b/urls.py
@@ -29,8 +29,8 @@ urlpatterns = patterns('',
     (r'^logout/', 'django.contrib.auth.views.logout',
         {'next_page': '/'}),
     (r'^inscricao/', views.inscricao),
-    (r'^inscrever_palestra/', views.inscrever_palestra),
-    (r'^cadastro/', views.cadastro),
+    (r'^submeter_trabalho/', views.submeter_trabalho),
+    (r'^cadastro_palestrante/', views.cadastro_palestrante),
     (r'^meus_trabalhos/', views.meus_trabalhos),
     (r'^chamada_trabalhos/', views.chamada_trabalhos),