removing more depricated code
authorSeth Woodworth <seth@sethish.com>
Sun, 15 Jan 2012 18:03:20 +0000 (13:03 -0500)
committerSeth Woodworth <seth@sethish.com>
Sun, 15 Jan 2012 18:03:20 +0000 (13:03 -0500)
public/courses.html [deleted file]
public/index_old.html [deleted file]
public/javascripts/templates/comment.js [deleted file]
public/javascripts/templates/post.js [deleted file]
public/was-index.html [deleted file]

diff --git a/public/courses.html b/public/courses.html
deleted file mode 100644 (file)
index 9980363..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-       <head>
-               <title>FinalsClub.org</title>
-               <link rel='stylesheet' href='/stylesheets/fc2.css'>
-
-               <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js'></script>
-               <script type='text/javascript' src='/javascripts/es5-shim.min.js'></script>
-               <script type='text/javascript' src='javascripts/protodiv.js'></script>
-               <script type='text/javascript' src='/socket.io/socket.io.js'></script>
-
-       <meta name="viewport" content="width=device-width,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0">
-       <meta name="apple-touch-icon" href="">
-       <meta name="icon" href="">
-
-       </head>
-
-       <body>
-
-
-               <!-- This is the masthead - include dynamically -->
-               <div class="masthead"><div class="logbar"><div class="loginstatus">&nbsp;
-                               </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;
-               </div></div>
-
-
-
-               <div class="content">
-                       <div class="container1">
-
-                               <h1>Courses for <span id=school_name>Berkeley</span></h1>
-
-                               <ul>
-                                       <li id=course_proto><a href="course/__id__">__name__</a></li>
-                               </ul>
-
-                       </div>
-                       <script>
-
-
-                       var school = document.location.search.match(/school=([^&]+)/)[1]
-                       $("#school_name").html(school);
-
-
-                       var courses = []
-                       if(false) {
-                               /*
-                               $.get("/api", { act: "getCourses", school: school }, function(r) {
-                                       courses = JSON.parse(r)
-                                       ProtoDiv.replicate("course_proto", courses);
-                               })
-                               */
-                       }
-                       else {
-                               var courses = [
-                                       { id: "4e6d1e9b42bbef522c000a8f", name: "History 12: Introduction to the Middle East" },
-                                       { id: "4e8aa3f62e4b97e67b001f47", name: "ANTH160AC/ISF 160: The Forms of Folklorek" }
-                               ]
-                               ProtoDiv.replicate("course_proto", courses);
-                       }
-
-                       </script>
-               </div>
-
-
-
-
-               <!-- This is the footer - include dynamically -->
-               <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
-                       </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>
-
-
-
-
-       </body>
-</html>
diff --git a/public/index_old.html b/public/index_old.html
deleted file mode 100644 (file)
index 29f7129..0000000
+++ /dev/null
@@ -1,371 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-       <!-- 
-                Currently tested with:
-                                               Mac             Windows
-                                        ______________________
-                       Chrome  |       15              -
-                       Safari  |       5               -
-                       FF              |       8               8
-                       IE              |       N/A             9
-       -->
-
-       <head>
-               <title>FinalsClub.org</title>
-
-               <!-- XXX Some SEO here would be nice -->
-               <link rel='stylesheet' href='/stylesheets/fc2.css'>
-
-               <script type='text/javascript' src='/javascripts/jquery.min.js'></script>
-               <script type='text/javascript' src='/javascripts/es5-shim.min.js'></script>
-               <script type='text/javascript' src='/socket.io/socket.io.js'></script>
-               <script type='text/javascript' src='/javascripts/protodiv.js'></script>
-               <script type='text/javascript' src='/javascripts/main.js'></script>
-
-               <meta name="viewport" content="width=device-width,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0">
-               <meta name="apple-touch-icon" href=""> <!-- XXX -->
-               <meta name="icon" href="">
-
-       </head>
-       <body>
-               <div class="masthead">
-                       <div class="logbar">
-                               <div class="loginstatus">&nbsp;</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="javascript:goPage('/schools')">Start Here!</a>
-                                                       <a href="http://blog.finalsclub.org">Blog</a>
-                                                       <a href="javascript:goPage('/archive')">Archive</a>
-                                                       <a href="javascript:goPage('/press')">Press</a>
-                                                       <a href="javascript:goPage('/register')">Create an Account</a>
-                                                       <a href="javascript:goPage('/login')" class="special">Login</a>
-                                               </td>
-                                       </tr>
-                               </table>
-                       </div>
-                       <div class="logbar">&nbsp;</div>
-               </div>
-
-               <div id="topofcontent"></div>
-
-               <div class="content">
-                       <style>
-                               /* The is here is because it's related less to "styling" and more to UI "behavior" */
-                               .page { display: none; }
-                       </style>
-                       <div class=page id=pg_home>
-                               <div class="contenthome">
-                                       <div class="tagline">
-                                               <p>
-                                               Welcome to FinalsClub.org, a 501(c)(3) non-profit
-                                               open education project dedicated to helping college
-                                               students collaborate, learn, and share their
-                                               knowledge freely online.
-                                               </p>
-                                               <p>
-                                               Please create an account with your school email address
-                                               to try our tools or browse our course archive to learn
-                                               something new.
-                                               Thank you for helping us improve access to education,
-                                               one lecture at a time.
-                                               </p>
-                                               <p></p>
-                                               <div id="learnsomething" class="button green">Learn something &gt;&gt; </div>
-                                               <p></p>
-                                               <iframe src="http://player.vimeo.com/video/30647271?title=0&amp;byline=0&amp;portrait=0" width="350" height="250" frameborder="0" webkitallowfullscreen="webkitAllowFullScreen" allowfullscreen="allowFullScreen"></iframe>
-                                       </div>
-                               </div>
-                       </div>
-
-                       <div class=page id=pg_schools>
-                               <h1>Universities</h1>
-                               <div class="proto school" id=PROTO_school onclick="goPage('/school/___id__')">
-                                       <div class=name>__name__</div>
-                                       <div class=desc>__description__</div>
-                               </div>
-                       </div>
-
-                       <div class=page id=pg_courses>
-                               <h1>Courses for <span id=school_name></span></h1>
-                               <div class="proto course" id=PROTO_course>
-                                       <div class=dept>__department__</div>
-                                       <div class=name>
-                                               <a href="javascript:goPage('/course/___id__')">__number__: __name__</a>
-                                       </div>
-                               </div>
-                       </div>
-
-                       <div class=page id=pg_lectures>
-                               <div class="proto lectures_head" id=PROTO_lectures_head>
-                                       <h1>Lectures for Course __number__ : __name__</h1>
-                                       Subject: __subject__<br>
-                                       Department: __department__<br>
-                               </div>
-                               <div class="proto lectures_instructor" id=PROTO_lectures_instructor>
-                                       Instructor: __name__ (__email__)<br>
-                               </div>
-                               <div class="proto lecture" id=PROTO_lecture>
-                                       <div class=name>
-                                               <a href="javascript:goPage('/lecture/___id__')">__name__</a><br>
-                                               Created: __date__<br>
-                                       </div>
-                               </div>
-                       </div>
-
-                       <div class=page id=pg_notes>
-                               <h1>Notepads </h1>
-                               <div class="proto note" id=PROTO_note>
-                                       <div class=name>
-                                               <a href="/note/___id__">__name__</a>
-                                       </div>
-                               </div>
-                       </div>
-
-                       <div class=page id=pg_archive_subjects>
-                               <h1>Archived Subjects</h1>
-                               <p>
-                               Please browse our archive of past courses
-                               covered at Harvard from 2008 through 2010.
-                               </p>
-                               <ul>
-                                       <li class=proto id=PROTO_archive_subject>
-                                               <a href="javascript:goPage('/archive/subject/__id__')">__name__</a>
-                                       </li>
-                               </ul>
-                       </div>
-
-                       <div class=page id=pg_archive_courses>
-                               <h1>Archived Courses</h1>
-                               <ul>
-                                       <li class=proto id=PROTO_archive_course>
-                                               <a href="javascript:goPage('/archive/course/__id__')">__name__</a>
-                                       </li>
-                               </ul>
-                       </div>
-
-                       <div class=page id=pg_archive_notes>
-                               <h1>Archived Notes</h1>
-                               <ul>
-                                       <li class=proto id=PROTO_archive_note>
-                                               <a href="javascript:goPage('/archive/note/___id__')">__topic__</a>
-                                       </li>
-                               </ul>
-                       </div>
-
-                       <div class=page id=pg_archive_note_display>
-                               <div id=PROTO_archive_note_display>
-                                       <h1>__topic__</h1>
-                                       <div>__text__</div>
-<pre>__err__</pre>
-                               </div>
-                       </div>
-
-                       <div class=page id=pg_register>
-                               <h1>Create an Account</h1>
-                               <form id="form_register" action="/register" method="POST">
-                                       <div class="zarea">
-                                               <div class="row">
-                                                       <div class="label">
-                                                               <label for="email">Email</label>
-                                                       </div>
-                                                       <div class="field">
-                                                               <input type="text" name="email">
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">
-                                                               <label for="password">Password</label>
-                                                       </div>
-                                                       <div class="field">
-                                                               <input type="password" name="password">
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">
-                                                               <label for="school">School</label>
-                                                       </div>
-                                                       <div class="field">
-                                                               <select name="school">
-                                                                       <option value="Berkeley">Berkeley</option>
-                                                                       <option value="Brown">Brown</option>
-                                                                       <option value="Columbia">Columbia</option>
-                                                                       <option value="Cornell">Cornell</option>
-                                                                       <option value="Dartmouth">Dartmouth</option>
-                                                                       <option value="Harvard">Harvard</option>
-                                                                       <option value="MIT">MIT</option>
-                                                                       <option value="Princeton">Princeton</option>
-                                                                       <option value="Stanford">Stanford</option>
-                                                                       <option value="UPenn">UPenn</option>
-                                                                       <option value="University of Texas">University of Texas</option>
-                                                                       <option value="Yale">Yale</option>
-                                                                       <option value="Other">Other</option>
-                                                               </select>
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">
-                                                               <label for="name">Name</label>
-                                                       </div>
-                                                       <div class="field">
-                                                               <input type="text" name="name">
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">
-                                                               <label for="affil">Affiliation</label>
-                                                       </div>
-                                                       <div class="field">
-                                                               <select name="affil">
-                                                                       <option value="Student">Student</option>
-                                                                       <option value="Teachers Assistant">Teachers Assistant</option>
-                                                               </select>
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">
-                                                               &nbsp;
-                                                       </div>
-                                                       <div class="field">
-                                                               <button>Register</button>
-                                                       </div>
-                                               </div>
-                                       </div>
-                               </form>
-                       </div>
-
-                       <div class=page id=pg_login>
-                               <h1>Login</h1>
-                               <form id="form_login" action="/login" method="POST">
-                                       <div class="zarea">
-                                               <div class="row">
-                                                       <div class="label">
-                                                               <label for="email">Email</label>
-                                                       </div>
-                                                       <div class="field">
-                                                               <input type="text" name="email" size="15" value="joe@sleepless.com">
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">
-                                                               <label for="password">Password</label>
-                                                       </div>
-                                                       <div class="field">
-                                                               <input type="password" name="password" size="15">
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">&nbsp;
-                                                       </div>
-                                                       <div class="field">
-                                                               <button class="major">Login</button>
-                                                               <span class="reglink">
-                                                                       <a href="/resetpw">Forgot password?</a>
-                                                               </span>
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">&nbsp;
-                                                       </div>
-                                                       <div class="field">
-                                                               <span class="reglink">
-                                                                       <a href="/register">Create an Account</a>
-                                                               </span>
-                                                       </div>
-                                               </div>
-                                       </div>
-                               </form>
-                       </div>
-
-                       <div class=page id=pg_conduct>
-                               <div class="conduct">
-                                       <h1>Code of Conduct</h1>
-                                       <p class="academic">
-                                               <img src="/images/keep-it-academic.png" alt="Keep it academic.">
-                                       </p>
-                                       <p class="vague">
-                                               This directive is deliberately vague to
-                                               accommodate creative humor, insight, and exploration.<br>
-                                               Disruptive or irrelevant material, however,
-                                               will be subject to removal.<br>
-                                               Just keep it academic, and we'll all be better off.<br>
-                                       </p>
-                               </div>
-                       </div>
-
-                       <div class=page id=pg_press>
-                               <h1>FinalsClub in the Press</h1>
-                               <div class="press">
-                                       <img src="/images/boston.com.png" class="press">
-                                       <p class="date">December 13, 2009</p>
-                                       <p>Plenty of Harvard graduates have traded on the fame and prestige of their alma mater, but few have done so the way Andrew Magliozzi has. The year he graduated, 2005, he started a tutoring company located steps from Harvard Yard, with a name, Veritas, that is the motto of his storied alma mater.</p>
-                                       <p>Then, two years ago, Magliozzi started up a side project called Finalsclub.org.</p>
-                                       <p class="readmore">
-                                       <a href="http://www.boston.com/bostonglobe/ideas/articles/2009/12/13/freeharvardeducationcom">Read more ...</a>
-                                       </p>
-                               </div>
-                               <hr>
-                               <div class="press">
-                                       <img src="/images/harvard-crimson.jpg" class="press">
-                                       <p class="date">Wednesday, February 18, 2009</p>
-                                       <p>A rapidly growing course preparatory Web site, FinalsClub.org, is moving forward with a plan to expand its site in spite of controversy over the legality of the venture. </p>
-                                       <p>The Web site, which allows students to share notes, create study groups, and blog about lectures and sections, recently hired 10 Harvard College students to serve as BETA testers for the site. </p>
-                                       <p class="readmore">
-                                       <a href="http://www.thecrimson.com/article/2009/2/18/finalscluborg-passes-punch-span-stylefont-weight-boldcorrection">Read more ...</a>
-                                       </p>
-                               </div>
-                               <hr>
-                               <div class="press">
-                                       <img src="/images/blown-to-bits.png" class="press">
-                                       <p class="date">September 27th, 2009</p>
-                                       <p>Computer Science professor and former Dean of Harvard, Harry Lewis, embraces FinalsClub's work and its guiding principle of open education.  Even as Harvard University has not been wholly sympathetic to the FinalsClub mission, invoking the Copyright Act of 1976, assuming a similar position to other major institutions such as University of Texas, Lewis supports working towards the proverbial "temple of the free exchange of ideas."  A course he taught in the Harvard Extension School was also shared freely online.  </p>
-                                       <p class="readmore">
-                                       <a href="http://www.bitsbook.com/2009/09/a-harvard-skirmish-in-the-copyright-wars">Read more ...</a>
-                                       </p>
-                               </div>
-                       </div>
-                       <div class=page id=pg_notfound>
-                               <h1>Page Not Found</h1>
-                               Sorry, there is no content for this page.
-                       </div>
-               </div>
-
-               <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="javascript:goPage('/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
-                       </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>
-
-       </body>
-</html>
diff --git a/public/javascripts/templates/comment.js b/public/javascripts/templates/comment.js
deleted file mode 100644 (file)
index 1489f00..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<div class="commentBody">${body}</div>
-<div class="commentFooter">
-       <span class="userName">${userName}</span>
-       &mdash;
-       <span class="userAffil">${userAffil}</span>
-</div>
diff --git a/public/javascripts/templates/post.js b/public/javascripts/templates/post.js
deleted file mode 100644 (file)
index 4b07bac..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<div class="postContainer" id="post-${_id}">
-       <div class="postVoteContainer" data-postid="${_id}">
-               <div class="vote-tally-rect vote-up">${votes}</div>
-       </div>
-
-       <div class="postDisplayContainer">
-               <div class="postBody">${body}</div>
-               <div class="postFooter">
-                       <span class="userName">${userName}</span>
-                               &mdash;
-                       <span class="userAffil">${userAffil}</span>
-
-                       Comments: <span class="commentAmt">${comments.length}</span>
-               </div>
-       </div>
-
-       <div class="commentContainer hidden">
-       </div>
-
-       <form class="commentForm hidden">
-               <input type="hidden" name="postid" value="${_id}" />
-               <textarea id="commentText" name="commentText" disabled="disabled"></textarea>
-               <input type="submit" value="Post Comment" disabled="disabled">
-               <input type='checkbox' name='anonymous' /> Post anonymously
-       </form>
-</div>
diff --git a/public/was-index.html b/public/was-index.html
deleted file mode 100644 (file)
index 4ecb3ff..0000000
+++ /dev/null
@@ -1,679 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-
-       <head>
-               <title>FinalsClub.org</title>
-
-               <!-- XXX Some SEO here would be nice -->
-
-               <link rel='stylesheet' href='/stylesheets/fc2.css'>
-
-               <script type='text/javascript' src='/javascripts/jquery.min.js'></script>
-               <script type='text/javascript' src='/javascripts/es5-shim.min.js'></script>
-               <script type='text/javascript' src='/javascripts/protodiv.js'></script>
-               <script type='text/javascript' src='/javascripts/main.js'></script>
-               <script type='text/javascript' src='/socket.io/socket.io.js'></script>
-
-               <meta name="viewport" content="width=device-width,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0">
-               <meta name="apple-touch-icon" href=""> <!-- XXX -->
-               <meta name="icon" href="">
-
-       </head>
-
-       <body>
-
-               <div class="masthead">
-                       <div class="logbar">
-        <div class="loginstatus"><div id="login_status" style="display:none;">Currently logged in as <span class="username"></span></div></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">Start Here!</a>
-                                                       <a href="http://blog.finalsclub.org">Blog</a>
-                                                       <a href="/archive">Archive</a>
-                                                       <a href="/press">Press</a>
-                                                       <a href="/register" id="register_link">Create an Account</a>
-                                                       <a href="/profile" id="profile_link" style="display:none;">Profile</a>
-                                                       <a href="/login" id="login_link" class="special">Login</a>
-                                               </td>
-                                       </tr>
-                               </table>
-                       </div>
-                       <div class="logbar">&nbsp;</div>
-               </div>
-
-               <div id="topofcontent"></div>
-
-    <div id="messages" class="page"><span id="PROTO_message" class="__type__">__msg__</span></div>
-
-               <div class="content">
-                       <style>
-                               /* The is here is because it's related less to "styling" and more to UI "behavior" */
-                               .page { display: none; }
-                       </style>
-
-      <noscript>
-        This site requires JavaScript to properly function. Please enable JavaScript or use a modern browser such as <a href="http://google.com/chrome">Google Chrome</a> or <a href="http://firefox.com">Firefox</a>.
-      </noscript>
-
-
-                       <div class=page id=pg_home>
-                               <div class="contenthome">
-                                       <div class="tagline">
-                                               <p>
-                                               Welcome to FinalsClub.org, a 501(c)(3) non-profit
-                                               open education project dedicated to helping college
-                                               students collaborate, learn, and share their
-                                               knowledge freely online.
-                                               </p>
-                                               <p>
-                                               Please create an account with your school email address
-                                               to try our tools or browse our course archive to learn
-                                               something new.
-                                               Thank you for helping us improve access to education,
-                                               one lecture at a time.
-                                               </p>
-                                               <p></p>
-                                               <div id="learnsomething" class="button green">Learn something &gt;&gt; </div>
-                                               <p></p>
-            <div id="screencast"></div>
-                                       </div>
-                               </div>
-                               
-                       </div>
-
-
-
-                       <div class=page id=pg_schools>
-                               <h1>Universities</h1>
-                               <div class="proto school" id=PROTO_school onclick="goPage('/school/___id__')">
-                                       <div class=name>__name__</div>
-                                       <div class=desc>__description__</div>
-                               </div>
-                       </div>
-
-
-
-                       <div class=page id=pg_courses>
-                               <h1>Courses for <span id=school_name></span></h1>
-                               <div class="proto course" id=PROTO_course>
-                                       <div class=dept>__department__</div>
-                                       <div class=name>
-                                               <a href="/course/___id__">__number__: __name__</a>
-                                       </div>
-                               </div>
-        <div>
-          <span class="sub_menu" style="display:none;">
-            <a href="" id="new_course">New Course</a>
-          </span>
-          <form method="POST" id="form_course" style="display:none;">
-            <h1>Create New Course</h1>
-            <p>Use this form to create a new course. After creating the course, you can create a lecture within it.</p>
-            <div class="row">
-              <div class="label">Course number</div>
-              <div class="field">
-                <input type="text" name="number">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">Course name</div>
-              <div class="field">
-                <input type="text" name="name">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">Course subject</div>
-              <div class="field">
-                <input type="text" name="subject">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">Course department</div>
-              <div class="field">
-                <input type="text" name="department">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">Instructor's Name</div>
-              <div class="field">
-                <input type="text" name="instructorName">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">Instructor's Email</div>
-              <div class="field">
-                <input type="text" name="email">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">&nbsp;</div>
-              <div class="field">
-                <button>Create Course</button>
-              </div>
-            </div>
-          </form>
-        </div>
-                       </div>
-
-
-
-                       <div class=page id=pg_lectures>
-                               <div class="proto lectures_head" id=PROTO_lectures_head>
-                                       <h1>Lectures for Course __number__ : __name__</h1>
-                                       Subject: __subject__<br>
-                                       Department: __department__<br>
-                               </div>
-                               <div class="proto lectures_instructor" id=PROTO_lectures_instructor>
-          Instructor: __name__ <span class="instructor_email">(__email__)</span><br>
-                               </div>
-                               <div class="proto lecture" id=PROTO_lecture>
-                                       <div class=name>
-                                               <a href="/lecture/___id__">__name__</a><br>
-                                               Created: __date__<br>
-                                       </div>
-                               </div>
-        <div>
-          <span class="sub_menu" style="display:none;">
-            <a href="" id="new_lecture">New Lecture</a>
-          </span>
-          <form method="POST" id="form_lecture" style="display:none;">
-            <h1>Create New Lecture</h1>
-            <p>Use this form to create a new lecture. After creating the lecture, you can then create a notes-taking session within it.</p>
-            <div class="row">
-              <div class="label">Lecture Name</div>
-              <div class="field">
-                <input type="text" name="name">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">&nbsp;</div>
-              <div class="field">
-                <button>Create Lecture</button>
-              </div>
-            </div>
-          </form>
-        </div>
-                       </div>
-
-
-
-                       <div class=page id=pg_notes>
-                               <div class="proto notes_head" id=PROTO_notes_head>
-                                       <h1>Note pads for Course __number__ : __name__</h1>
-                                       Subject: __subject__<br>
-                                       Department: __department__<br>
-                               </div>
-                               <div class="proto notes_instructor" id=PROTO_notes_instructor>
-          Instructor: __name__ <span class="instructor_email">(__email__)</span><br>
-                               </div>
-                               <div class="proto note" id=PROTO_note>
-                                       <div class=name>
-                                               <a href="/note/___id__">__name__</a> Visits: __visits__
-                                       </div>
-                               </div>
-        <div>
-          <span class="sub_menu" style="display:none;">
-            <a href="" id="new_note">New Note Pad</a>
-          </span>
-          <form method="POST" id="form_note" style="display:none;">
-            <h1>Create New Note Pad</h1>
-            <p>Use this form to create a new note pad. You can then use this as a notes-taking session.</p>
-            <div class="row">
-              <div class="label">Note Pad Name</div>
-              <div class="field">
-                <input type="text" name="name">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">Private</div>
-              <div class="field">
-                <input type="checkbox" name="private" value="true">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">&nbsp;</div>
-              <div class="field">
-                <button>Create Note Pad</button>
-              </div>
-            </div>
-          </form>
-        </div>
-                       </div>
-
-
-
-                       <div class=page id=pg_archive_subjects>
-                               <h1>Archived Subjects</h1>
-                               <p>
-                               Please browse our archive of past courses
-                               covered at Harvard from 2008 through 2010.
-                               </p>
-                               <ul>
-                                       <li class=proto id=PROTO_archive_subject>
-                                               <a href="/archive/subject/__id__">__name__</a>
-                                       </li>
-                               </ul>
-
-                       </div>
-
-
-
-                       <div class=page id=pg_archive_courses>
-                               <h1>Archived Courses</h1>
-                               <ul>
-                                       <li class=proto id=PROTO_archive_course>
-                                               <a href="/archive/course/__id__">__name__</a>
-                                       </li>
-                               </ul>
-
-                       </div>
-
-
-
-                       <div class=page id=pg_archive_notes>
-                               <h1>Archived Notes</h1>
-                               <ul>
-                                       <li class=proto id=PROTO_archive_note>
-                                               <a href="/archive/note/___id__">__topic__</a>
-                                       </li>
-                               </ul>
-                       </div>
-
-
-
-                       <div class=page id=pg_archive_note_display>
-                               <div id=PROTO_archive_note_display>
-                                       <h1>__topic__</h1>
-                                       <div>__text__</div>
-                               </div>
-                       </div>
-
-
-
-                       <div class=page id=pg_register>
-                               <h1>Create an Account</h1>
-                               <form id="form_register" action="/register" method="POST">
-                                       <div class="zarea">
-                                               <div class="row">
-                                                       <div class="label">
-                                                               <label for="email">Email</label>
-                                                       </div>
-                                                       <div class="field">
-                                                               <input type="text" name="email">
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">
-                                                               <label for="password">Password</label>
-                                                       </div>
-                                                       <div class="field">
-                                                               <input type="password" name="password">
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">
-                                                               <label for="school">School</label>
-                                                       </div>
-                                                       <div class="field">
-                                                               <select name="school">
-                                                                       <option value="Berkeley">Berkeley</option>
-                                                                       <option value="Brown">Brown</option>
-                                                                       <option value="Columbia">Columbia</option>
-                                                                       <option value="Cornell">Cornell</option>
-                                                                       <option value="Dartmouth">Dartmouth</option>
-                                                                       <option value="Harvard">Harvard</option>
-                                                                       <option value="MIT">MIT</option>
-                                                                       <option value="Princeton">Princeton</option>
-                                                                       <option value="Stanford">Stanford</option>
-                                                                       <option value="UPenn">UPenn</option>
-                                                                       <option value="University of Texas">University of Texas</option>
-                                                                       <option value="Yale">Yale</option>
-                                                                       <option value="Other">Other</option>
-                                                               </select>
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">
-                                                               <label for="name">Name</label>
-                                                       </div>
-                                                       <div class="field">
-                                                               <input type="text" name="name">
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">
-                                                               <label for="affil">Affiliation</label>
-                                                       </div>
-                                                       <div class="field">
-                                                               <select name="affil">
-                                                                       <option value="Student">Student</option>
-                                                                       <option value="Teachers Assistant">Teachers Assistant</option>
-                                                               </select>
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">
-                                                               &nbsp;
-                                                       </div>
-                                                       <div class="field">
-                                                               <button>Register</button>
-                                                       </div>
-                                               </div>
-                                       </div>
-                               </form>
-                       </div>
-
-      <div class="page" id="pg_profile">
-        <h1>User Profile</h1>
-        <form id="form_profile" action="/profile" method="POST">
-          <h2>Account Information</h2>
-          <div class="area">
-            <div class="row">
-              <div class="label">
-                <span>Email</span>
-              </div>
-              <div class="field">
-                <span class="email"></span>
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">
-                <label for="affiliation">Affiliation</label>
-              </div>
-              <div class="field">
-                <select id="affiliation" name="affiliation">
-                  <option value="Student">Student</option>
-                  <option value="Teachers Assistant">Teachers Assistant</option>
-                </select>
-              </div>
-            </div>
-          </div>
-          <h2>Profile Information</h2>
-          <div class="area">
-            <div class="row">
-              <div class="label">
-                <label for="name">User Name</label>
-              </div>
-              <div class="field">
-                <input id="name" type="text" name="name" value="">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">
-                <label>&nbsp;</label>
-              </div>
-              <div class="field">
-                <input style="width: auto;" id="showName" type="checkbox" name="showName">
-                Display your real name in contributions
-              </div>
-            </div>
-              <!--
-            <div class="row">
-              <div class="label">
-                <label for="major">Major</label>
-              </div>
-              <div class="field">
-                <input id="major" type="text" name="major" value="">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">
-                <label for="bio">Bio</label>
-              </div>
-              <div class="field">
-                <input id="bio" type="text" name="bio" value="">
-              </div>
-            </div>
-            -->
-          </div>
-          <h2>Change Password</h2>
-          <div class="area">
-            <div class="row">
-              <div class="label">
-                <label for="existingPassword">Old Password</label>
-              </div>
-              <div class="field">
-                <input id="existingPassword" type="password" name="existingPassword">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">
-                <label for="newPassword">New Password</label>
-              </div>
-              <div class="field">
-                <input id="newPassword" type="password" name="newPassword">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">
-                <label for="newPasswordConfirm">Confirm Password</label>
-              </div>
-              <div class="field">
-                <input id="newPasswordConfirm" type="password" name="newPasswordConfirm">
-              </div>
-            </div>
-          </div>
-          <div class="row">
-            <div class="label">&nbsp;</div>
-            <div class="field">
-              <button>Submit</button>
-            </div>
-          </div>
-        </form>
-      </div>
-
-
-                       <div class=page id=pg_login>
-                               <h1>Login</h1>
-                               <form id="form_login" action="/login" method="POST">
-                                       <div class="zarea">
-                                               <div class="row">
-                                                       <div class="label">
-                                                               <label for="email">Email</label>
-                                                       </div>
-                                                       <div class="field">
-                                                               <input type="text" name="email" size="15" value="joe@sleepless.com">
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">
-                                                               <label for="password">Password</label>
-                                                       </div>
-                                                       <div class="field">
-                                                               <input type="password" name="password" size="15">
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">&nbsp;
-                                                       </div>
-                                                       <div class="field">
-                                                               <button class="major">Login</button>
-                                                               <span class="reglink">
-                                                                       <a href="/resetpass">Forgot password?</a>
-                                                               </span>
-                                                       </div>
-                                               </div>
-                                               <div class="row">
-                                                       <div class="label">&nbsp;
-                                                       </div>
-                                                       <div class="field">
-                                                               <span class="reglink">
-                                                                       <a href="/register">Create an Account</a>
-                                                               </span>
-                                                       </div>
-                                               </div>
-                                       </div>
-                               </form>
-                       </div>
-
-      <div class="page" id="pg_resetpass">
-        <h1>Password Reset</h1>
-        <form id="form_resetpass" action="/resetpass" method="POST">
-          <div class="zarea">
-            <p>To reset your password, enter your email address click "Reset". An email will be sent to you with a link to reset your password.</p>
-            <div class="row">
-              <div class="label">
-                <label for="email">Email</label>
-              </div>
-              <div class="field">
-                <input type="text" name="email" size="15" value="">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">&nbsp;</div>
-              <div style="min-width: 200px" class="field">
-                <button>Reset</button>
-              </div>
-            </div>
-          </div>
-        </form>
-      </div>
-
-      <div class="page" id="pg_resetpw">
-        <h1>Password Reset</h1>
-        <form id="form_resetpw" action="/resetpw" method="POST">
-          <div class="zarea">
-            <p>To verify and reset your password, type the full email address and your new password twice, then click submit.</p>
-            <div class="row">
-              <div class="label">
-                <label for="email">Email</label>
-              </div>
-              <div class="field">
-                <input type="text" name="email" size="15" value="">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">
-                <label for="pass1">New Password</label>
-              </div>
-              <div class="field">
-                <input type="password" name="pass1" size="15" value="">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">
-                <label for="pass2">Repeat New Password</label>
-              </div>
-              <div class="field">
-                <input type="password" name="pass2" size="15" value="">
-              </div>
-            </div>
-            <div class="row">
-              <div class="label">&nbsp;</div>
-              <div style="min-width: 200px" class="field">
-                <button>Reset</button>
-              </div>
-            </div>
-          </div>
-        </form>
-      </div>
-
-                       <div class=page id=pg_conduct>
-                               <div class="conduct">
-                                       <h1>Code of Conduct</h1>
-                                       <p class="academic">
-                                               <img src="/images/keep-it-academic.png" alt="Keep it academic.">
-                                       </p>
-                                       <p class="vague">
-                                               This directive is deliberately vague to
-                                               accommodate creative humor, insight, and exploration.<br>
-                                               Disruptive or irrelevant material, however,
-                                               will be subject to removal.<br>
-                                               Just keep it academic, and we'll all be better off.<br>
-                                       </p>
-                               </div>
-                       </div>
-
-
-
-
-                       <div class=page id=pg_press>
-                               <h1>FinalsClub in the Press</h1>
-                               <div class="press">
-                                       <img src="/images/boston.com.png" class="press">
-                                       <p class="date">December 13, 2009</p>
-                                       <p>Plenty of Harvard graduates have traded on the fame and prestige of their alma mater, but few have done so the way Andrew Magliozzi has. The year he graduated, 2005, he started a tutoring company located steps from Harvard Yard, with a name, Veritas, that is the motto of his storied alma mater.</p>
-                                       <p>Then, two years ago, Magliozzi started up a side project called Finalsclub.org.</p>
-                                       <p class="readmore">
-                                       <a href="http://www.boston.com/bostonglobe/ideas/articles/2009/12/13/freeharvardeducationcom">Read more ...</a>
-                                       </p>
-                               </div>
-                               <hr>
-                               <div class="press">
-                                       <img src="/images/harvard-crimson.jpg" class="press">
-                                       <p class="date">Wednesday, February 18, 2009</p>
-                                       <p>A rapidly growing course preparatory Web site, FinalsClub.org, is moving forward with a plan to expand its site in spite of controversy over the legality of the venture. </p>
-                                       <p>The Web site, which allows students to share notes, create study groups, and blog about lectures and sections, recently hired 10 Harvard College students to serve as BETA testers for the site. </p>
-                                       <p class="readmore">
-                                       <a href="http://www.thecrimson.com/article/2009/2/18/finalscluborg-passes-punch-span-stylefont-weight-boldcorrection">Read more ...</a>
-                                       </p>
-                               </div>
-                               <hr>
-                               <div class="press">
-                                       <img src="/images/blown-to-bits.png" class="press">
-                                       <p class="date">September 27th, 2009</p>
-                                       <p>Computer Science professor and former Dean of Harvard, Harry Lewis, embraces FinalsClub's work and its guiding principle of open education.  Even as Harvard University has not been wholly sympathetic to the FinalsClub mission, invoking the Copyright Act of 1976, assuming a similar position to other major institutions such as University of Texas, Lewis supports working towards the proverbial "temple of the free exchange of ideas."  A course he taught in the Harvard Extension School was also shared freely online.  </p>
-                                       <p class="readmore">
-                                       <a href="http://www.bitsbook.com/2009/09/a-harvard-skirmish-in-the-copyright-wars">Read more ...</a>
-                                       </p>
-                               </div>
-                       </div>
-
-
-
-
-                       <div class=page id=pg_notfound>
-                               <h1>Page Not Found</h1>
-                               Sorry, there is no content for this page.
-                       </div>
-
-
-
-
-               </div>
-
-
-
-
-               <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
-                       </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>
-
-
-
-
-       </body>
-</html>