aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement update events.devHarald Eilertsen2021-08-254-0/+31
|
* Fix typo and include js in index template.Harald Eilertsen2021-08-251-3/+4
|
* Refactor event templates and add edit form.Harald Eilertsen2021-08-257-54/+103
|
* Add old migration to create event table.Harald Eilertsen2021-08-242-0/+10
|
* Upgrade to use Rocket 0.5.0-rc.1Harald Eilertsen2021-08-2419-655/+1284
|
* Use relative URLs for redirects.Harald Eilertsen2020-08-254-7/+7
|
* Add stylesheet and js to to the index template.Harald Eilertsen2020-08-252-50/+32
| | | | This also obsoletes and removes the old index.html file.
* Reenable serving static files.Harald Eilertsen2020-08-251-0/+1
| | | | These have a rank higher (lower presedence) than the predefined routes.
* Add info about the event to the db and render landing page.Harald Eilertsen2020-08-259-2/+162
|
* tests: Update apitests.Harald Eilertsen2020-08-251-10/+7
| | | | | With the current example Rocket.toml running the tests will wipe the globally defined database.
* models: Drop unused import.Harald Eilertsen2020-08-251-1/+0
|
* app.js: Capitalize date in heading above schedules.Harald Eilertsen2020-08-251-1/+5
|
* Styling: drop the tiny font size.Harald Eilertsen2020-08-251-1/+0
| | | | Let the user decide the size of fonts they like.
* app.js: Render schedules in sorted order.Harald Eilertsen2020-08-251-1/+1
|
* app.js: Fix wordwrap and make schedule bigger.Harald Eilertsen2020-08-251-13/+16
|
* app.js: Request screenings by relative URL.Harald Eilertsen2020-08-251-1/+1
| | | | | Allows us to run the app under a suburi, instead of having a separate domain for it.
* Ignore actual Rocket.toml.Harald Eilertsen2020-08-241-0/+1
| | | | To prevent it from accidentally being added to version control.
* Move database config to Rocket.toml.Harald Eilertsen2020-08-243-16/+35
| | | | | This makes for one place to config everything instead of programatically setting the config.
* Implement edit screenings in web ui.Harald Eilertsen2020-08-236-2/+112
|
* Use <time> elements in the screenings template.Harald Eilertsen2020-08-231-1/+6
|
* Store timestamps in UTC.Harald Eilertsen2020-08-232-8/+21
| | | | | | | | | For now we just hardcode that the local timezone of the site is UTC+2. Good enough for now, but something that should be configurable. Also split the date and time entries in the form again, the date refers to the start date. If the end time is before the start time, we assume it's the day after. Again, good enough for now.
* Change start/end times to complete timestamps.Harald Eilertsen2020-08-239-34/+44
| | | | | | | The way we had this until now with a date and separate start and end times does not really work. There are cases when a screening starts on one day, but ends on the next. By keeping a complete timestamp for both the start and end times, we don't fall into this problem.
* Implement deleting screenings from web ui.Harald Eilertsen2020-08-234-4/+34
|
* Implement adding screenings in the web ui.Harald Eilertsen2020-08-235-15/+134
|
* Terminate li tags.Harald Eilertsen2020-08-232-1/+2
|
* Implement adding and listing films.Harald Eilertsen2020-08-235-4/+88
|
* Add link to create new rom in room list template.Harald Eilertsen2020-08-231-0/+3
|
* Implement adding rooms through the web ui.Harald Eilertsen2020-08-226-3/+50
|
* Swap rank on plain and json response for room list.Harald Eilertsen2020-08-221-7/+9
| | | | Note to self: More explicit should have lower rank (higher precedence.)
* Use Tera templates to render pages.Harald Eilertsen2020-08-225-5/+209
|
* Update deps, drop serde_derive.Harald Eilertsen2020-08-225-577/+756
| | | | | serde_derive is included by passing the 'derive' feature to serde instead.
* Use so date format for html element id's.ramaskrik-2019Harald Eilertsen2019-10-171-13/+19
|
* Fix timezone in ramaskrik schedule data.Harald Eilertsen2019-10-171-1/+1
|
* Update schedule for Ramaskrik 2019.Harald Eilertsen2019-10-172-83/+81
|
* Add missing files.Harald Eilertsen2019-10-173-0/+1528
|
* Mainly cosmetic updates for ramaskrik.Harald Eilertsen2019-10-172-8/+13
|
* Revert "Replace favicon for ravenheart."Harald Eilertsen2019-10-071-0/+0
| | | | This reverts commit 896b30421727b7625d02cae375544dc1d542e9a5.
* 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-283-14/+15
| | | | | | | | | | | 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.
* Replace favicon for ravenheart.Harald Eilertsen2019-08-281-0/+0
|
* Reflow schedules with wrapped flex layout.Harald Eilertsen2019-08-281-0/+11
| | | | Use with of screen when it's there, otherwise be narrow and long.
* Add license info to footer.Harald Eilertsen2019-08-282-0/+39
|
* Style link elements in the html.Harald Eilertsen2019-08-281-0/+8
|
* Adapt to Ravenheart 2019, Oslo.Harald Eilertsen2019-08-283-3/+9
| | | | | | 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-283-8/+170
|