CAT-SOOP is a tool for automatic collection and assessment of online exercises https://catsoop.mit.edu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.template 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!-- This page was generated by CAT-SOOP (v{cs_version}). miau. -->
  5. <meta charset="UTF-8">
  6. <title>{cs_title}</title>
  7. <link rel="icon" href="{cs_icon_url}" type="image/gif" />
  8. <!-- jQuery and Bootstrap -->
  9. <script src="BASE/scripts/jquery.js"></script>
  10. <link rel="stylesheet" href="BASE/themes/bootstrap.css" />
  11. <script src="BASE/scripts/bootstrap.js"></script>
  12. <!-- automatically adjust the top padding so that the whole page is visible even if the navbar's height changes -->
  13. <script type="text/javascript">
  14. var set_top_margin = function(){{
  15. $("#myPage").css('padding-top', $('#cs_main_navbar').height());
  16. }}
  17. $(document).ready(set_top_margin);
  18. $('#cs_main_navbar').resize(set_top_margin);
  19. var catsoop = {{}};
  20. </script>
  21. <!-- Additional styling specific for course-->
  22. <link rel="stylesheet" type="text/css" href="{cs_theme}" />
  23. <!-- load in katex and mathjax, and CAT-SOOP-specific math rendering -->
  24. <script type="text/javascript" src="BASE/scripts/katex/katex.min.js"></script>
  25. <link rel="stylesheet" type="text/css" href="BASE/scripts/katex/katex.min.css" />
  26. <script type="text/javascript" src="BASE/scripts/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
  27. <script type="text/javascript" src="BASE/scripts/cs_math.js"></script>
  28. <!-- CAT-SOOP Hashing -->
  29. <script type="text/javascript" src="BASE/scripts/cs_hash.js"></script>
  30. <!-- Syntax Highlighting -->
  31. <link rel="stylesheet" href="BASE/scripts/highlight/styles/catsoop.css">
  32. <script type="text/javascript" src="BASE/scripts/highlight/highlight.pack.js"></script>
  33. <script type="text/javascript">
  34. hljs.initHighlightingOnLoad();
  35. </script>
  36. {cs_scripts}
  37. <meta name="viewport" content="width=device-width, initial-scale=1" />
  38. </head>
  39. <body id="myPage">
  40. <nav class="navbar navbar-default navbar-fixed-top" id="cs_main_navbar">
  41. <div class="container">
  42. <div class="navbar-header">
  43. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
  44. <span class="icon-bar"></span>
  45. <span class="icon-bar"></span>
  46. <span class="icon-bar"></span>
  47. </button>
  48. <div class="navbar-brand"><a href="{cs_home_link}">{cs_header}</a></div><div class="navbar-brand"><div class="logininfo">{cs_welcome_message}</div></div>
  49. </div>
  50. <div class="collapse navbar-collapse" id="myNavbar">
  51. <ul class="nav navbar-nav navbar-right">
  52. {cs_top_menu}
  53. </ul>
  54. </div>
  55. </div>
  56. </nav>
  57. <center>
  58. <h1>{cs_content_header}</h1>
  59. </center>
  60. <div class="container">
  61. <div class="row">
  62. <div class="col-md-2"></div>
  63. <div class="col-md-8">
  64. {cs_content}
  65. {cs_footnotes}
  66. </div>
  67. <div class="col-md-2"></div>
  68. </div>
  69. </div>
  70. <div id="bottom_menu">
  71. {cs_bottom_menu}
  72. </div>
  73. <div id="footer">
  74. {cs_footer}
  75. Powered by <a href='https://catsoop.mit.edu'>CAT-SOOP</a> v{cs_version}<br/>
  76. (<a href="BASE/cs_util/license" target="_blank">View License</a>, <a href="BASE/cs_util/source.zip{cs_source_qstring}" download>Download Source Code</a>)
  77. <pre class="catsooplogo" style="font-size:50%;">{cs_base_logo_text}</pre>
  78. </div>
  79. </body>
  80. </html>