changeset 124:78c9aa2d7802

Forms look better now.
author Atul Varma <varmaa@toolness.com>
date Tue, 01 Apr 2008 18:33:18 -0700
parents 3c9822a872e9
children a3be587ac81e
files PersonasBackend/personas/templates/personas/edit.html PersonasBackend/personas/templates/personas/login.html media/css/otherpages.css
diffstat 3 files changed, 15 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/PersonasBackend/personas/templates/personas/edit.html	Tue Apr 01 17:45:05 2008 -0700
+++ b/PersonasBackend/personas/templates/personas/edit.html	Tue Apr 01 18:33:18 2008 -0700
@@ -1,10 +1,9 @@
 {% extends "personas/base.html" %}
 
 {% block content %}
-<form enctype="multipart/form-data" method="post" action="."
-      class="amo-form corner-box">
-  <table>
-  {{ form }}
+<form enctype="multipart/form-data" method="post" action=".">
+  <table class="persona-form corner-box">
+    {{ form }}
   </table>
   <input type="submit" class="amo-submit" value="Submit"/>
 </form>
--- a/PersonasBackend/personas/templates/personas/login.html	Tue Apr 01 17:45:05 2008 -0700
+++ b/PersonasBackend/personas/templates/personas/login.html	Tue Apr 01 18:33:18 2008 -0700
@@ -4,7 +4,7 @@
 {% if form.has_errors %}
 <p>Your username and password didn't match. Please try again.</p>
 {% endif %}
-<form method="post" action="." class="amo-form corner-box">
+<form method="post" action="." class="persona-form corner-box">
   <table>
     <tr>
       <td><label for="id_username">Username:</label></td>
--- a/media/css/otherpages.css	Tue Apr 01 17:45:05 2008 -0700
+++ b/media/css/otherpages.css	Tue Apr 01 18:33:18 2008 -0700
@@ -168,3 +168,14 @@
     font-size: 14px;
     font-weight: semi-bold;
 }
+
+.persona-form tr {
+    vertical-align: top;
+    text-align: left;
+    font-size: 10px;
+}
+
+.persona-form label {
+    font-weight: normal;
+    font-size: 12px;
+}