summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-02-10 17:22:09 +0200
committerLV-426 <lv-426@taproot.org.il>2015-02-10 17:22:09 +0200
commita68038b3bbee71311feb64c7036ee5bf8dc6037c (patch)
tree710a9105806c34f2fcbc47eab1ba4c209bf33a9d
parentbf8ad7015aacb842fea585d1bd7563cee1f4d959 (diff)
reuse background image style with signup page
-rw-r--r--res/client/css/style.css5
-rw-r--r--res/templates/user_signup.html21
2 files changed, 19 insertions, 7 deletions
diff --git a/res/client/css/style.css b/res/client/css/style.css
index 8c80fcaf..531b15c6 100644
--- a/res/client/css/style.css
+++ b/res/client/css/style.css
@@ -895,7 +895,10 @@ p {
margin-left: auto;
margin-right: auto;
display: block;
- margin-top: 20%; }
+ padding: 20px 30px;
+ margin-top: 80px;
+ background: white;
+ box-shadow: 0px 3px 6px 3px rgba(0, 0, 0, 0.3); }
#signup_form___submit_button {
background-color: #ee3654;
diff --git a/res/templates/user_signup.html b/res/templates/user_signup.html
index c8e776fe..26f3daf4 100644
--- a/res/templates/user_signup.html
+++ b/res/templates/user_signup.html
@@ -1,11 +1,20 @@
{% extends "base.html" %} {% block title %}Rhizi - Sign up{% endblock %}
{% block head %} {{ super() }}
-<script
- src="/static/lib/jquery.js"
- type="text/javascript"></script>
-<script
- src="/static/user_signup.js"
- type="text/javascript"></script>
+<script src="/static/lib/jquery.js" type="text/javascript"></script>
+<script src="/static/user_signup.js" type="text/javascript"></script>
+
+<style type="text/css">
+html {
+ background: url(/static/img/login-background.jpg);
+ background-repeat: no-repeat;
+ background-position: center;
+ background-size: cover;
+}
+
+body {
+ background-color: transparent;
+}
+</style>
{% endblock %} {% block content %}
<div id="user_signup_form_panel">
<h1 id="signup_form__title">Sign up</h1>