Commit Graph

15 Commits

Author SHA1 Message Date
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
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
dbd258d9fa Now also prints the requestee of a element if it is not null. 2017-10-23 15:49:54 +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
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
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