smokingHabits.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <style>
  2. table {margin-bottom:20px;table-layout:fixed; border-collapse:collapse; border-spacing:10px}
  3. table.t1 {width:400px; border:1px solid black}
  4. table.t1 th {border:1px solid black;padding:4px;background-color:#e0e0e0}
  5. table.t1 td {text-align:center}
  6. table.t2 {width:800px; border:1px solid black;}
  7. table.t2 th {border:1px solid black;padding:4px;background-color:#e0e0e0}
  8. table.t2 td {border:1px solid black; text-align:center}
  9. div.d1 {text-align:center; width=400px; background-color:#e0e0e0;
  10. font-size: 20px; margin-bottom:20px}
  11. </style>
  12. <table cellspacing="2" cellpadding="5" border="0">
  13. <tr><td>CRF ID: </td><td><strong id="crfRefId">1583163135258</strong></td></tr>
  14. </table>
  15. <form name="smokingHabitsForm" id="smokingHabitsForm">
  16. <div id="smokingHabitsDiv"></div>
  17. <textarea cols="30" rows="2" name="formStatus" id="formStatus">
  18. Loading
  19. </textarea>
  20. </form>
  21. <script type="text/javascript">
  22. window.onload = init();
  23. //var generateTable=require("tecant/generateTable.js");
  24. function init(){
  25. //LABKEY.requiresScript("/tecant/scripts/tecant/generateTable.js", function() {
  26. // Called back when all the scripts are loaded onto the page
  27. // document.getElementById('formStatus').value+="\n Adding scripts";
  28. // });
  29. generateTable("existingCondition","smokingHabitsDiv",true);
  30. }