diff --git a/packet/static/js/pfp-zoom.js b/packet/static/js/pfp-zoom.js new file mode 100644 index 00000000..3e80b5ff --- /dev/null +++ b/packet/static/js/pfp-zoom.js @@ -0,0 +1,36 @@ +$(document).ready(function () { + let photos = Array.from(document.querySelectorAll('.eval-user-img')) + + top.onclick = function (e) { + let tsib = e.target.previousElementSibling + if (tsib != null) { + if (tsib.classList.contains('eval-user-img')) { + return; + } + } + if (e.target.classList.contains('eval-user-img')) { + return; + } + document.querySelector('#zoom-photo').remove() + } + + photos.forEach((photo) => { + photo.addEventListener('click', (e) => { + let other = document.querySelector('#zoom-photo') + if (other != null) { + other.remove() + } + photo.insertAdjacentHTML('afterend', ` +
Soon you'll starting the introductory process for CSH, and the first part of that is Packet.
Your packet will start on {{ packet.start.strftime('%A, %B %-d') }} at {{ packet.start.strftime('%-I:%M %p') }}
-You can view your packet at {{ config["PACKET_INTRO"] }} with - the credentials you should have been sent.
-If you don't know your credentials, reach out to an RTP
-If you have any questions about Packet or the introductory process, email evals@csh.rit.edu
-If you have any questions about login credentials or any technical issues, email rtp@csh.rit.edu
+You can view your packet at {{ config["PACKET_INTRO"] }} once you receive credentials.
+If it is past the start date and you have still not received credentials, please reach out to an RTP
+If it is past the start date and you have any questions about Packet or the introductory process, email evals@csh.rit.edu
+If it is past the start date and you have any questions about login credentials or any technical issues, email rtp@csh.rit.edu
{% endblock %} diff --git a/packet/templates/mail/packet_start.txt b/packet/templates/mail/packet_start.txt index 162ec147..6cf1a615 100644 --- a/packet/templates/mail/packet_start.txt +++ b/packet/templates/mail/packet_start.txt @@ -6,9 +6,9 @@ Soon you'll starting the introductory process for CSH, and the first part of tha Your packet will start on {{ packet.start.strftime('%A, %B %-d') }} at {{ packet.start.strftime('%-I:%M %p') }} -You can view your packet at {{ config["PROTOCOL"] + config["PACKET_INTRO"] }} with the credentials you should have been sent. -If you don't know your credentials, reach out to an RTP +You can view your packet at {{ config["PROTOCOL"] + config["PACKET_INTRO"] }} once you receive credentials. +If it is past the start date and you don't know your credentials, reach out to an RTP -If you have any questions about Packet or the introductory process, email evals@csh.rit.edu +If it is past the start date and you have any questions about Packet or the introductory process, email evals@csh.rit.edu -If you have any questions about login credentials or any technical issues, email rtp@csh.rit.edu +If it is past the start date and you have any questions about login credentials or any technical issues, email rtp@csh.rit.edu diff --git a/packet/templates/packet.html b/packet/templates/packet.html index 5445f101..09e77d53 100644 --- a/packet/templates/packet.html +++ b/packet/templates/packet.html @@ -50,7 +50,7 @@