Fix instructor email showing when it shouldn't,
[oweals/finalsclub.git] / public / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html>
3
4         <head>
5                 <title>FinalsClub.org</title>
6
7                 <!-- XXX Some SEO here would be nice -->
8
9                 <link rel='stylesheet' href='/stylesheets/fc2.css'>
10
11                 <script type='text/javascript' src='/javascripts/jquery.min.js'></script>
12                 <script type='text/javascript' src='/javascripts/es5-shim.min.js'></script>
13                 <script type='text/javascript' src='/javascripts/protodiv.js'></script>
14                 <script type='text/javascript' src='/javascripts/main.js'></script>
15                 <script type='text/javascript' src='/socket.io/socket.io.js'></script>
16
17                 <meta name="viewport" content="width=device-width,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0">
18                 <meta name="apple-touch-icon" href=""> <!-- XXX -->
19                 <meta name="icon" href="">
20
21         </head>
22
23         <body>
24
25                 <div class="masthead">
26                         <div class="logbar">
27         <div class="loginstatus"><div id="login_status"><div id="PROTO_login_info">Currently logged in as <span class="username">__name__</span></div></div></div>
28                         </div>
29                         <div class="navbar">
30                                 <table>
31                                         <tr>
32                                                 <td>
33                                                         <a href="/"><img src="/images/finals-club-wht.png" class="logo"/></a>
34                                                 </td>
35                                                 <td class="menu">
36                                                         <a href="/schools">Start Here!</a>
37                                                         <a href="http://blog.finalsclub.org">Blog</a>
38                                                         <a href="/archive">Archive</a>
39                                                         <a href="/press">Press</a>
40                                                         <a href="/register" id="register_link">Create an Account</a>
41                                                         <a href="/profile" id="profile_link" style="display:none;">Profile</a>
42                                                         <a href="/login" id="login_link" class="special">Login</a>
43                                                 </td>
44                                         </tr>
45                                 </table>
46                         </div>
47                         <div class="logbar">&nbsp;</div>
48                 </div>
49
50                 <div id="topofcontent"></div>
51
52     <div id="messages" class="page"><span id="PROTO_message" class="__type__">__msg__</span></div>
53
54                 <div class="content">
55                         <style>
56                                 /* The is here is because it's related less to "styling" and more to UI "behavior" */
57                                 .page { display: none; }
58                         </style>
59
60
61
62
63                         <div class=page id=pg_home>
64                                 <div class="contenthome">
65                                         <div class="tagline">
66                                                 <p>
67                                                 Welcome to FinalsClub.org, a 501(c)(3) non-profit
68                                                 open education project dedicated to helping college
69                                                 students collaborate, learn, and share their
70                                                 knowledge freely online.
71                                                 </p>
72                                                 <p>
73                                                 Please create an account with your school email address
74                                                 to try our tools or browse our course archive to learn
75                                                 something new.
76                                                 Thank you for helping us improve access to education,
77                                                 one lecture at a time.
78                                                 </p>
79                                                 <p></p>
80                                                 <div id="learnsomething" class="button green">Learn something &gt;&gt; </div>
81                                                 <p></p>
82             <div id="screencast"></div>
83                                         </div>
84                                 </div>
85                                 
86                         </div>
87
88
89
90                         <div class=page id=pg_schools>
91                                 <h1>Universities</h1>
92                                 <div class="proto school" id=PROTO_school onclick="goPage('/school/___id__')">
93                                         <div class=name>__name__</div>
94                                         <div class=desc>__description__</div>
95                                 </div>
96                         </div>
97
98
99
100                         <div class=page id=pg_courses>
101                                 <h1>Courses for <span id=school_name></span></h1>
102                                 <div class="proto course" id=PROTO_course>
103                                         <div class=dept>__department__</div>
104                                         <div class=name>
105                                                 <a href="/course/___id__">__number__: __name__</a>
106                                         </div>
107                                 </div>
108         <div>
109           <span class="sub_menu">
110             <a href="" id="new_course" style="display:none;">New Course</a>
111           </span>
112           <form method="POST" id="form_course" style="display:none;">
113             <h1>Create New Course</h1>
114             <p>Use this form to create a new course. After creating the course, you can create a lecture within it.</p>
115             <div class="row">
116               <div class="label">Course number</div>
117               <div class="field">
118                 <input type="text" name="number">
119               </div>
120             </div>
121             <div class="row">
122               <div class="label">Course name</div>
123               <div class="field">
124                 <input type="text" name="name">
125               </div>
126             </div>
127             <div class="row">
128               <div class="label">Course subject</div>
129               <div class="field">
130                 <input type="text" name="subject">
131               </div>
132             </div>
133             <div class="row">
134               <div class="label">Course department</div>
135               <div class="field">
136                 <input type="text" name="department">
137               </div>
138             </div>
139             <div class="row">
140               <div class="label">Instructor's Name</div>
141               <div class="field">
142                 <input type="text" name="instructorName">
143               </div>
144             </div>
145             <div class="row">
146               <div class="label">Instructor's Email</div>
147               <div class="field">
148                 <input type="text" name="email">
149               </div>
150             </div>
151             <div class="row">
152               <div class="label">&nbsp;</div>
153               <div class="field">
154                 <button>Create Course</button>
155               </div>
156             </div>
157           </form>
158         </div>
159                         </div>
160
161
162
163                         <div class=page id=pg_lectures>
164                                 <div class="proto lectures_head" id=PROTO_lectures_head>
165                                         <h1>Lectures for Course __number__ : __name__</h1>
166                                         Subject: __subject__<br>
167                                         Department: __department__<br>
168                                 </div>
169                                 <div class="proto lectures_instructor" id=PROTO_lectures_instructor>
170           Instructor: __name__ <span class="instructor_email">(__email__)</span><br>
171                                 </div>
172                                 <div class="proto lecture" id=PROTO_lecture>
173                                         <div class=name>
174                                                 <a href="/lecture/___id__">__name__</a><br>
175                                                 Created: __date__<br>
176                                         </div>
177                                 </div>
178         <div>
179           <span class="sub_menu">
180             <a href="" id="new_lecture" style="display:none;">New Lecture</a>
181           </span>
182           <form method="POST" id="form_lecture" style="display:none;">
183             <h1>Create New Lecture</h1>
184             <p>Use this form to create a new lecture. After creating the lecture, you can then create a notes-taking session within it.</p>
185             <div class="row">
186               <div class="label">Lecture Name</div>
187               <div class="field">
188                 <input type="text" name="name">
189               </div>
190             </div>
191             <div class="row">
192               <div class="label">&nbsp;</div>
193               <div class="field">
194                 <button>Create Lecture</button>
195               </div>
196             </div>
197           </form>
198         </div>
199                         </div>
200
201
202
203                         <div class=page id=pg_notes>
204                                 <div class="proto notes_head" id=PROTO_notes_head>
205                                         <h1>Note pads for Course __number__ : __name__</h1>
206                                         Subject: __subject__<br>
207                                         Department: __department__<br>
208                                 </div>
209                                 <div class="proto notes_instructor" id=PROTO_notes_instructor>
210           Instructor: __name__ <span class="instructor_email">(__email__)</span><br>
211                                 </div>
212                                 <div class="proto note" id=PROTO_note>
213                                         <div class=name>
214                                                 <a href="/note/___id__">__name__</a> Visits: __visits__
215                                         </div>
216                                 </div>
217         <div>
218           <span class="sub_menu">
219             <a href="" id="new_note" style="display:none;">New Note Pad</a>
220           </span>
221           <form method="POST" id="form_note" style="display:none;">
222             <h1>Create New Note Pad</h1>
223             <p>Use this form to create a new note pad. You can then use this as a notes-taking session.</p>
224             <div class="row">
225               <div class="label">Note Pad Name</div>
226               <div class="field">
227                 <input type="text" name="name">
228               </div>
229             </div>
230             <div class="row">
231               <div class="label">Private</div>
232               <div class="field">
233                 <input type="checkbox" name="private" value="true">
234               </div>
235             </div>
236             <div class="row">
237               <div class="label">&nbsp;</div>
238               <div class="field">
239                 <button>Create Note Pad</button>
240               </div>
241             </div>
242           </form>
243         </div>
244                         </div>
245
246
247
248                         <div class=page id=pg_archive_subjects>
249                                 <h1>Archived Subjects</h1>
250                                 <p>
251                                 Please browse our archive of past courses
252                                 covered at Harvard from 2008 through 2010.
253                                 </p>
254                                 <ul>
255                                         <li class=proto id=PROTO_archive_subject>
256                                                 <a href="/archive/subject/__id__">__name__</a>
257                                         </li>
258                                 </ul>
259
260                         </div>
261
262
263
264                         <div class=page id=pg_archive_courses>
265                                 <h1>Archived Courses</h1>
266                                 <ul>
267                                         <li class=proto id=PROTO_archive_course>
268                                                 <a href="/archive/course/__id__">__name__</a>
269                                         </li>
270                                 </ul>
271
272                         </div>
273
274
275
276                         <div class=page id=pg_archive_notes>
277                                 <h1>Archived Notes</h1>
278                                 <ul>
279                                         <li class=proto id=PROTO_archive_note>
280                                                 <a href="/archive/note/___id__">__topic__</a>
281                                         </li>
282                                 </ul>
283                         </div>
284
285
286
287                         <div class=page id=pg_archive_note_display>
288                                 <div id=PROTO_archive_note_display>
289                                         <h1>__topic__</h1>
290                                         <div>__text__</div>
291                                 </div>
292                         </div>
293
294
295
296                         <div class=page id=pg_register>
297                                 <h1>Create an Account</h1>
298                                 <form id="form_register" action="/register" method="POST">
299                                         <div class="zarea">
300                                                 <div class="row">
301                                                         <div class="label">
302                                                                 <label for="email">Email</label>
303                                                         </div>
304                                                         <div class="field">
305                                                                 <input type="text" name="email">
306                                                         </div>
307                                                 </div>
308                                                 <div class="row">
309                                                         <div class="label">
310                                                                 <label for="password">Password</label>
311                                                         </div>
312                                                         <div class="field">
313                                                                 <input type="password" name="password">
314                                                         </div>
315                                                 </div>
316                                                 <div class="row">
317                                                         <div class="label">
318                                                                 <label for="school">School</label>
319                                                         </div>
320                                                         <div class="field">
321                                                                 <select name="school">
322                                                                         <option value="Berkeley">Berkeley</option>
323                                                                         <option value="Brown">Brown</option>
324                                                                         <option value="Columbia">Columbia</option>
325                                                                         <option value="Cornell">Cornell</option>
326                                                                         <option value="Dartmouth">Dartmouth</option>
327                                                                         <option value="Harvard">Harvard</option>
328                                                                         <option value="MIT">MIT</option>
329                                                                         <option value="Princeton">Princeton</option>
330                                                                         <option value="Stanford">Stanford</option>
331                                                                         <option value="UPenn">UPenn</option>
332                                                                         <option value="University of Texas">University of Texas</option>
333                                                                         <option value="Yale">Yale</option>
334                                                                         <option value="Other">Other</option>
335                                                                 </select>
336                                                         </div>
337                                                 </div>
338                                                 <div class="row">
339                                                         <div class="label">
340                                                                 <label for="name">Name</label>
341                                                         </div>
342                                                         <div class="field">
343                                                                 <input type="text" name="name">
344                                                         </div>
345                                                 </div>
346                                                 <div class="row">
347                                                         <div class="label">
348                                                                 <label for="affil">Affiliation</label>
349                                                         </div>
350                                                         <div class="field">
351                                                                 <select name="affil">
352                                                                         <option value="Student">Student</option>
353                                                                         <option value="Teachers Assistant">Teachers Assistant</option>
354                                                                 </select>
355                                                         </div>
356                                                 </div>
357                                                 <div class="row">
358                                                         <div class="label">
359                                                                 &nbsp;
360                                                         </div>
361                                                         <div class="field">
362                                                                 <button>Register</button>
363                                                         </div>
364                                                 </div>
365                                         </div>
366                                 </form>
367                         </div>
368
369       <div class="page" id="pg_profile">
370         <h1>User Profile</h1>
371         <form id="form_profile" action="/profile" method="POST">
372           <h2>Account Information</h2>
373           <div class="area">
374             <div class="row">
375               <div class="label">
376                 <span>Email</span>
377               </div>
378               <div class="field">
379                 <span class="email"></span>
380               </div>
381             </div>
382             <div class="row">
383               <div class="label">
384                 <label for="affiliation">Affiliation</label>
385               </div>
386               <div class="field">
387                 <select id="affiliation" name="affiliation">
388                   <option value="Student">Student</option>
389                   <option value="Teachers Assistant">Teachers Assistant</option>
390                 </select>
391               </div>
392             </div>
393           </div>
394           <h2>Profile Information</h2>
395           <div class="area">
396             <div class="row">
397               <div class="label">
398                 <label for="name">User Name</label>
399               </div>
400               <div class="field">
401                 <input id="name" type="text" name="name" value="">
402               </div>
403             </div>
404             <div class="row">
405               <div class="label">
406                 <label>&nbsp;</label>
407               </div>
408               <div class="field">
409                 <input style="width: auto;" id="showName" type="checkbox" name="showName">
410                 Display your real name in contributions
411               </div>
412             </div>
413               <!--
414             <div class="row">
415               <div class="label">
416                 <label for="major">Major</label>
417               </div>
418               <div class="field">
419                 <input id="major" type="text" name="major" value="">
420               </div>
421             </div>
422             <div class="row">
423               <div class="label">
424                 <label for="bio">Bio</label>
425               </div>
426               <div class="field">
427                 <input id="bio" type="text" name="bio" value="">
428               </div>
429             </div>
430             -->
431           </div>
432           <h2>Change Password</h2>
433           <div class="area">
434             <div class="row">
435               <div class="label">
436                 <label for="existingPassword">Old Password</label>
437               </div>
438               <div class="field">
439                 <input id="existingPassword" type="password" name="existingPassword">
440               </div>
441             </div>
442             <div class="row">
443               <div class="label">
444                 <label for="newPassword">New Password</label>
445               </div>
446               <div class="field">
447                 <input id="newPassword" type="password" name="newPassword">
448               </div>
449             </div>
450             <div class="row">
451               <div class="label">
452                 <label for="newPasswordConfirm">Confirm Password</label>
453               </div>
454               <div class="field">
455                 <input id="newPasswordConfirm" type="password" name="newPasswordConfirm">
456               </div>
457             </div>
458           </div>
459           <div class="row">
460             <div class="label">&nbsp;</div>
461             <div class="field">
462               <button>Submit</button>
463             </div>
464           </div>
465         </form>
466       </div>
467
468
469                         <div class=page id=pg_login>
470                                 <h1>Login</h1>
471                                 <form id="form_login" action="/login" method="POST">
472                                         <div class="zarea">
473                                                 <div class="row">
474                                                         <div class="label">
475                                                                 <label for="email">Email</label>
476                                                         </div>
477                                                         <div class="field">
478                                                                 <input type="text" name="email" size="15" value="joe@sleepless.com">
479                                                         </div>
480                                                 </div>
481                                                 <div class="row">
482                                                         <div class="label">
483                                                                 <label for="password">Password</label>
484                                                         </div>
485                                                         <div class="field">
486                                                                 <input type="password" name="password" size="15">
487                                                         </div>
488                                                 </div>
489                                                 <div class="row">
490                                                         <div class="label">&nbsp;
491                                                         </div>
492                                                         <div class="field">
493                                                                 <button class="major">Login</button>
494                                                                 <span class="reglink">
495                                                                         <a href="/resetpw">Forgot password?</a>
496                                                                 </span>
497                                                         </div>
498                                                 </div>
499                                                 <div class="row">
500                                                         <div class="label">&nbsp;
501                                                         </div>
502                                                         <div class="field">
503                                                                 <span class="reglink">
504                                                                         <a href="/register">Create an Account</a>
505                                                                 </span>
506                                                         </div>
507                                                 </div>
508                                         </div>
509                                 </form>
510                         </div>
511
512       <div class="page" id="pg_resetpass">
513         <h1>Password Reset</h1>
514         <form id="form_resetpass" action="/resetpass" method="POST">
515           <div class="zarea">
516             <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>
517             <div class="row">
518               <div class="label">
519                 <label for="email">Email</label>
520               </div>
521               <div class="field">
522                 <input type="text" name="email" size="15" value="">
523               </div>
524             </div>
525             <div class="row">
526               <div class="label">&nbsp;</div>
527               <div style="min-width: 200px" class="field">
528                 <button>Reset</button>
529               </div>
530             </div>
531           </div>
532         </form>
533       </div>
534
535       <div class="page" id="pg_resetpw">
536         <h1>Password Reset</h1>
537         <form id="form_resetpw" action="/resetpw" method="POST">
538           <div class="zarea">
539             <p>To verify and reset your password, type the full email address and your new password twice, then click submit.</p>
540             <div class="row">
541               <div class="label">
542                 <label for="email">Email</label>
543               </div>
544               <div class="field">
545                 <input type="text" name="email" size="15" value="">
546               </div>
547             </div>
548             <div class="row">
549               <div class="label">
550                 <label for="pass1">New Password</label>
551               </div>
552               <div class="field">
553                 <input type="password" name="pass1" size="15" value="">
554               </div>
555             </div>
556             <div class="row">
557               <div class="label">
558                 <label for="pass2">Repeat New Password</label>
559               </div>
560               <div class="field">
561                 <input type="password" name="pass2" size="15" value="">
562               </div>
563             </div>
564             <div class="row">
565               <div class="label">&nbsp;</div>
566               <div style="min-width: 200px" class="field">
567                 <button>Reset</button>
568               </div>
569             </div>
570           </div>
571         </form>
572       </div>
573
574                         <div class=page id=pg_conduct>
575                                 <div class="conduct">
576                                         <h1>Code of Conduct</h1>
577                                         <p class="academic">
578                                                 <img src="/images/keep-it-academic.png" alt="Keep it academic.">
579                                         </p>
580                                         <p class="vague">
581                                                 This directive is deliberately vague to
582                                                 accommodate creative humor, insight, and exploration.<br>
583                                                 Disruptive or irrelevant material, however,
584                                                 will be subject to removal.<br>
585                                                 Just keep it academic, and we'll all be better off.<br>
586                                         </p>
587                                 </div>
588                         </div>
589
590
591
592
593                         <div class=page id=pg_press>
594                                 <h1>FinalsClub in the Press</h1>
595                                 <div class="press">
596                                         <img src="/images/boston.com.png" class="press">
597                                         <p class="date">December 13, 2009</p>
598                                         <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>
599                                         <p>Then, two years ago, Magliozzi started up a side project called Finalsclub.org.</p>
600                                         <p class="readmore">
601                                         <a href="http://www.boston.com/bostonglobe/ideas/articles/2009/12/13/freeharvardeducationcom">Read more ...</a>
602                                         </p>
603                                 </div>
604                                 <hr>
605                                 <div class="press">
606                                         <img src="/images/harvard-crimson.jpg" class="press">
607                                         <p class="date">Wednesday, February 18, 2009</p>
608                                         <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>
609                                         <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>
610                                         <p class="readmore">
611                                         <a href="http://www.thecrimson.com/article/2009/2/18/finalscluborg-passes-punch-span-stylefont-weight-boldcorrection">Read more ...</a>
612                                         </p>
613                                 </div>
614                                 <hr>
615                                 <div class="press">
616                                         <img src="/images/blown-to-bits.png" class="press">
617                                         <p class="date">September 27th, 2009</p>
618                                         <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>
619                                         <p class="readmore">
620                                         <a href="http://www.bitsbook.com/2009/09/a-harvard-skirmish-in-the-copyright-wars">Read more ...</a>
621                                         </p>
622                                 </div>
623                         </div>
624
625
626
627
628                         <div class=page id=pg_notfound>
629                                 <h1>Page Not Found</h1>
630                                 Sorry, there is no content for this page.
631                         </div>
632
633
634
635
636                 </div>
637
638
639
640
641                 <div class="footer">
642                         <table>
643                                 <tr>
644                                         <td class="col1">
645                                                 <div class="logo">
646                                                         <img src="/images/finals-club-wht.png" title="FinalsClub.org" class="lilogo"/>
647                                                 </div>
648                                                 <div>Copyright 2011</div>
649                                                 <div>All Rights Reserved</div>
650                                         </td>
651                                         <td class="col2">
652                                                 <a href="/conduct">Code of Conduct</a>
653                                                 <a href="http://blog.finalsclub.org/about.html">About</a>
654                                                 <a href="http://blog.finalsclub.org/contact.html">Contact</a>
655                                                 <a href="http://blog.finalsclub.org/legal.html">Legal</a>
656                                                 <a href="http://blog.finalsclub.org/team.html">Team</a>
657                                         </td>
658                                 </tr>
659                         </table>
660                 </div>
661                 <div class="footerer">
662                         <p>
663                                 This work is licensed under a
664                                 Creative Commons Attribution-ShareAlike 3.0
665                                 United States License
666                         </p>
667                         <p>
668                                 <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>
669                                 <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>
670                         </p>
671                 </div>
672
673
674
675
676         </body>
677 </html>