From 06ef79a801faccf0a6b567ad4631388772fbe09c Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 17 May 2019 14:48:20 +0200 Subject: [PATCH 1/2] header --- rowers/templates/landingpage.html | 47 ++++++++++++++++++++++++++++++- templates/landing.html | 31 ++++++++++++++++++++ 2 files changed, 77 insertions(+), 1 deletion(-) diff --git a/rowers/templates/landingpage.html b/rowers/templates/landingpage.html index 19bbd419..c7e8a19d 100644 --- a/rowers/templates/landingpage.html +++ b/rowers/templates/landingpage.html @@ -1,14 +1,51 @@ +{% load leaflet_tags %} +{% load cookielaw_tags %} +{% load rowerfilters %} +{% load tz_detect %} +{% tz_detect %} +{% load analytical %} +{% block filters %} +{% endblock %} + {% block title %}Rowsandall Rowing Data Analytics{% endblock %} + {% block og_image %} + + + {% endblock %} + + + + + + + + + + + {% block image_src %}{% endblock %} + {% analytical_head_bottom %} +
+ + Rowsandall logo + +
+
diff --git a/templates/landing.html b/templates/landing.html index a308602b..2d3dc7e1 100644 --- a/templates/landing.html +++ b/templates/landing.html @@ -143,7 +143,38 @@ + {% if user.is_authenticated %} + + {% endif %}

Aap

From 58823547609843ac270c8748ce36b6ba4c124416 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Fri, 17 May 2019 15:53:32 +0200 Subject: [PATCH 2/2] some more text and footer --- rowers/templates/landingpage.html | 159 +++++++++++++++++++++++++++--- static/css/frontstyles.css | 1 + 2 files changed, 147 insertions(+), 13 deletions(-) diff --git a/rowers/templates/landingpage.html b/rowers/templates/landingpage.html index c7e8a19d..efcc3ae9 100644 --- a/rowers/templates/landingpage.html +++ b/rowers/templates/landingpage.html @@ -43,7 +43,6 @@ z-index: 1; height:65px; width: 100%; - color: #fff; background: #fff; } @@ -63,12 +62,12 @@ .bgimg-2 { background-image: url("/static/img/MerijnSoeters-hr-8192.jpg"); - min-height: 400px; + min-height: 100%; } .bgimg-3 { background-image: url("/static/img/MerijnSoeters-hr-3282.jpg"); - min-height: 400px; + min-height: 100%; } .caption { @@ -79,6 +78,36 @@ text-align: center; color: #000; } + + .register { + position: absolute; + opacity: 0.65; + top: 40%; + left: 0%; + text-align: center; + color: #000; + } + + + .signin { + position: absolute; + left: 0; + top: 5px; + right: 5px; + width: 100%; + text-align: right; + color: #000; + } + + .logo { + position: absolute; + top: 5px; + text-align: left; + } + + .signin a { + color: #000; + } .caption span.border { background-color: #111; @@ -87,6 +116,13 @@ font-size: 25px; letter-spacing: 10px; } + + .register .border { + background-color: #aaa; + color: #000; + padding: 18px; + font-size: 18px; + } h3 { letter-spacing: 5px; @@ -106,17 +142,36 @@
- - Rowsandall logo - + {% if not user.is_authenticated %} + + {% else %} + + {% endif %} +
- SCROLL DOWN + FREE DATA AND ANALYSIS. FOR ROWERS. BY ROWERS.
+ {% if not user.is_authenticated %} +
+
+

SIGN UP

+

Sign-up form goes here

+
+
+ {% endif %}
@@ -141,33 +196,111 @@
- LESS HEIGHT + + For on-the-water and indoor rowing +
-

Some info goes here

+

"Check out @rowsandall as well - his site is really useful for dissecting rowing data, especially if you eventually get power/angles on the water - check out the articles in the blog - if you’re logging your ergs on C2logbook you can have a play dissecting the data" - Tom Carter

- SCROLL UP + + Plan, execute, measure, adjust +
-

Where does the login go?

+

Potentially to be replaced with log/race/plan/analyze/sync from old landing page

+
    +
  • Commit to a goal
  • +
  • Plan your training
  • +
  • Track your execution and progress
  • +
  • Monitor key rowing technique metrics
  • +
- COOL! + Follow us on + + +   + + +   + + +   + + +   +
+ + diff --git a/static/css/frontstyles.css b/static/css/frontstyles.css index fb02b7db..e15812d8 100644 --- a/static/css/frontstyles.css +++ b/static/css/frontstyles.css @@ -57,6 +57,7 @@ font-weight: bold; text-align: left; font-size: 1.0em; + color: #fff; } header ul {