|
|
42749c5b64
|
Now searchRequest passes a index key to movieObject so that each div object can have a separate key.
|
2017-10-06 12:20:51 +02:00 |
|
|
|
c954bd4874
|
Added stylesheet for requestElement
|
2017-10-06 12:08:06 +02:00 |
|
|
|
dbb8eb4057
|
Added redux reducer and store for calling from the login page.
|
2017-10-06 12:07:43 +02:00 |
|
|
|
c03449b9e9
|
The login form for authentication a user.
|
2017-10-06 12:05:54 +02:00 |
|
|
|
6dd45cf89e
|
Empty header file.
|
2017-10-06 12:05:00 +02:00 |
|
|
|
3bc8c5912b
|
Loader for what pages is to be displayed based on the state of cookie: logged_in. Either displays login page or fetchrequested.
|
2017-10-06 12:04:35 +02:00 |
|
|
|
bd74e1dee1
|
The first thing the index does is to load the app file in a hashrouter object and send it to the element with id root.
|
2017-10-06 12:03:16 +02:00 |
|
|
|
ed1d0f3c39
|
App.jsx now loads the header and the main script that holds our routes.
|
2017-10-06 12:01:30 +02:00 |
|
|
|
0b79c8679d
|
This is the landing page for viewing all requested items. One must be authenticated through the admin page, and requests need the token variable in browser storage. The returned data can be filtered and sorted.
|
2017-10-06 12:00:51 +02:00 |
|
|
|
927352e9ae
|
Added react-redux, react-router and other redux packages.
|
2017-10-06 11:59:16 +02:00 |
|
|
|
5b110b9d82
|
This is the main router for index page, routes to searchRequest and admin pages.
|
2017-10-06 11:57:22 +02:00 |
|
|
|
1633be1276
|
Added 404 page when a request does not match any routes.
|
2017-10-06 11:56:22 +02:00 |
|
|
|
6d5c1e8d6d
|
File that holds functions for retriveing and saving cookie data.
|
2017-10-06 11:55:20 +02:00 |
|