vhs / api

VHS API - the Hackspace Data Store
4 stars 1 forks source link

Updates to support SpaceTime (new isvhsopen.com system) #6

Closed acropup closed 9 years ago

acropup commented 9 years ago

This is to update isvhsopen.com to work with SpaceTime (https://github.com/vhs/SpaceTime).

The new isvhsopen.com will have two datapoints:

door - values are 'open' or 'closed' isvhsopen_until - 'until 12:35' or '' This update includes changes to input santization (now allows period, colon, and space) and a new fullpage template 'data-dual-full.tt' that displays two datapoints on the same page.

(Note that the previous, similar pull request was for the perl codebase. Since we've changed to javascript, this is those same changes applied to the new codebase.)

interlock commented 9 years ago

LGTM, merging.