courses.html 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html>
  3. <head>
  4. <title>FinalsClub.org</title>
  5. <link rel='stylesheet' href='/stylesheets/fc2.css'>
  6. <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js'></script>
  7. <script type='text/javascript' src='/javascripts/es5-shim.min.js'></script>
  8. <script type='text/javascript' src='javascripts/protodiv.js'></script>
  9. <script type='text/javascript' src='/socket.io/socket.io.js'></script>
  10. <meta name="viewport" content="width=device-width,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0">
  11. <meta name="apple-touch-icon" href="">
  12. <meta name="icon" href="">
  13. </head>
  14. <body>
  15. <!-- This is the masthead - include dynamically -->
  16. <div class="masthead"><div class="logbar"><div class="loginstatus">&nbsp;
  17. </div></div><div class="navbar"><table><tr><td><a href="/"><img src="/images/finals-club-wht.png" class="logo"/></a></td><td class="menu"><a href="/schools">Courses</a><a href="http://blog.finalsclub.org">Blog</a><a href="/archive">Archive</a><a href="/press">Press</a><a href="/register">Create an Account</a><!-- span(class='sub_menu')--><a href="/login" class="special">Login</a></td></tr></table></div><div class="logbar">&nbsp;
  18. </div></div>
  19. <div class="content">
  20. <div class="container1">
  21. <h1>Courses for <span id=school_name>Berkeley</span></h1>
  22. <ul>
  23. <li id=course_proto><a href="course/__id__">__name__</a></li>
  24. </ul>
  25. </div>
  26. <script>
  27. var school = document.location.search.match(/school=([^&]+)/)[1]
  28. $("#school_name").html(school);
  29. var courses = []
  30. if(false) {
  31. /*
  32. $.get("/api", { act: "getCourses", school: school }, function(r) {
  33. courses = JSON.parse(r)
  34. ProtoDiv.replicate("course_proto", courses);
  35. })
  36. */
  37. }
  38. else {
  39. var courses = [
  40. { id: "4e6d1e9b42bbef522c000a8f", name: "History 12: Introduction to the Middle East" },
  41. { id: "4e8aa3f62e4b97e67b001f47", name: "ANTH160AC/ISF 160: The Forms of Folklorek" }
  42. ]
  43. ProtoDiv.replicate("course_proto", courses);
  44. }
  45. </script>
  46. </div>
  47. <!-- This is the footer - include dynamically -->
  48. <div class="footer"><table><tr><td class="col1"><div class="logo"><img src="/images/finals-club-wht.png" title="FinalsClub.org" class="lilogo"/></div><div>Copyright 2011</div><div>All Rights Reserved</div></td><td class="col2"><a href="/conduct">Code of Conduct</a><a href="http://blog.finalsclub.org/about.html">About</a><a href="http://blog.finalsclub.org/contact.html">Contact</a><a href="http://blog.finalsclub.org/legal.html">Legal</a><a href="http://blog.finalsclub.org/team.html">Team</a></td></tr></table></div><div class="footerer"><p>This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License
  49. </p><p><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/us/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/us/88x31.png"/></a><a href="http://mixpanel.com/f/partner"><img alt="Real Time Web Analytics" src="http://mixpanel.com/site_media/images/partner/badge_blue.png" style="border-width:0;margin:2px;"/></a></p></div>
  50. </body>
  51. </html>