schools.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. <!-- XXX Some SEO here would be nice -->
  6. <link rel='stylesheet' href='stylesheets/fc2.css'>
  7. <script type='text/javascript' src='javascripts/jquery.min.js'></script>
  8. <script type='text/javascript' src='javascripts/es5-shim.min.js'></script>
  9. <script type='text/javascript' src='javascripts/protodiv.js'></script>
  10. <script type='text/javascript' src='socket.io/socket.io.js'></script>
  11. <meta name="viewport" content="width=device-width,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0">
  12. <meta name="apple-touch-icon" href=""> <!-- XXX -->
  13. <meta name="icon" href="">
  14. </head>
  15. <body>
  16. <div class="masthead">
  17. <div class="logbar">
  18. <div class="loginstatus">&nbsp;
  19. </div>
  20. </div>
  21. <div class="navbar">
  22. <table>
  23. <tr>
  24. <td>
  25. <a href="/"><img src="/images/finals-club-wht.png" class="logo"/></a>
  26. </td>
  27. <td class="menu">
  28. <a href="/schools">Courses</a>
  29. <a href="http://blog.finalsclub.org">Blog</a>
  30. <a href="/archive">Archive</a>
  31. <a href="/press">Press</a>
  32. <a href="/register">Create an Account</a>
  33. <a href="/login" class="special">Login</a>
  34. </td>
  35. </tr>
  36. </table>
  37. </div>
  38. <div class="logbar">&nbsp;</div>
  39. </div>
  40. <div class="content">
  41. <div class=page>
  42. <h1>Universities</h1>
  43. <div class="school" id=PROTO_school>
  44. <div class=name>
  45. <a href="courses.html?school=__name__">__name__</a>
  46. (__numCourses__ courses)
  47. </div>
  48. </div>
  49. </div>
  50. <script>
  51. var schools = []
  52. // this is what will really happen when we're done
  53. $.get("/schools", {}, function(r) {
  54. //XXX schools = JSON.parse(r)
  55. schools = [
  56. { name: "Berkeley", numCourses: 2 },
  57. { name: "Brown", numCourses: 5 },
  58. { name: "Columbia", numCourses: 0 },
  59. ];
  60. ProtoDiv.replicate("PROTO_school", schools);
  61. });
  62. </script>
  63. </div>
  64. <div class="footer">
  65. <table>
  66. <tr>
  67. <td class="col1">
  68. <div class="logo">
  69. <img src="/images/finals-club-wht.png" title="FinalsClub.org" class="lilogo"/>
  70. </div>
  71. <div>Copyright 2011</div>
  72. <div>All Rights Reserved</div>
  73. </td>
  74. <td class="col2">
  75. <a href="/conduct">Code of Conduct</a>
  76. <a href="http://blog.finalsclub.org/about.html">About</a>
  77. <a href="http://blog.finalsclub.org/contact.html">Contact</a>
  78. <a href="http://blog.finalsclub.org/legal.html">Legal</a>
  79. <a href="http://blog.finalsclub.org/team.html">Team</a>
  80. </td>
  81. </tr>
  82. </table>
  83. </div>
  84. <div class="footerer">
  85. <p>
  86. This work is licensed under a
  87. Creative Commons Attribution-ShareAlike 3.0
  88. United States License
  89. </p>
  90. <p>
  91. <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>
  92. <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>
  93. </p>
  94. </div>
  95. </body>
  96. </html>