js: use npm instead of bower 95/69695/1
authorJeremy Plsek <jplsek@iol.unh.edu>
Fri, 20 Dec 2019 15:50:41 +0000 (10:50 -0500)
committerJeremy Plsek <jplsek@iol.unh.edu>
Mon, 17 Feb 2020 21:01:03 +0000 (16:01 -0500)
commitd63a08e56716358ea4daa30d3050fa01df65a837
tree10873a809c29492efcc1988cc65ccf8cf054f7e7
parent80f9bb0bb514133363bd0a40edb8b10ddb8d3a51
js: use npm instead of bower

Bower is considered deprecated, so switch to npm.

- Update all dependencies
- Use npm's version of mxgraph
- Use npm's version of jquery
- Use npm's version of plotly
- Fix mxgraph to use styles and images from the correct location
- Removed random csrf token input in nav bar and use js to get csrf
token
- Remove all calendar and some resource files since they were not used

Change-Id: I30d6bd91cded9547caa4c0a5247cd9f214fe9798
Signed-off-by: Jeremy Plsek <jplsek@iol.unh.edu>
84 files changed:
.gitignore
docker-compose.override-dev.yml
src/static/css/base.css
src/static/img/mxgraph/add.png [deleted file]
src/static/img/mxgraph/button.gif [deleted file]
src/static/img/mxgraph/camera.png [deleted file]
src/static/img/mxgraph/check.png [deleted file]
src/static/img/mxgraph/close.gif [deleted file]
src/static/img/mxgraph/close.png [deleted file]
src/static/img/mxgraph/collapsed.gif [deleted file]
src/static/img/mxgraph/connector.gif [deleted file]
src/static/img/mxgraph/copy.png [deleted file]
src/static/img/mxgraph/cut.png [deleted file]
src/static/img/mxgraph/delete2.png [deleted file]
src/static/img/mxgraph/dot.gif [deleted file]
src/static/img/mxgraph/error.gif [deleted file]
src/static/img/mxgraph/expanded.gif [deleted file]
src/static/img/mxgraph/export1.png [deleted file]
src/static/img/mxgraph/fit_to_size.png [deleted file]
src/static/img/mxgraph/gradient_background.jpg [deleted file]
src/static/img/mxgraph/green-dot.gif [deleted file]
src/static/img/mxgraph/group.png [deleted file]
src/static/img/mxgraph/handle-connect.png [deleted file]
src/static/img/mxgraph/handle-main.png [deleted file]
src/static/img/mxgraph/icons48/column.png [deleted file]
src/static/img/mxgraph/icons48/earth.png [deleted file]
src/static/img/mxgraph/icons48/gear.png [deleted file]
src/static/img/mxgraph/icons48/keys.png [deleted file]
src/static/img/mxgraph/icons48/mail_new.png [deleted file]
src/static/img/mxgraph/icons48/server.png [deleted file]
src/static/img/mxgraph/icons48/table.png [deleted file]
src/static/img/mxgraph/key.png [deleted file]
src/static/img/mxgraph/loading.gif [deleted file]
src/static/img/mxgraph/maximize.gif [deleted file]
src/static/img/mxgraph/minimize.gif [deleted file]
src/static/img/mxgraph/navigate_minus.png [deleted file]
src/static/img/mxgraph/navigate_plus.png [deleted file]
src/static/img/mxgraph/normalize.gif [deleted file]
src/static/img/mxgraph/paste.png [deleted file]
src/static/img/mxgraph/plus.png [deleted file]
src/static/img/mxgraph/point.gif [deleted file]
src/static/img/mxgraph/press32.png [deleted file]
src/static/img/mxgraph/print32.png [deleted file]
src/static/img/mxgraph/printer.png [deleted file]
src/static/img/mxgraph/redo.png [deleted file]
src/static/img/mxgraph/resize.gif [deleted file]
src/static/img/mxgraph/separator.gif [deleted file]
src/static/img/mxgraph/sidebar_bg.gif [deleted file]
src/static/img/mxgraph/spacer.gif [deleted file]
src/static/img/mxgraph/submenu.gif [deleted file]
src/static/img/mxgraph/toolbar_bg.gif [deleted file]
src/static/img/mxgraph/transparent.gif [deleted file]
src/static/img/mxgraph/undo.png [deleted file]
src/static/img/mxgraph/view_1_1.png [deleted file]
src/static/img/mxgraph/view_1_132.png [deleted file]
src/static/img/mxgraph/view_next.png [deleted file]
src/static/img/mxgraph/view_previous.png [deleted file]
src/static/img/mxgraph/warning.gif [deleted file]
src/static/img/mxgraph/warning.png [deleted file]
src/static/img/mxgraph/window-title.gif [deleted file]
src/static/img/mxgraph/window.gif [deleted file]
src/static/img/mxgraph/wires-grid.gif [deleted file]
src/static/img/mxgraph/zoom_in.png [deleted file]
src/static/img/mxgraph/zoom_in32.png [deleted file]
src/static/img/mxgraph/zoom_out.png [deleted file]
src/static/img/mxgraph/zoom_out32.png [deleted file]
src/static/js/booking-calendar.js [deleted file]
src/static/js/dashboard.js
src/static/js/dataTables-sort.js [deleted file]
src/static/js/datetimepicker-options.js [deleted file]
src/static/js/fullcalendar-options.js [deleted file]
src/static/js/mxClient.min.js [deleted file]
src/static/package-lock.json [new file with mode: 0644]
src/static/package.json [new file with mode: 0644]
src/templates/base/base.html
src/templates/base/booking/booking_list.html
src/templates/base/booking/stats.html
src/templates/base/config_bundle/steps/table_formset.html
src/templates/base/dashboard/table.html
src/templates/base/layout.html
src/templates/base/resource/steps/pod_definition.html
src/templates/base/workflow/viewport-base.html
tests/karma.conf.js
web/Dockerfile