mirror of
https://github.com/Rushilwiz/lettertofcps.git
synced 2025-04-06 20:30:17 -04:00
fixed buttons
This commit is contained in:
parent
dd008f6382
commit
38c327e72f
|
@ -84,7 +84,7 @@
|
|||
<ol class="text-left mt-5">
|
||||
<h2 class="text-center">If that didn't work,</h2>
|
||||
<h3><li>First, copy the letter
|
||||
<button type="button" onclick="copyLetter()" id="copyLetterButtonSecond" data-clipboard-target="#letter-second" class="btn btn-secondary">Copy</button></li></h3>
|
||||
<button type="button" onclick="copySecond()" id="copyLetterButtonSecond" data-clipboard-target="#letter-second" class="btn btn-secondary">Copy</button></li></h3>
|
||||
<div id="letter-second">
|
||||
<p>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 <a href="mailto:lettertofcps@gmail.com">lettertofcps@gmail.com</a> with any questions or comments.</p>
|
||||
<p>{{form.message}}</p>
|
||||
|
@ -151,7 +151,7 @@
|
|||
<p><strong>Sincerely, <br>{{form.name}}</strong></p>
|
||||
|
||||
</div>
|
||||
<h3 class="mt-3"><li>Second, copy the reciepient list <button type="button" onclick="copyLetter()" id="copyList" data-clipboard-target="#letter-mail" class="btn btn-secondary">Copy</button></li>
|
||||
<h3 class="mt-3"><li>Second, copy the reciepient list <button type="button" onclick="copyList()" id="copyList" data-clipboard-target="#letter-mail" class="btn btn-secondary">Copy</button></li>
|
||||
</h3>
|
||||
<div id="letter-mail">
|
||||
{{maillist}}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<div class="text-center text-fluid">
|
||||
<h1 class="mt-5">Merit Lottery is not the answer.</h1>
|
||||
<p class="lead text-left">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.</p>
|
||||
<h3 class="mb-4"><a href="https://bit.ly/TJLetterToFCPS">Find the letter here!</a></h3>
|
||||
<h3 class="mb-4"><a href="https://bit.ly/TJLetterToFCPS" target="_blank">Find the letter here!</a></h3>
|
||||
</div>
|
||||
<form name="form" method="post">
|
||||
{% csrf_token %}
|
||||
|
|
|
@ -16,8 +16,12 @@ function copyLetter() {
|
|||
document.getElementById('copyLetterButton').innerHTML = "Copied!";
|
||||
}
|
||||
|
||||
function copyLetterSecond() {
|
||||
function copySecond() {
|
||||
document.getElementById('copyLetterButtonSecond').innerHTML = "Copied!";
|
||||
}
|
||||
|
||||
function copyList() {
|
||||
document.getElementById('copyList').innerHTML = "Copied!";
|
||||
}
|
||||
|
||||
var clipboard = new ClipboardJS('.btn');
|
||||
|
|
Loading…
Reference in New Issue
Block a user