This repository has been archived by the owner on Aug 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix Deep Sequencing Request PDF generator
- Loading branch information
Showing
4 changed files
with
152 additions
and
178 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Deep Sequencing Request</title> | ||
<style type="text/css"> | ||
body { | ||
font-family: Helvetica, Arial, sans-serif; | ||
font-size: 3.5em; | ||
} | ||
|
||
h2 { | ||
text-align: center; | ||
margin-bottom: 2em; | ||
} | ||
|
||
h3 { | ||
text-align: center; | ||
margin-bottom: 1.5em; | ||
} | ||
|
||
hr { | ||
margin: 1.5em 0; | ||
} | ||
|
||
.info p { | ||
margin: 0.5em 0; | ||
} | ||
|
||
.info p.description { | ||
line-height: 1.5; | ||
} | ||
|
||
.libraries { | ||
font-size: 0.9em; | ||
width: 100%; | ||
} | ||
|
||
.libraries tr th { | ||
text-align: left; | ||
} | ||
|
||
.signature { | ||
font-size: 0.8em; | ||
text-align: center; | ||
margin-top: 5em; | ||
float: right; | ||
width: 50%; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h2>Deep Sequencing Request</h2> | ||
|
||
<div class="info"> | ||
<p><strong>Request name:</strong> {{ request_name }}</p> | ||
<p><strong>Date:</strong> {{ date }}</p> | ||
<p><strong>User:</strong> {{ user }}</p> | ||
<p><strong>Phone:</strong> {{ phone }}</p> | ||
<p><strong>Email:</strong> {{ email }}</p> | ||
<p><strong>Organization:</strong> {{ organization }}</p> | ||
<p><strong>Cost unit(s):</strong> {{ cost_unit }}</p> | ||
<p class="description"><strong>Description:</strong> {{ description }}</p> | ||
</div> | ||
|
||
<hr /> | ||
|
||
<h3>List of libraries/samples to be submitted for sequencing</h3> | ||
<table class="libraries"> | ||
<tr> | ||
<th style="width:10%">#</th> | ||
<th style="width:50%">Name</th> | ||
<th style="width:20%">Type</th> | ||
<th style="width:20%">Barcode</th> | ||
</tr> | ||
{% for record in records %} | ||
<tr> | ||
<td>{{ forloop.counter }}</td> | ||
<td>{{ record.name }}</td> | ||
<td>{{ record.type }}</td> | ||
<td>{{ record.barcode }}</td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
|
||
<hr /> | ||
|
||
<table class="signature"> | ||
<tr> | ||
<td style="width:50%">____________________</td> | ||
<td style="width:50%">____________________</td> | ||
</tr> | ||
<tr> | ||
<td>(Date, Signature)</td> | ||
<td>(Principal Investigator)</td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
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
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
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