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