From: Thierry Parmentelat Date: Mon, 10 Dec 2012 16:26:11 +0000 (+0100) Subject: a bit nicer login widget X-Git-Tag: myslice-django-0.1-1~152 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=fc5bea0b223ee485148080c3221d738bd769d45c;p=myslice.git a bit nicer login widget --- diff --git a/static/css/login.css b/static/css/login.css new file mode 100644 index 00000000..06528eee --- /dev/null +++ b/static/css/login.css @@ -0,0 +1,12 @@ +p.login { + font-style: italic; +} +input.login { + width: auto; +} +input[type="password"] { + border: solid 1px #444; + background-image: url( '/all-static/img/form_input_password.png' ); + background-repeat: repeat-x; + background-position: top; +} diff --git a/static/img/form_input_password.png b/static/img/form_input_password.png new file mode 100644 index 00000000..bfc1cb8b Binary files /dev/null and b/static/img/form_input_password.png differ diff --git a/templates/widget-login.html b/templates/widget-login.html index 7f4a3a88..ac90bcc1 100644 --- a/templates/widget-login.html +++ b/templates/widget-login.html @@ -1,3 +1,4 @@ +{% insert_str prelude 'css/login.css' %}

{{ state }}

@@ -5,9 +6,9 @@ {% if next %} {% endif %} - username: -
- password: -
+ +
+ +