approvedPortal.html 957 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <style>
  2. .box{
  3. width:120px;
  4. height:120px;
  5. }
  6. .gold{ background-color: gold; }
  7. .red{ background-color: red; }
  8. .large{
  9. font-size: 30px;
  10. }
  11. .center{
  12. text-align: center;
  13. }
  14. .stretch{
  15. padding: 50px;
  16. }
  17. </style>
  18. <table cellspacing="2" cellpadding="5" border="0">
  19. <tr><td>Version: </td><td><strong id="version">0.0</strong></td></tr>
  20. </table>
  21. <div id="formDiv">
  22. </div>
  23. <div id="debugDiv" style="display:block">
  24. <h3>Debug notes</h3>
  25. <textarea cols="95" rows="5" id="formStatus">
  26. </textarea>
  27. </div>
  28. <script type "text/javascript">
  29. window.onload=loadScripts;
  30. function loadScripts(){
  31. LABKEY.requiresScript(["crfTecant/formPortal.js","crfTecant/debug.js"],init);
  32. }
  33. function init(){
  34. let config=formPortal.config;
  35. config.document=document;
  36. //config.reviewMode="APPROVED";
  37. config.role="crfSponsor";
  38. config.div="formDiv";
  39. config.debugArea="formStatus";
  40. formPortal.clear();
  41. formPortal.print("XStarting");
  42. formPortal.generateFormArray();
  43. }
  44. </script>