participant.html 893 B

123456789101112131415161718192021222324252627282930313233
  1. <style type="text/css">
  2. table {margin-bottom:20px;table-layout:fixed; border-collapse:collapse;
  3. border-spacing:10px}
  4. th {font-weight:bold}
  5. table.t1 {width:900px}
  6. </style>
  7. <div id="participant-view">
  8. <table id="participantData" class="t1"></table>
  9. <textarea id="PID" style="display:none"></textarea>
  10. </div>
  11. <script type="text/javascript">
  12. let config=new Object();
  13. config.id=LABKEY.ActionURL.getParameter('participantId');
  14. config.document=document;
  15. config.debugId="PID";
  16. print(config,"Test");
  17. config.table=config.document.getElementById("participantData");
  18. config.setup="participantView";
  19. config.headerStyle=new Object();
  20. config.headerStyle.background="#d0e8f8";
  21. config.headerStyle.borderBottom="thin solid";
  22. config.missingStyle=new Object();
  23. config.missingStyle.background="#f8e8d0";
  24. buildTable(config);
  25. print(config,"Test: "+config.table);
  26. print(config,"Participant: "+id);
  27. </script>