Commit Graph
44 Commits
Author SHA1 Message Date
marek 4649723f87 Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch 2018-11-13 20:56:51 +01:00
marek 0b64c50f36 fixed links for the locationEditor 2018-11-13 20:56:44 +01:00
marek e3f25e76f2 added tracking of who added which part; requires database update though. 2018-11-13 19:12:45 +01:00
marek e5f6341d4e Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch 2018-11-13 18:14:32 +01:00
marek c29d0af836 main results table width limited 2018-11-13 18:14:16 +01:00
marek c0f0fd732f Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch 2018-11-13 17:33:25 +01:00
marek b871e98cbb removed the key file from the repo, so it doesn't get overwritten 2018-11-13 17:33:10 +01:00
marek ad643464cb octopart search added. note: the API key is NOT included in the public repo, for obvious reasons. 2018-11-13 15:23:51 +01:00
marek 4f1e51e7bd made the site a little better looking on any mobile phone that is exactly my iphone. 2018-11-13 01:20:59 +01:00
marek 6120420f56 added an ugly favicon. Note: the default one that we get the 404 error about will be taken from the root domain elab.kth.se anyway. 2018-11-13 00:34:45 +01:00
marek d1bd2aa0ec Locations can now be deleted. I have created you, now I can destroy you! 2018-11-13 00:14:05 +01:00
marek 954b449757 location editor can now be used to edit locations. And add them! 2018-11-12 20:56:12 +01:00
marek a99a356985 hiding overlay is more reliable 2018-11-12 20:55:34 +01:00
marek 44adb43466 made /parts/ work in URL just as well as /parts 2018-11-12 20:55:10 +01:00
marek 846b7297ce location editor lists the new style of locations. Actual adding/editing locations coming soon. 2018-11-12 01:48:16 +01:00
marek 777942aeaa removed placeholder vault.png, resized "HERE" pointer 2018-11-12 01:19:00 +01:00
marek 2ce132868c fixed saving the location_id instead of container_id when adding or editing a part 2018-11-12 01:16:16 +01:00
marek 694310a733 TEMPORARY disabled datasheet posting, because otherwise could not test other related functionality 2018-11-12 01:15:41 +01:00
marek 42fb09f89b ALL the maps and overlays! Please don't move any furniture in lab nao. 2018-11-12 00:01:31 +01:00
marek 9c80db4943 Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch 2018-11-11 20:42:26 +01:00
marek 0fdcd100ff maps with container overlays 2018-11-11 20:42:09 +01:00
marek c4ca575ca1 new maps 2018-11-11 20:41:31 +01:00
marek d31799b3aa endpoint for listing locations in a given container 2018-11-11 20:05:55 +01:00
marek 5df74f1276 Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch 2018-11-11 18:46:31 +01:00
marek 7c1fd24cb0 location containers part 1. Mostly broken. 2018-11-11 18:46:17 +01:00
marek 2029ef5aeb made location listing part of the template, rather than an unnecesary AJAX request + secret sauce sorting 2018-11-11 01:19:32 +01:00
marek fd4f29ca7d temporary placeholder map for the VAULT. Hopefully just temporary and won't stay forever. 2018-11-11 00:53:19 +01:00
marek 00a2d6f070 location editor (MVP - can only add locations) 2018-11-11 00:52:30 +01:00
marek d131bcede6 removed a temporary test file and script relating to it 2018-11-11 00:52:03 +01:00
marek 3518c04c09 split script.js into a "common.js" that is useful for other pages and regular "script.js" for only the main page 2018-11-11 00:51:16 +01:00
marek 2d867f327c made the map styling reusable for the clickable map. I'm working under the wild assumption that we might not desperatly need a class called exactly "map" in a place different than specifically in an element named "overlay" 2018-11-10 23:31:16 +01:00
marek 513cc34bdd removed alpha channel from map before sending, to further reduce bandwidth abuse 2018-11-10 21:59:01 +01:00
marek 1234bdfa14 made the map not strech and display inline with the data-table 2018-11-10 21:58:18 +01:00
marek 2813481da4 updated map with chairs, so we can sit comfortably. Also reduced size 2018-11-10 21:57:40 +01:00
marek f8301552c4 made all parts relative with a global rootURL variable, for easy server deployment 2018-11-10 17:57:53 +01:00
marek efc5af0b61 added a shitty readme.md 2018-11-10 17:42:04 +01:00
marek 4d6ef6a07b locations are returned alphabetically 2018-11-10 01:05:31 +01:00
marek b8b014f314 Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch 2018-11-10 00:39:15 +01:00
marek 2b481df94c endpoint for getting a map for a given location ID /parts/getlocationURL/<id> 2018-11-10 00:39:00 +01:00
marek dadab62e9e endpoint for listing locations 2018-11-10 00:15:00 +01:00
marek 7d5d5bb3b4 Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch 2018-11-09 23:29:08 +01:00
marek 04d10120da map X Y coordinate generator for making new locations 2018-11-09 23:28:55 +01:00
marek 4ce95acbac fixed transparancy issue on generated map 2018-11-09 22:17:42 +01:00
marek d3cd668c9e things can be pointed at with the map 2018-11-09 21:24:21 +01:00