Commit Graph

99 Commits

Author SHA1 Message Date
976d5cf69f TorrentTable gets passed a json list of torrents and this displays it in a table view. 2018-01-02 15:30:23 +01:00
317aa69f18 Re-added a CSS class that was removed. 2017-12-02 15:42:23 +01:00
7849a8ce3f Fixed syntax error. 2017-12-02 13:17:17 +01:00
246abd7020 Renamed the variable name for our stylesheet. 2017-12-02 13:16:57 +01:00
580cdc430f Removed a lot of unused css classes. 2017-12-02 13:15:23 +01:00
7bde2821d0 Followed with the renaming of MovieObject to now be refered to as SearchObject. Also change the loading animation for InfiniteScroll. It is the same loading animation imported as we have in torrent search. 2017-12-02 13:13:35 +01:00
45db534681 When a requested element from the sidebar is selected this is where the detailed info is displayed. Now it is possible to change the status of a item by using the dropdown. This is where piratesearch also gets the query name through props. 2017-12-02 12:17:00 +01:00
fd0a2c9d50 Renamed the exporting class name to match the file name. 2017-12-02 12:08:47 +01:00
e55067025e Renamed movieObject to searchObject, same with css. 2017-12-02 12:05:17 +01:00
187ac6317e Still a bit messy, but removed unsued sections and redid the naming schema for css items. 2017-12-02 12:01:49 +01:00
c11b222ee3 Deleted unused svg image. 2017-12-02 11:35:10 +01:00
8695a553d6 Admin page is our landing page for admin panel, now it passes our api response to sidebar and info panel when we get the response back from the api. Some renaming of stylesheet variable. 2017-12-02 11:32:49 +01:00
5fb1e7ba2e Sidebar is now redesigned with color indicators, filtering name by search query or filtering status by dropdown. Moved CSS to a separate stylesheet. 2017-12-02 11:20:26 +01:00
e1fed24fc0 Added a loading image to pirateSearch. Now we get feedback when waiting for response from the api. 2017-12-02 10:39:18 +01:00
8542da34cd Added a separate stylesheet for our buttons. 2017-12-02 10:37:31 +01:00
62b6f5c8ca Using react-interactive we now have hover animations for our buttons. 2017-11-28 21:02:25 +01:00
d6c066266c Changed the box shadow and margin of result wrapper. 2017-10-23 16:12:00 +02:00
a0ce4e07fe Changed the title position of our result list. 2017-10-23 16:06:38 +02:00
dbd258d9fa Now also prints the requestee of a element if it is not null. 2017-10-23 15:49:54 +02:00
80dcba2fba Merge pull request #54 from KevinMidboe/api_save-user-w-request
Api save user w request
2017-10-23 15:36:28 +02:00
81fbc86cad Now loggedinuser cookie variable is sent in our header on each call. 2017-10-23 15:31:41 +02:00
233ad03dd3 Changed so our client now uses our new endpoint for searching lists. 2017-10-23 15:05:42 +02:00
6e95d48f11 Now when searching a loggedinuser header element is passed also. 2017-10-22 17:34:16 +02:00
d90197b8b4 Added a cookie variable loggedInUser, to see search history of a user. 2017-10-22 14:58:38 +02:00
3d73000e92 Displays a button that can be used to fetch search results and then each element has a magnet button to send it back. 2017-10-21 15:16:58 +02:00
71e7f46927 AdminRequestInfo is also passed listItemSelected variable 2017-10-21 15:16:15 +02:00
5d40bd8e06 Added Pirate Search component. 2017-10-21 15:15:28 +02:00
a0565f79d2 Changed name of variable element to requestElement and now the link name of a list item is generated by generateListElements and if this element is the one selected make it visually different 2017-10-21 09:48:13 +02:00
277105e6df Our selected Request is passed through props, the prop name is now changed from display to selectedRequest. 2017-10-21 09:45:46 +02:00
87a2de1d0b Reflects the changes to the url paramater for admin, is now names requestParam. Also the param is passed to Sidebar so that we can highlight the one selected. 2017-10-21 09:44:12 +02:00
5aaf0ddf84 Moved Admin and LoginForm to admin folder and deleted app and main in replacement for root. 2017-10-21 00:14:50 +02:00
39e363dbf3 Works together with AdminRequestInfo to display info about requested items on the admin page. 2017-10-21 00:12:44 +02:00
7b32dfa35a Moved loginform to admin folder 2017-10-21 00:12:09 +02:00
cd58a830b5 Together with sidebar this loads the info of the selected request item on the admin page. 2017-10-21 00:11:53 +02:00
65c1f7ad96 Changed from compDidMount to WillMount so it loads before our render function. 2017-10-21 00:09:29 +02:00
2fd515d997 Fixed a bug where the json object was not being returned and fixed indentation of fetchJSON function. 2017-10-21 00:08:35 +02:00
4297505861 Moved admin to a admin folder and this is now the landing page for all that admin things we want to do. It now just displays the sidebar and adminRequestInfo for a selected item in the sidebar. Also checks if user is logged in before loading view. 2017-10-21 00:06:50 +02:00
e114cff32f This will be handling all http requests. 2017-10-20 18:11:34 +02:00
cdba914758 Where all our button components will recide. 2017-10-20 18:11:15 +02:00
5f13ad202c Added import of fetchJSON function in http 2017-10-20 18:10:53 +02:00
8fa7f7f918 Just added a justify content variable 2017-10-20 18:09:43 +02:00
b2f4151850 Movie object now uses http functions when submitting a post for a movie. 2017-10-20 18:08:31 +02:00
45a84cbf85 The admin page that has all the fetched elements now prints all the elements out in a grid. Tried a cool thing on how to render the dropdown for changing the status of a element, but its not working atm. 2017-10-20 17:20:43 +02:00
42d0b40825 Does not fit on this branch, but updated the key value, so it is concat of both id and index of the map function for search results. It was prev just the index, and when rapped this hits same value, which is unacceptable by react. 2017-10-07 14:52:49 +02:00
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