From adc7565eeab15114bbf89f933681a8c30099de92 Mon Sep 17 00:00:00 2001 From: Matheus Figueiredo Date: Mon, 19 Aug 2013 16:41:30 -0300 Subject: [PATCH] Assing style to Sign Up page --- src/accounts/templates/accounts/signup-form.html | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------- src/colab/static/css/screen.css | 15 +++++++++++---- 2 files changed, 74 insertions(+), 53 deletions(-) diff --git a/src/accounts/templates/accounts/signup-form.html b/src/accounts/templates/accounts/signup-form.html index 01c538e..4ddb62a 100644 --- a/src/accounts/templates/accounts/signup-form.html +++ b/src/accounts/templates/accounts/signup-form.html @@ -3,59 +3,73 @@ {% load i18n %} {% block main-content %} -

{% trans "Sign up" %}

+
+

{% trans "Sign up" %}

-{% if form.errors %} -
{% trans "Please correct the errors below and try again." %}
-{% endif %} - -
- + {% if form.errors %}
- user + {% trans "Please correct the errors below and try again." %} +
+ {% endif %} + +
+
+ +
+ user +
+

+ {% trans "Add an avatar to your account using" %} Gravatar +

+
-

- {% trans "Add an avatar to your account using" %} Gravatar. + + +

+

-
+
+ {% csrf_token %} -

- -

- - - {% csrf_token %} - -
- {% trans "Personal Information" %} - {% render_form_field form.first_name %} - {% render_form_field form.last_name %} - {% render_form_field form.email %} - {% render_form_field form.username %} -
- -
- {% trans "Professionals Information" %} - {% render_form_field form.institution %} - {% render_form_field form.role %} -
- -
- {% trans "Others" %} - {% render_form_field form.twitter %} - {% render_form_field form.facebook %} - {% render_form_field form.google_talk %} - {% render_form_field form.webpage %} -
- -
- {% trans "Subscribe to mail lists" %} - {% render_form_field form.lists %} -
- -
- -
-
+
+
+
+ {% trans "Personal Information" %} + {% render_form_field form.first_name %} + {% render_form_field form.last_name %} + {% render_form_field form.email %} + {% render_form_field form.username %} +
+ +
+ {% trans "Others" %} + {% render_form_field form.twitter %} + {% render_form_field form.facebook %} + {% render_form_field form.google_talk %} + {% render_form_field form.webpage %} +
+
+ +
+
+ {% trans "Professionals Information" %} + {% render_form_field form.institution %} + {% render_form_field form.role %} +
+ +
+ {% trans "Subscribe to mail lists" %} +
+ {% render_form_field form.lists %} +
+
+
+ +
+ +
+
+ +
{% endblock %} diff --git a/src/colab/static/css/screen.css b/src/colab/static/css/screen.css index 0896a0e..4a1f9ac 100644 --- a/src/colab/static/css/screen.css +++ b/src/colab/static/css/screen.css @@ -136,8 +136,15 @@ fieldset>legend { vertical-align: middle; } -ul.none { - list-style-type:none; - padding:3px 0; - margin:10px 0; +.unstyled-list ul, ul.none { + list-style-type: none; + padding: 3px 0; + margin: 10px 0; +} + +#avatar { + background-color: #FFF; + padding: 9px 12px; + width: 47px; + height: 50px; } -- libgit2 0.21.2