From 4e7f6d5e25e9b52418065ef87874b4cb4318c6e1 Mon Sep 17 00:00:00 2001 From: Rushil Umaretiya <2023rumareti@tjhsst.edu> Date: Sun, 27 Sep 2020 11:34:35 -0400 Subject: [PATCH] fixed styles --- pages/templates/pages/email.html | 15 ++++++++------- pages/views.py | 4 ++-- static/css/styles.css | 4 ++++ 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/pages/templates/pages/email.html b/pages/templates/pages/email.html index 32f9a76..14081d2 100644 --- a/pages/templates/pages/email.html +++ b/pages/templates/pages/email.html @@ -7,11 +7,12 @@

Thanks for your support!

You're almost done!


-

Thanks for all your help! Now we just need you to send it!

-
    -

    Here's how:

    -

  1. First, copy the letter +
      +

      Here's how to send it:

      + +

    1. First, make a new email
    2. +

    3. Second, copy the letter and paste
    4. My name is {{form.name}}, and I am writing today to voice my support for the following letter and my disapproval of the currently proposed system. Please reply to lettertofcps@gmail.com with any questions or comments.

      @@ -79,19 +80,19 @@

      Sincerely,
      {{form.name}}

      -

    5. Second, copy the recipient list
    6. +

    7. Third, copy the recipient list and paste in the To:
    8. {{maillist}}
      -

    9. Third, add a subject and hit send!
    10. +

    11. Finally, add a subject and hit send!
    12. Here's a suggestion if you need it!

      {{subject}}
      -

      And here's how to do it a little faster:

      +

      And here's how to do it a little faster:

    1. First, copy the letter
    2. diff --git a/pages/views.py b/pages/views.py index 5728ba3..3b57d54 100644 --- a/pages/views.py +++ b/pages/views.py @@ -13,8 +13,8 @@ def main(request): "Concerns with FCPS' proposal to change the TJ admissions system" ] subject = choice(subjects) - recepient = request.POST.getlist('rep') - #recepient = ['rushilwiz@gmail.com', 'lettertofcps@gmail.com'] + #recepient = request.POST.getlist('rep') + recepient = ['rushilwiz@gmail.com', 'lettertofcps@gmail.com'] context = { 'form':request.POST, 'mailto': f'mailto:{",".join(request.POST.getlist("rep"))}?subject={subject}', diff --git a/static/css/styles.css b/static/css/styles.css index efbb34e..f6c6f31 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -5,11 +5,15 @@ footer { #letter { overflow-y: scroll; height:35vh; + background-color: #ededed; + padding: 10px; } #letter-second { overflow-y: scroll; height:35vh; + background-color: #ededed; + padding: 10px; } #letter-mail {