Finished Office Hours Template & View

You can view the office hours table by visiting 127.0.0.1:8000/officehours/. Make sure that your database is populated correctly with Officers, OfficeHours, and BerkeleyClasses before doing this (or you'll just get a bunch of "No scheduled officer" cells and nothing cool to see).

Table 1: Organized by Time Slot
The idea is that each slot has two pieces of information: (1) officer name (will always be displayed) and (2) officer classes_taken (will be displayed only upon hovering over slot).

Table 2: Organized by CS Class
Each slot has two pieces of information: (1) CS class name (will always be displayed), (2) officers with name and schedule (will be displayed only upon hovering over slot).