Created
January 5, 2013 01:18
-
-
Save adamcrown/4459040 to your computer and use it in GitHub Desktop.
A simple Liquid template for "White Pages" reports with the applyfor app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>RA White Pages</title> | |
<style type="text/css"> | |
* { | |
font-family: Arial, sans-serif; | |
font-size: 10pt; | |
} | |
table { | |
width: 100%; | |
margin-bottom: 50px; | |
border-collapse: collapse; | |
} | |
table:nth-child(even) { | |
page-break-after: always; | |
} | |
td { | |
padding: 10px; | |
vertical-align: top; | |
border: solid 1px black; | |
} | |
td.student, td.rank, td.photo, td.current_hall, td.hall_preference { | |
width: 25%; | |
} | |
td.interview_notes { | |
width: 75%; | |
} | |
td.scores { | |
width: 35%; | |
} | |
td.group_process_notes { | |
width: 40%; | |
} | |
td.student span.name { | |
font-weight: bold; | |
} | |
td.photo { | |
text-align: center; | |
vertical-align: middle; | |
} | |
strong { | |
padding-right: 10px; | |
color: #666; | |
} | |
</style> | |
</head> | |
<body> | |
{% for application in applications_data %} | |
<table> | |
<tr> | |
<td class="student"> | |
<span class="name">{{ application.applicant.first_name }} {{ application.applicant.last_name }}</span> | |
<span class="netid">{{ application.applicant.username }}</span> | |
<br/> | |
<span class="email">{{ application.applicant.email }}</span> | |
</td> | |
<td class="interview_notes" colspan="2" rowspan="3"> | |
<strong>Interview Notes:</strong> | |
{{ application.candidate_summary_completed_by_selection_staff.interview_notes_skills_strengths_concerns_roles_hall_fit }} | |
</td> | |
<tr> | |
<td class="rank"> | |
<strong>Rank:</strong> | |
</td> | |
</tr> | |
<tr> | |
<td class="photo"><img src="{{ application.applicant.photo_url }}" alt="ID Photo"/></td> | |
</tr> | |
<tr> | |
<td class="current_hall"> | |
<strong>Current Hall:</strong> | |
<br/> | |
{{ application.ra_application.current_residence_hall }} | |
</td> | |
<td class="scores" rowspan="2"> | |
<div class="gpa"> | |
<strong>GPA:</strong> | |
{{ application.ra_application.cumulative_gpa }} | |
</div> | |
<div class="class"> | |
<strong>Class:</strong> | |
{{ application.ra_application.class_status_fall_2012 }} | |
</div> | |
<div class="ra_reference"> | |
<strong>RA Reference:</strong> | |
{{ application.candidate_summary_completed_by_selection_staff.ra_reference_recommendation | to_score }} | |
</div> | |
<div class="peer_evals"> | |
<strong>Peer Evals:</strong> | |
HR:{{ application.candidate_summary_completed_by_selection_staff.peer_highest_recommendation_count }}, | |
STR:{{ application.candidate_summary_completed_by_selection_staff.peer_strongly_recommend_count }}, | |
REC:{{application.candidate_summary_completed_by_selection_staff.peer_recommend_count }}, | |
W/RES:{{ application.candidate_summary_completed_by_selection_staff.peer_recommend_with_reservation_count }}, | |
DNR:{{application.candidate_summary_completed_by_selection_staff.peer_do_not_recommend_count }} | |
</div> | |
<div class="group_process"> | |
<strong>Group Process Score:</strong> | |
{{ application.candidate_summary_completed_by_selection_staff.group_process_rank | to_score }} | |
</div> | |
<div class="interview"> | |
<strong>Interview Score:</strong> | |
{{ application.candidate_summary_completed_by_selection_staff.interview_recommendation | to_score }} | |
</div> | |
<div class="mbti"> | |
<strong>MBTI</strong> | |
{{ application.ra_application.favorite_world }} | |
{{ application.ra_application.information }} | |
{{ application.ra_application.decisions }} | |
{{ application.ra_application.structure }} | |
</div> | |
</td> | |
<td class="group_process_notes" rowspan="2"> | |
<strong>GP Strengths:</strong> | |
<br/> | |
{{ application.candidate_summary_completed_by_selection_staff.skills_strengths }} | |
<br/> | |
<strong>GP Concerns:</strong> | |
<br/> | |
{{ application.candidate_summary_completed_by_selection_staff.concerns }} | |
<br/> | |
<strong>GP Follow-Up Notes:</strong> | |
<br/> | |
{{ application.candidate_summary_completed_by_selection_staff.follow-up_questions_for_interview }} | |
</td> | |
</tr> | |
<tr> | |
<td class="hall_preferences"> | |
<strong>Hall Preference:</strong> | |
<br/> | |
{{ application.ra_application.first_hall_preference }} | |
<br/> | |
{{ application.ra_application.second_hall_preference }} | |
<br/> | |
{{ application.ra_application.third_preference }} | |
</td> | |
</tr> | |
</table> | |
{% endfor %} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment