diff options
-rw-r--r-- | public/index.html | 9 | ||||
-rw-r--r-- | public/js/app.js | 2 | ||||
-rw-r--r-- | public/ravenheart-2019.json | 1 |
3 files changed, 9 insertions, 3 deletions
diff --git a/public/index.html b/public/index.html index 22b9fc3..770c0c0 100644 --- a/public/index.html +++ b/public/index.html @@ -1,12 +1,17 @@ <!DOCTYPE html> <html> <head> - <title>Ramaskrik Program</title> + <title>Ravenheart 2019 Program</title> <link rel="stylesheet" href="/app.css"> <script type="text/javascript" src="/js/app.js"></script> </head> <body> - <h1>Ramaskrik 2019</h1> + <h1>Ravenheart 2019</h1> + <p>Uoffisielt program for Ravenheart film festival, Oslo 2019.</p> + <p>Det er forhåpentligvis litt lettere å se hvilke visninger som går når enn i det offisielle programmet. + Dette programmet blir imidlertid ikke oppdatert automatisk ved endringer, så dobbelsjekk på + <a href="https://www.cinemateket.no/ravenheart">Cinemateket sine sider</a> for å være helt sikker.</p> + <div id="program"></div> </body> </html> diff --git a/public/js/app.js b/public/js/app.js index e219af4..606e21f 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -27,7 +27,7 @@ function fetch_rooms(data_done) { function load_screenings(data_done) { let req = new XMLHttpRequest() req.addEventListener("load", data_done) - req.open("GET", "http://localhost:8000/screenings") + req.open("GET", "http://localhost:8000/ravenheart-2019.json") req.responseType = "json" req.send() } diff --git a/public/ravenheart-2019.json b/public/ravenheart-2019.json new file mode 100644 index 0000000..247dde9 --- /dev/null +++ b/public/ravenheart-2019.json @@ -0,0 +1 @@ +[{"id":1,"film":{"id":1,"title":"Opening ceremony","url":null},"room":{"id":1,"name":"Tancred"},"date":"2019-08-29","start_time":"17:00:00","end_time":"17:20:00"},{"id":2,"film":{"id":2,"title":"sci-fi/fantasy shorts A","url":"https://www.cinemateket.no/filmer/sci-fi-fantasy-shorts-a"},"room":{"id":1,"name":"Tancred"},"date":"2019-08-29","start_time":"17:30:00","end_time":"18:50:00"},{"id":3,"film":{"id":3,"title":"sci-fi/fantasy shorts B","url":"https://www.cinemateket.no/filmer/sci-fi-fantasy-shorts-b"},"room":{"id":1,"name":"Tancred"},"date":"2019-08-29","start_time":"19:10:00","end_time":"20:30:00"},{"id":4,"film":{"id":4,"title":"Donnie Darko","url":"https://www.cinemateket.no/filmer/donnie-darko"},"room":{"id":1,"name":"Tancred"},"date":"2019-08-29","start_time":"20:45:00","end_time":"22:45:00"},{"id":5,"film":{"id":5,"title":"Animation shorts","url":"https://www.cinemateket.no/filmer/animation-shorts"},"room":{"id":2,"name":"Lillebil"},"date":"2019-08-29","start_time":"17:45:00","end_time":"19:35:00"},{"id":6,"film":{"id":6,"title":"Documenting the Witch Path","url":"https://www.cinemateket.no/filmer/documenting-the-witch-path"},"room":{"id":2,"name":"Lillebil"},"date":"2019-08-29","start_time":"20:00:00","end_time":"21:05:00"},{"id":7,"film":{"id":7,"title":"Dark comedy shorts","url":"https://www.cinemateket.no/filmer/dark-comedy-shorts"},"room":{"id":2,"name":"Lillebil"},"date":"2019-08-29","start_time":"21:20:00","end_time":"22:45:00"},{"id":8,"film":{"id":8,"title":"Feral","url":"https://www.cinemateket.no/filmer/feral"},"room":{"id":1,"name":"Tancred"},"date":"2019-08-30","start_time":"17:10:00","end_time":"18:50:00"},{"id":9,"film":{"id":9,"title":"Horror/Thriller shorts A","url":"https://www.cinemateket.no/filmer/horror-thriller-shorts-a"},"room":{"id":1,"name":"Tancred"},"date":"2019-08-30","start_time":"19:10:00","end_time":"20:35:00"},{"id":10,"film":{"id":10,"title":"Horror/Thriller shorts B","url":"https://www.cinemateket.no/filmer/horror-thriller-shorts-b"},"room":{"id":1,"name":"Tancred"},"date":"2019-08-30","start_time":"20:50:00","end_time":"22:10:00"},{"id":11,"film":{"id":11,"title":"Død Snø","url":"https://www.cinemateket.no/filmer/dod-sno"},"room":{"id":1,"name":"Tancred"},"date":"2019-08-30","start_time":"22:30:00","end_time":"00:00:00"},{"id":12,"film":{"id":12,"title":"Student shorts A","url":"https://www.cinemateket.no/filmer/student-shorts-a"},"room":{"id":2,"name":"Lillebil"},"date":"2019-08-30","start_time":"17:00:00","end_time":"18:25:00"},{"id":13,"film":{"id":2,"title":"sci-fi/fantasy shorts A","url":"https://www.cinemateket.no/filmer/sci-fi-fantasy-shorts-a"},"room":{"id":2,"name":"Lillebil"},"date":"2019-08-30","start_time":"19:00:00","end_time":"20:20:00"},{"id":14,"film":{"id":13,"title":"Student shorts B","url":"https://www.cinemateket.no/filmer/student-shorts-b"},"room":{"id":2,"name":"Lillebil"},"date":"2019-08-30","start_time":"20:45:00","end_time":"22:05:00"},{"id":15,"film":{"id":3,"title":"sci-fi/fantasy shorts B","url":"https://www.cinemateket.no/filmer/sci-fi-fantasy-shorts-b"},"room":{"id":2,"name":"Lillebil"},"date":"2019-08-30","start_time":"22:40:00","end_time":"00:00:00"},{"id":16,"film":{"id":14,"title":"Oslo, 31. August","url":"https://www.cinemateket.no/filmer/oslo-31-august"},"room":{"id":1,"name":"Tancred"},"date":"2019-08-31","start_time":"14:00:00","end_time":"15:35:00"},{"id":17,"film":{"id":5,"title":"Animation shorts","url":"https://www.cinemateket.no/filmer/animation-shorts"},"room":{"id":1,"name":"Tancred"},"date":"2019-08-31","start_time":"15:50:00","end_time":"17:40:00"},{"id":18,"film":{"id":15,"title":"Blue Moon","url":"https://www.cinemateket.no/filmer/blue-moon"},"room":{"id":1,"name":"Tancred"},"date":"2019-08-31","start_time":"18:10:00","end_time":"19:40:00"},{"id":19,"film":{"id":7,"title":"Dark comedy shorts","url":"https://www.cinemateket.no/filmer/dark-comedy-shorts"},"room":{"id":1,"name":"Tancred"},"date":"2019-08-31","start_time":"20:00:00","end_time":"21:25:00"},{"id":20,"film":{"id":16,"title":"Artik","url":"https://www.cinemateket.no/filmer/artik"},"room":{"id":1,"name":"Tancred"},"date":"2019-08-31","start_time":"21:40:00","end_time":"23:00:00"},{"id":21,"film":{"id":17,"title":"Norwegian FX","url":"https://www.cinemateket.no/filmer/presentation-on-norwegian-fx"},"room":{"id":2,"name":"Lillebil"},"date":"2019-08-31","start_time":"14:10:00","end_time":"14:40:00"},{"id":22,"film":{"id":12,"title":"Student shorts A","url":"https://www.cinemateket.no/filmer/student-shorts-a"},"room":{"id":2,"name":"Lillebil"},"date":"2019-08-31","start_time":"15:00:00","end_time":"16:25:00"},{"id":23,"film":{"id":9,"title":"Horror/Thriller shorts A","url":"https://www.cinemateket.no/filmer/horror-thriller-shorts-a"},"room":{"id":2,"name":"Lillebil"},"date":"2019-08-31","start_time":"17:00:00","end_time":"18:25:00"},{"id":24,"film":{"id":10,"title":"Horror/Thriller shorts B","url":"https://www.cinemateket.no/filmer/horror-thriller-shorts-b"},"room":{"id":2,"name":"Lillebil"},"date":"2019-08-31","start_time":"18:40:00","end_time":"20:00:00"},{"id":25,"film":{"id":13,"title":"Student shorts B","url":"https://www.cinemateket.no/filmer/student-shorts-b"},"room":{"id":2,"name":"Lillebil"},"date":"2019-08-31","start_time":"20:15:00","end_time":"21:40:00"},{"id":26,"film":{"id":18,"title":"Award ceremony","url":null},"room":{"id":1,"name":"Tancred"},"date":"2019-08-31","start_time":"23:00:00","end_time":"23:30:00"}]
\ No newline at end of file |