aboutsummaryrefslogtreecommitdiffstats
path: root/public/js/app.js
Commit message (Collapse)AuthorAgeFilesLines
* Use so date format for html element id's.ramaskrik-2019Harald Eilertsen2019-10-171-13/+19
|
* Mainly cosmetic updates for ramaskrik.Harald Eilertsen2019-10-171-1/+1
|
* Adjust where long titles break.Harald Eilertsen2019-10-051-2/+2
|
* Optimize performance.Harald Eilertsen2019-10-051-3/+9
| | | | | A lot of time went by in the `time_f()` function, simplify it by not using the JavaScript date formatting framework which is way overkill.
* Only convert final start/end_time to date objects.Harald Eilertsen2019-10-051-6/+6
| | | | | This makes the sort come out right, and there's no need to create a bunch of objects we just throw away.
* Misc updates.Harald Eilertsen2019-10-051-59/+42
| | | | | | | | | | | Use proper JavaScript Date objects for handling time and date information. Pick up the screening date from the starting time if not given explicitly. Dynamically set the with of each canvas based on the number of rooms with screenings for that day.
* Add times to movie boxes.ravenheart/2019Harald Eilertsen2019-10-041-4/+13
|
* Remove obsolete code.Harald Eilertsen2019-08-281-41/+0
|
* Brushing up a bit and prepare for deploy.Harald Eilertsen2019-08-281-5/+10
| | | | | | | | | | | use relative links to resources, so we can deploy to sub-url. explicitly set colours for canvas elements, styling did not work in all browsers. also make it white on black. tighten fonts and make screening titles bigger.
* Adapt to Ravenheart 2019, Oslo.Harald Eilertsen2019-08-281-1/+1
| | | | | | Also fetch the json directly from a file on the server. Since we don't really have any functionality in the backend app yet, we can deploy without it.
* Use canvas for drawing the schedules.HEADmasterHarald Eilertsen2019-08-281-4/+165
|
* Update /screenings endpoint to return full info on screenings.Harald Eilertsen2019-04-281-5/+5
| | | | | This makes each screening record self-contained, and the json payload more consistent with how it semantically fit together.
* Fetch rooms from database using ajax/json.Harald Eilertsen2019-03-231-0/+22
|
* Use rocket_contrib StaticFiles module to serve static files.Harald Eilertsen2019-03-041-0/+51
This also changes the structure of the app quite significantly. Instead if generating the html for the index, we simply provide a public/index.html static file instead. For now this seems to make sense, it may not hold in the long run, but that's for another time to worry about.