Line 14: | Line 14: | ||
<script src='https://2017.igem.org/Team:William_and_Mary/Outreach_DB/scripts/tabletop?action=raw&ctype=text/javascript'></script> | <script src='https://2017.igem.org/Team:William_and_Mary/Outreach_DB/scripts/tabletop?action=raw&ctype=text/javascript'></script> | ||
<script src="https://2017.igem.org/Team:William_and_Mary/Outreach_DB/scripts/alasql?action=raw&ctype=text/javascript"></script> | <script src="https://2017.igem.org/Team:William_and_Mary/Outreach_DB/scripts/alasql?action=raw&ctype=text/javascript"></script> | ||
+ | <scipt type='text/javascript'> | ||
+ | Handlebars.registerHelper( "padInt5", function ( i ){ | ||
+ | i.toString().padStart(5, '0') | ||
+ | }); | ||
+ | </scipt> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | ||
<script src='outreach_db.js' type='text/javascript'></script> | <script src='outreach_db.js' type='text/javascript'></script> | ||
Line 21: | Line 26: | ||
<center><div class='project-title' style='font-size: 50px;'>{{[Outreach Project]}}</div></center> | <center><div class='project-title' style='font-size: 50px;'>{{[Outreach Project]}}</div></center> | ||
<div style='padding-top: 20px;'></div> | <div style='padding-top: 20px;'></div> | ||
− | + | ||
<!----Product Description----> | <!----Product Description----> | ||
Line 47: | Line 52: | ||
<!------Colored box 1-----> | <!------Colored box 1-----> | ||
<div style="background-color:#DBDBDB; text-align:left; vertical-align: middle; padding:10px 30px; margin: 30px; column-width: 400px;font-size: 16px;"> | <div style="background-color:#DBDBDB; text-align:left; vertical-align: middle; padding:10px 30px; margin: 30px; column-width: 400px;font-size: 16px;"> | ||
− | <div><b>ID: </b>{{[id]}}</div> | + | <div><b>ID: </b>{{#padInt5 [id]}}</div> |
<div><b>Section: </b>{{[Section]}}</div> | <div><b>Section: </b>{{[Section]}}</div> | ||
Line 107: | Line 112: | ||
{{/each}} | {{/each}} | ||
</div> | </div> | ||
− | + | ||
Revision as of 20:56, 28 October 2017