164 Commits (master)

Author SHA1 Message Date
Davide Bongiovanni 7e1f59f781 Delete button now deletes only once.
6 years ago
Marek Baczynski 4649723f87 Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch
6 years ago
Marek Baczynski 0b64c50f36 fixed links for the locationEditor
6 years ago
Davide Bongiovanni 597898885b Re-inserted auth requirements
6 years ago
Davide Bongiovanni 55033f7295 Fixed static files paths. 4real
6 years ago
Davide Bongiovanni 8d1237011a Corrected static folder location
6 years ago
Davide Bongiovanni 70401139f9 Fixed parenthesis issue
6 years ago
Davide Bongiovanni 4429a2a4f6 Merge branch 'master' of git.elab.kth.se:davide/ELAB-partsearch
6 years ago
Davide Bongiovanni 725d2b0cdd Deleted some old code
6 years ago
Davide Bongiovanni 3793f4a865 Added notes feature
6 years ago
Marek Baczynski e3f25e76f2 added tracking of who added which part; requires database update though.
6 years ago
Davide Bongiovanni d6f0421b9f Returning notes in query
6 years ago
Marek Baczynski e5f6341d4e Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch
6 years ago
Marek Baczynski c29d0af836 main results table width limited
6 years ago
Davide Bongiovanni 383bf4d220 Merge branch 'master' of git.elab.kth.se:davide/ELAB-partsearch
6 years ago
Davide Bongiovanni 1e8576af1c Removed margin from part details
6 years ago
Marek Baczynski c0f0fd732f Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch
6 years ago
Marek Baczynski b871e98cbb removed the key file from the repo, so it doesn't get overwritten
6 years ago
Davide Bongiovanni db55a5769e Merge branch 'master' of git.elab.kth.se:davide/ELAB-partsearch
6 years ago
Davide Bongiovanni 0e949dff50 Minor style adjustments
6 years ago
Marek Baczynski ad643464cb octopart search added. note: the API key is NOT included in the public repo, for obvious reasons.
6 years ago
Davide Bongiovanni 4541fab34e Removed debug prints
6 years ago
Davide Bongiovanni 50e4903a30 Check if user has selected a location
6 years ago
Davide Bongiovanni d65de687d8 Opening datasheet in new tab
6 years ago
Davide Bongiovanni afecca7172 Appending datasheet url to form data
6 years ago
Davide Bongiovanni 623770091b Fixed not retrieving correctly the location_id
6 years ago
Davide Bongiovanni 7098d19225 Fixed datsheet info upload check. NOW WITH TRY-CATCH!
6 years ago
Davide Bongiovanni 08b8646374 Minor style adjustments
6 years ago
Davide Bongiovanni 590701fe22 Typo
6 years ago
Davide Bongiovanni da5339a473 Handling datasheet URLs
6 years ago
Davide Bongiovanni caf1efce0c Fixed shadow position
6 years ago
Davide Bongiovanni a222906fe2 Added datasheet URL possiblity
6 years ago
Davide Bongiovanni c568635f60 Removed has docs filter
6 years ago
Davide Bongiovanni b3aad9a1ca Merge branch 'master' of git.elab.kth.se:davide/ELAB-partsearch
6 years ago
Davide Bongiovanni db19e86f73 Fixed location search filter
6 years ago
Marek Baczynski 4f1e51e7bd made the site a little better looking on any mobile phone that is exactly my iphone.
6 years ago
Marek Baczynski 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.
6 years ago
Marek Baczynski d1bd2aa0ec Locations can now be deleted. I have created you, now I can destroy you!
6 years ago
Marek Baczynski 954b449757 location editor can now be used to edit locations. And add them!
6 years ago
Marek Baczynski a99a356985 hiding overlay is more reliable
6 years ago
Marek Baczynski 44adb43466 made /parts/ work in URL just as well as /parts
6 years ago
Davide Bongiovanni c886f2e860 Merge branch 'master' of git.elab.kth.se:davide/ELAB-partsearch
6 years ago
Davide Bongiovanni 501491ac9a Added file size check
6 years ago
Davide Bongiovanni 257a8d9754 Turned "search in notes" into "has docs". Added cool icons. Fixed animation of No results.
6 years ago
Davide Bongiovanni 005ea98f59 Empty results table if no results
6 years ago
Davide Bongiovanni e9b670bea8 Fixed syntax error. Minor refactoring.
6 years ago
Marek Baczynski 846b7297ce location editor lists the new style of locations. Actual adding/editing locations coming soon.
6 years ago
Marek Baczynski 777942aeaa removed placeholder vault.png, resized "HERE" pointer
6 years ago
Marek Baczynski 2ce132868c fixed saving the location_id instead of container_id when adding or editing a part
6 years ago
Marek Baczynski 694310a733 TEMPORARY disabled datasheet posting, because otherwise could not test other related functionality
6 years ago
Marek Baczynski 42fb09f89b ALL the maps and overlays! Please don't move any furniture in lab nao.
6 years ago
Davide Bongiovanni 4c78533976 Added part number empty check
6 years ago
Davide Bongiovanni 240293cf01 Various small changes
6 years ago
Davide Bongiovanni 95fe77ce16 Gave class to dropdown
6 years ago
Davide Bongiovanni 90079c70cd Removed map upper margin
6 years ago
Davide Bongiovanni 6670487ac0 Fixed minor issues
6 years ago
Davide Bongiovanni 2efb06ef3c Merge branch 'master' of git.elab.kth.se:davide/ELAB-partsearch
6 years ago
Davide Bongiovanni 863ce49e98 Added container dropdown. Modified container-dropdown onchange event.
6 years ago
Marek Baczynski 9c80db4943 Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch
6 years ago
Marek Baczynski 0fdcd100ff maps with container overlays
6 years ago
Marek Baczynski c4ca575ca1 new maps
6 years ago
Davide Bongiovanni 3788060c78 Fetching containers instead of locations. Fixed query and relative script for get_part_info
6 years ago
Marek Baczynski d31799b3aa endpoint for listing locations in a given container
6 years ago
Marek Baczynski 5df74f1276 Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch
6 years ago
Marek Baczynski 7c1fd24cb0 location containers part 1. Mostly broken.
6 years ago
Davide Bongiovanni f072ffab4a Added new button, with style.
6 years ago
Davide Bongiovanni e25d09aa5d Removed unnecessary comments. Re-performing query on save. Hiding/showing duplicate button. Fixed text field text showing the correct thing.
6 years ago
Davide Bongiovanni a40748d0b2 Fixed deleting
6 years ago
Davide Bongiovanni 1d5eefd87b Correctly displaying location name
6 years ago
Davide Bongiovanni 20db75a8d7 Populating paragraphs on end edit. Can't add a bunch of stuff now.
6 years ago
Davide Bongiovanni a0a090b5c0 Server returns id of added/modified part. Removed authentication for now.
6 years ago
Davide Bongiovanni c1874759e2 Fixed modify part not working
6 years ago
Marek Baczynski 2029ef5aeb made location listing part of the template, rather than an unnecesary AJAX request + secret sauce sorting
6 years ago
Marek Baczynski fd4f29ca7d temporary placeholder map for the VAULT. Hopefully just temporary and won't stay forever.
6 years ago
Marek Baczynski 00a2d6f070 location editor (MVP - can only add locations)
6 years ago
Marek Baczynski d131bcede6 removed a temporary test file and script relating to it
6 years ago
Marek Baczynski 3518c04c09 split script.js into a "common.js" that is useful for other pages and regular "script.js" for only the main page
6 years ago
Marek Baczynski 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"
6 years ago
Marek Baczynski 513cc34bdd removed alpha channel from map before sending, to further reduce bandwidth abuse
6 years ago
Marek Baczynski 1234bdfa14 made the map not strech and display inline with the data-table
6 years ago
Marek Baczynski 2813481da4 updated map with chairs, so we can sit comfortably. Also reduced size
6 years ago
Marek Baczynski f8301552c4 made all parts relative with a global rootURL variable, for easy server deployment
6 years ago
Davide Bongiovanni 0459cbdff0 Merge branch 'master' of git.elab.kth.se:davide/ELAB-partsearch
6 years ago
Davide Bongiovanni cf97254ff0 Modified save command. Added onchange for dropdown list
6 years ago
Davide Bongiovanni bd3715888a Added uonchange event to dropdown list
6 years ago
Davide Bongiovanni bf37ea8c5c Modified query to match new database
6 years ago
Marek Baczynski 4d6ef6a07b locations are returned alphabetically
6 years ago
Davide Bongiovanni d2e6e2de7c Merge branch 'master' of git.elab.kth.se:davide/ELAB-partsearch
6 years ago
Davide Bongiovanni c1f36483ba Whatevs
6 years ago
Marek Baczynski b8b014f314 Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch
6 years ago
Marek Baczynski 2b481df94c endpoint for getting a map for a given location ID /parts/getlocationURL/<id>
6 years ago
Davide Bongiovanni cafe2f0914 Fixed locations query
6 years ago
Davide Bongiovanni 3fb61c0cbd Merge branch 'master' of git.elab.kth.se:davide/ELAB-partsearch
6 years ago
Davide Bongiovanni 3f709d6628 Populating dropdown from API
6 years ago
Davide Bongiovanni 1cefbfb744 Added input elements
6 years ago
Marek Baczynski dadab62e9e endpoint for listing locations
6 years ago
Marek Baczynski 7d5d5bb3b4 Merge branch 'master' of https://git.elab.kth.se/davide/ELAB-partsearch
6 years ago
Marek Baczynski 04d10120da map X Y coordinate generator for making new locations
6 years ago
Davide Bongiovanni b2da26910f Merge branch 'master' of git.elab.kth.se:davide/ELAB-partsearch
6 years ago
Davide Bongiovanni 43e7a00a58 Added datasheet download button
6 years ago