From 1a86ee6b7738d16b97b0b7109379e0bc64c8e3bf Mon Sep 17 00:00:00 2001 From: Rushil Umaretiya <2023rumareti@tjhsst.edu> Date: Sun, 27 Sep 2020 15:24:51 -0400 Subject: [PATCH] ok yeefay pt 2 --- pages/templates/pages/email.html | 4 ++-- pages/templates/pages/index.html | 28 ++++++++++++++++++++++++++-- static/js/main.js | 6 +++++- 3 files changed, 33 insertions(+), 5 deletions(-) diff --git a/pages/templates/pages/email.html b/pages/templates/pages/email.html index d16edad..7a29413 100644 --- a/pages/templates/pages/email.html +++ b/pages/templates/pages/email.html @@ -11,7 +11,7 @@

    Here's how to send it:

    -

  1. First, make a new email
  2. +

  3. First, go to your email and compose a new email
  4. Second, copy the letter and paste
  5. @@ -114,7 +114,7 @@ {{maillist}}

  6. Finally, add a subject and hit send!
  7. -

    Here's a suggestion if you need it!

    +

    Here's a suggestion if you need it!

    {{subject}}
diff --git a/pages/templates/pages/index.html b/pages/templates/pages/index.html index 5af60f3..a758d2a 100644 --- a/pages/templates/pages/index.html +++ b/pages/templates/pages/index.html @@ -6,10 +6,34 @@

Merit Lottery is not the answer.

Hello, we're a group of TJHSST students who have been working diligently for the past few weeks on a letter voicing our opinions against FCPS's recent proposal to introduce a lottery system to the TJ admissions process. The people who introduced the proposal have been extremely vocal -- leading the Board to believe this is the popular opinion. By sending this letter written by us to the decision makers, you are showing them that the majority of the TJ community disapproves of the proposal. We must make our voices heard.

-

Find the letter here!

+

Read the letter here!

{% csrf_token %} + Who are you sending it to? +
Who would you like to send it to?   
@@ -114,7 +138,7 @@
- Just some quick info (this info will not be saved) + Fill out the email below to generate your personalized email (this info will not be saved)
diff --git a/static/js/main.js b/static/js/main.js index 20012b8..c278dfe 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -9,7 +9,7 @@ function selectAll() { } function toggle() { - document.getElementById("who").classList.toggle("hide"); + document.getElementById("recipients").classList.toggle("hide"); } function copyLetter() { @@ -24,4 +24,8 @@ function copyList() { document.getElementById('copyList').innerHTML = "Copied!"; } +function copySubject() { + document.getElementById('copySubject').innerHTML = "Copied!"; +} + var clipboard = new ClipboardJS('.btn');