Commit Graph
62 Commits
Author SHA1 Message Date
marek 227e725e95 more magical octopart button prototype (temporarily disabled) 2018-11-13 22:09:34 +01:00
marek 3cb81e9a79 Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch 2018-11-13 21:58:49 +01:00
marek b297462d3b fixed location editor 2018-11-13 21:58:38 +01:00
davide a7751dc38b Added query timer 2018-11-13 21:35:37 +01:00
davide 7e1f59f781 Delete button now deletes only once. 2018-11-13 21:09:17 +01:00
davide 4429a2a4f6 Merge branch 'master' of git.elab.kth.se:davide/ELAB-partsearch
# Conflicts:
#	parts/server.py
2018-11-13 19:28:54 +01:00
davide 725d2b0cdd Deleted some old code 2018-11-13 19:24:45 +01:00
davide 3793f4a865 Added notes feature 2018-11-13 19:24:33 +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
davide 1e8576af1c Removed margin from part details 2018-11-13 18:13:13 +01:00
davide db55a5769e Merge branch 'master' of git.elab.kth.se:davide/ELAB-partsearch
# Conflicts:
#	parts/static/script.js
2018-11-13 17:23:15 +01:00
davide 0e949dff50 Minor style adjustments 2018-11-13 17:16:33 +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
davide 50e4903a30 Check if user has selected a location 2018-11-13 14:58:20 +01:00
davide d65de687d8 Opening datasheet in new tab 2018-11-13 14:58:07 +01:00
davide afecca7172 Appending datasheet url to form data 2018-11-13 14:50:24 +01:00
davide 623770091b Fixed not retrieving correctly the location_id 2018-11-13 14:50:10 +01:00
davide 08b8646374 Minor style adjustments 2018-11-13 14:48:03 +01:00
davide da5339a473 Handling datasheet URLs 2018-11-13 13:50:18 +01:00
davide caf1efce0c Fixed shadow position 2018-11-13 13:37:06 +01:00
davide a222906fe2 Added datasheet URL possiblity 2018-11-13 13:36:57 +01:00
davide b3aad9a1ca Merge branch 'master' of git.elab.kth.se:davide/ELAB-partsearch 2018-11-13 08:57:17 +01:00
davide db19e86f73 Fixed location search filter 2018-11-13 08:55:44 +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
davide 501491ac9a Added file size check 2018-11-12 17:26:36 +01:00
davide 257a8d9754 Turned "search in notes" into "has docs". Added cool icons. Fixed animation of No results. 2018-11-12 14:31:31 +01:00
davide 005ea98f59 Empty results table if no results 2018-11-12 13:48:19 +01:00
davide e9b670bea8 Fixed syntax error. Minor refactoring. 2018-11-12 13:45:18 +01:00
davide 4c78533976 Added part number empty check 2018-11-11 22:30:27 +01:00
davide 240293cf01 Various small changes 2018-11-11 22:26:18 +01:00
davide 90079c70cd Removed map upper margin 2018-11-11 22:25:11 +01:00
davide 6670487ac0 Fixed minor issues 2018-11-11 20:58:08 +01:00
davide 863ce49e98 Added container dropdown. Modified container-dropdown onchange event. 2018-11-11 20:45:08 +01:00
davide 3788060c78 Fetching containers instead of locations. Fixed query and relative script for get_part_info 2018-11-11 20:27:43 +01:00
davide f072ffab4a Added new button, with style. 2018-11-11 18:26:01 +01:00
davide e25d09aa5d Removed unnecessary comments. Re-performing query on save. Hiding/showing duplicate button. Fixed text field text showing the correct thing. 2018-11-11 18:25:42 +01:00
davide 1d5eefd87b Correctly displaying location name 2018-11-11 17:31:04 +01:00
davide 20db75a8d7 Populating paragraphs on end edit. Can't add a bunch of stuff now. 2018-11-11 17:15:22 +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 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 1234bdfa14 made the map not strech and display inline with the data-table 2018-11-10 21:58:18 +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