From d52fb0f7b6d0700ed43f715cf9abf3ae6e1b223c Mon Sep 17 00:00:00 2001 From: godofdream Date: Sun, 12 Aug 2012 19:52:01 +0200 Subject: added login.html --- module/web/static/css/default/style.css | 21 ++++++++++++++++++++ module/web/templates/default/login.html | 34 +++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 module/web/templates/default/login.html (limited to 'module') diff --git a/module/web/static/css/default/style.css b/module/web/static/css/default/style.css index efea80bc5..2f1073932 100644 --- a/module/web/static/css/default/style.css +++ b/module/web/static/css/default/style.css @@ -149,6 +149,27 @@ header .logo { margin-top: 12px; font-family: sans-serif } + +/* + Login +*/ +.login { + vertical-align: middle; + text-align: center; + border: 1px; + border-color:#000000; + border-width:2px; + border-style:solid; + padding: 15px; + -moz-border-radius: 15px; + border-radius: 15px; +} + +.login div{ + vertical-align: middle; + text-align: center; + padding: 3px; +} /* Footer diff --git a/module/web/templates/default/login.html b/module/web/templates/default/login.html new file mode 100644 index 000000000..914ec6f16 --- /dev/null +++ b/module/web/templates/default/login.html @@ -0,0 +1,34 @@ +{% extends 'default/base.html' %} + +{% block title %}{{_("Login")}} - {{super()}} {% endblock %} + +{% block content %} + +
+ +
+ + + + +
+
+ + +{% if errors %} +

{{_("Your username and password didn't match. Please try again.")}}

+ {{ _("To reset your login data or add an user run:") }} python pyLoadCore.py -u +{% endif %} + + +{% endblock %} \ No newline at end of file -- cgit v1.2.3