UNPKG

generator-homework

Version:
48 lines (37 loc) 1.66 kB
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>CS 3300 Homework <%= homework.id %> by <%= student.name %></title> <meta name="author" content="<%= student.name %>"> <meta name="netid" content="<%= student.netId %>"> <meta name="homework" content="<%= homework.id %>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="dns-prefetch" href="https://cdnjs.cloudflare.com"> <link rel="preconnect" href="https://cdnjs.cloudflare.com" crossorigin> <link rel="stylesheet" href="css/vendor/normalize.css"> <link rel="stylesheet" href="css/styles.css"> </head> <!-- DO NOT MODIFY ABOVE THIS LINE --> <body aria-role="document"> <main aria-role="main"><% homework.questions.forEach(function(question) { %> <answer for="<%= question.id %>" aria-role="region"> <!-- TODO: Delete this comment and insert your answer here in plain text, with no enclosing tags. --> </answer> <% }); %></main> </body> <!-- DO NOT MODIFY BELOW THIS LINE --> <% if (homework.usesD3) { %> <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script> <script> window.d3 || document.write('<script src="js/vendor/d3.min.js"><\/script>'); </script> <% } %><% if (homework.usesTopoJson) { %> <script src="https://cdnjs.cloudflare.com/ajax/libs/topojson/1.6.19/topojson.min.js"></script> <script> window.topojson || document.write('<script src="js/vendor/topojson.min.js"><\/script>'); </script> <% } %> <script src="js/app.js"></script> </html>