From e6e8f844b829e475dac34e3240f5d3e3aab5526d Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 24 Sep 2013 18:22:13 +0200 Subject: [PATCH] a very rough rework of the registration page using bootstrap the css ends up almost empty OTOH there might be features that I don't know well (hints for one, maybe others) that do not work well anymore --- portal/static/css/registration.css | 86 +------------- portal/templates/registration_view.html | 145 ++++++++++++------------ 2 files changed, 76 insertions(+), 155 deletions(-) diff --git a/portal/static/css/registration.css b/portal/static/css/registration.css index 958f26f6..e41f9e27 100644 --- a/portal/static/css/registration.css +++ b/portal/static/css/registration.css @@ -4,97 +4,15 @@ but general-purpose settings for an openlab style I've started to move over such stuff in onelab.css feel free to add to this collection */ -#commentForm { - margin:0 auto; - width:800px; - padding:10px; - font-size:12pt; - overflow:auto; -} -#register { - text-align: center; -} -/* -input { - height: 22px; - width: 200px; -} -*/ -/* - border:2px solid #456879; - font-size: 10px; -*/ -label { - float: left; - font-weight: bold; - text-align: right; - margin-right: 20px; - width: 200px; - display: inline-block; - -} + label.error { float: none; color: red; padding-left: .5em; - vertical-align: - top; + vertical-align: top; font-size: 12px; } -p { - color:#666666; -/* border-bottom:1px solid #B7DDF2; */ -/* font-size:10px; */ -/* margin-bottom:20px; */ -/* padding-bottom:10px; */ -} - - - -legend { - position: relative; - top: -2px; - background: cornsilk; - padding: 10px 100px; - border: 2px groove threedface; - border-top: none; - box-shadow: inset 0 -5px 5px rgba(0,0,0,.2); - text-shadow: 1px 1px 2px rgba(0,0,0,.3); - font-weight: bold; - font-size: 25px; - margin-left: 90px; -} - -textarea:focus, input:focus { - border: 2px solid #900; -} - -.required { - font-size:12pt; -} -/* - .submit { - text-align: center; - margin-top: 15px; - margin-left: 250px; -} -*/ -.field { - padding:10px; -} .hint { display:none; } -.field:hover .hint { - position: absolute; - display: block; - margin: -30px 0 0 455px; - color: #FFFFFF; - padding: 7px 10px; - background: rgba(0, 0, 0, 0.6); - - -moz-border-radius: 7px; - -webkit-border-radius: 7px; - border-radius: 7px; -} diff --git a/portal/templates/registration_view.html b/portal/templates/registration_view.html index d8c5f4e5..dcc239b6 100644 --- a/portal/templates/registration_view.html +++ b/portal/templates/registration_view.html @@ -26,77 +26,80 @@
-
-{% csrf_token %} -
-
- - -

Enter your first name

- -
-
- - -

Enter your last name

- -
- -
- - -

Please select an authority responsible for vetting your account

-
- -
- - -

Enter a valid email address

- -
-
- - -

Enter password

- -
-
- - -

Retype the password

-
-
- - -

Genkey: Account Delegation Automatic (Recommended)

- -
- -
- -
-
-
+
+ {% csrf_token %} +
+ +
+ +

Enter your first name

+
+
+
+ +
+ +

Enter your last name

+
+
+
+ +
+ +

Please select an authority responsible for vetting your account

+
+
+ +
+ +
+ +

Enter a valid email address

+
+
+
+ +
+ +

Enter password

+
+
+
+ +
+ +

Retype the password

+
+
+
+ +
+ +

Genkey: Account Delegation Automatic (Recommended)

+
+
+ +
+
+ +
+
+
{% endblock %} -- 2.43.0