From cc40f589c392e359ec066569ec2d3e8ee61b5b25 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Tue, 28 May 2019 17:16:37 +0200 Subject: [PATCH] blogs to left menu --- .../freecoach_registration_form.html | 52 +++++++++---------- rowers/templates/menublogs.html | 17 ++++++ rowers/templates/registration_form.html | 52 +++++++++---------- static/css/rowsandall2.css | 6 +++ templates/newbase.html | 32 ++++++++++-- 5 files changed, 103 insertions(+), 56 deletions(-) create mode 100644 rowers/templates/menublogs.html diff --git a/rowers/templates/freecoach_registration_form.html b/rowers/templates/freecoach_registration_form.html index 0c1f6a5d..b747e2b0 100644 --- a/rowers/templates/freecoach_registration_form.html +++ b/rowers/templates/freecoach_registration_form.html @@ -10,32 +10,6 @@
  • New Coach Registration (free Coach Plan)

  • -
  • - -

    Register as a coach (free)

    -

    Click here and fill out the form to start with a free Coach plan. This allows you - to manage up to 10 athletes (who have to be on the Pro plan). You cannot upload your own - workouts. -

    -

    - From this free plan, you can upgrade to any of the paid plans, including coach plans for larger - athlete groups or rower plans for managing your own training plan and workouts. -

    -
    -
  • -
  • - -

    Register as an athlete (free)

    -

    Click here and fill out the form to start with a free Athlete plan. This allows you - to store and analyze your own workouts. -

    -

    - From this free plan, you can upgrade to any of the paid plans, including - coach plans for managing larger athlete groups or rower plans for expanded - analytics. -

    -
    -
  • @@ -69,6 +43,32 @@

    Also, we are restricting access to the site to 16 years and older because of EU data protection regulations.

  • +
  • + +

    Register as a coach (free)

    +

    Click here and fill out the form to start with a free Coach plan. This allows you + to manage up to 10 athletes (who have to be on the Pro plan). You cannot upload your own + workouts. +

    +

    + From this free plan, you can upgrade to any of the paid plans, including coach plans for larger + athlete groups or rower plans for managing your own training plan and workouts. +

    +
    +
  • +
  • + +

    Register as an athlete (free)

    +

    Click here and fill out the form to start with a free Athlete plan. This allows you + to store and analyze your own workouts. +

    +

    + From this free plan, you can upgrade to any of the paid plans, including + coach plans for managing larger athlete groups or rower plans for expanded + analytics. +

    +
    +
  • diff --git a/rowers/templates/menublogs.html b/rowers/templates/menublogs.html new file mode 100644 index 00000000..dd65e3ff --- /dev/null +++ b/rowers/templates/menublogs.html @@ -0,0 +1,17 @@ +{% load staticfiles %} +{% load rowerfilters %} + +{% for blog in blogposts %} +
  • +

    {{ blog.title|safe }}

    +

    + +

    +{{ blog.excerpt|safe }} +

    + + read more + +

    +
  • +{% endfor %} diff --git a/rowers/templates/registration_form.html b/rowers/templates/registration_form.html index 7408e158..ef098e65 100644 --- a/rowers/templates/registration_form.html +++ b/rowers/templates/registration_form.html @@ -10,32 +10,6 @@
  • New User Registration

  • -
  • - -

    Register as a coach (free)

    -

    Click here and fill out the form to start with a free Coach plan. This allows you - to manage up to 10 athletes (who have to be on the Pro plan). You cannot upload your own - workouts. -

    -

    - From this free plan, you can upgrade to any of the paid plans, including coach plans for larger - athlete groups or rower plans for managing your own training plan and workouts. -

    -
    -
  • -
  • - -

    Register as an athlete (free)

    -

    Click here and fill out the form to start with a free Athlete plan. This allows you - to store and analyze your own workouts. -

    -

    - From this free plan, you can upgrade to any of the paid plans, including - coach plans for managing larger athlete groups or rower plans for expanded - analytics. -

    -
    -
  • @@ -69,6 +43,32 @@

    Also, we are restricting access to the site to 16 years and older because of EU data protection regulations.

  • +
  • + +

    Register as a coach (free)

    +

    Click here and fill out the form to start with a free Coach plan. This allows you + to manage up to 10 athletes (who have to be on the Pro plan). You cannot upload your own + workouts. +

    +

    + From this free plan, you can upgrade to any of the paid plans, including coach plans for larger + athlete groups or rower plans for managing your own training plan and workouts. +

    +
    +
  • +
  • + +

    Register as an athlete (free)

    +

    Click here and fill out the form to start with a free Athlete plan. This allows you + to store and analyze your own workouts. +

    +

    + From this free plan, you can upgrade to any of the paid plans, including + coach plans for managing larger athlete groups or rower plans for expanded + analytics. +

    +
    +
  • diff --git a/static/css/rowsandall2.css b/static/css/rowsandall2.css index 89587bf3..2f0ccff9 100644 --- a/static/css/rowsandall2.css +++ b/static/css/rowsandall2.css @@ -242,6 +242,12 @@ th.rotate > div > span { max-width: 200px; } +@media only screen and (max-width: 450px) { + .site-announcement-box { + max-width: 100%; + } +} + .site-announcement { font: 1.0em/1.2em sans-serif; diff --git a/templates/newbase.html b/templates/newbase.html index f92498f4..99675727 100644 --- a/templates/newbase.html +++ b/templates/newbase.html @@ -330,10 +330,12 @@

    {% endif %} {% block ad %} - - -

    Prygl Rowing Camps

    -
    +
    +
    + + +

    Prygl Rowing Camps

    +
    {% endblock %} @@ -432,3 +434,25 @@ }); }); + + +