From d25ea3d7860209b377a18082a4ce77e4372cc084 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 13 Aug 2018 21:47:11 -0400 Subject: [PATCH] LP#1772680: adjust how additional JS/CSS deps are brought in for master Signed-off-by: Galen Charlton --- Open-ILS/src/templates/opac/parts/base.tt2 | 2 +- Open-ILS/src/templates/opac/parts/ebook_api/base_js.tt2 | 2 +- Open-ILS/web/js/ui/default/staff/package.json | 4 +++- Open-ILS/web/js/ui/default/staff/webpack.config.js | 10 ++++++++-- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/base.tt2 b/Open-ILS/src/templates/opac/parts/base.tt2 index e5076a12b7..218d02eb25 100644 --- a/Open-ILS/src/templates/opac/parts/base.tt2 +++ b/Open-ILS/src/templates/opac/parts/base.tt2 @@ -27,7 +27,7 @@ [%- IF ctx.user %] - + [%- END %] diff --git a/Open-ILS/src/templates/opac/parts/ebook_api/base_js.tt2 b/Open-ILS/src/templates/opac/parts/ebook_api/base_js.tt2 index 4ab8ac47fb..4085d3bd69 100644 --- a/Open-ILS/src/templates/opac/parts/ebook_api/base_js.tt2 +++ b/Open-ILS/src/templates/opac/parts/ebook_api/base_js.tt2 @@ -93,7 +93,7 @@ dojo.addOnLoad(function() { - + [%- END %] diff --git a/Open-ILS/web/js/ui/default/staff/package.json b/Open-ILS/web/js/ui/default/staff/package.json index b516eb1431..607c99b0d4 100644 --- a/Open-ILS/web/js/ui/default/staff/package.json +++ b/Open-ILS/web/js/ui/default/staff/package.json @@ -40,12 +40,14 @@ "angular-tablesort": "^1.6.0", "angular-tree-control": "^0.2.28", "angular-ui-bootstrap": "^2.5.6", + "animate.css": "^3.7.0", "bootstrap": "^3.3.7", "iframe-resizer": "^3.5.15", "jquery": "^3.2.1", "lovefield": "^2.1.12", "moment": "^2.20.1", "moment-timezone": "^0.5.14", - "ng-toast": "^2.0.0" + "ng-toast": "^2.0.0", + "pnotify": "^3.0.0" } } diff --git a/Open-ILS/web/js/ui/default/staff/webpack.config.js b/Open-ILS/web/js/ui/default/staff/webpack.config.js index f57c80fa79..f52a1c6941 100644 --- a/Open-ILS/web/js/ui/default/staff/webpack.config.js +++ b/Open-ILS/web/js/ui/default/staff/webpack.config.js @@ -14,7 +14,10 @@ const CSS_FILES = [ 'node_modules/ng-toast/dist/ngToast-animations.min.css', 'node_modules/angular-tree-control/css/tree-control.css', 'node_modules/angular-tree-control/css/tree-control-attribute.css', - 'node_modules/angular-tablesort/tablesort.css' + 'node_modules/angular-tablesort/tablesort.css', + // needed by RBdigital integration + 'node_modules/animate.css/animate.min.css', + 'node_modules/pnotify/dist/pnotify.css' ]; const FONT_FILES = [ @@ -47,7 +50,10 @@ const JS_FILES = [ './node_modules/iframe-resizer/js/iframeResizer.min.js', // lovefield is loaded from multiple locations. Make it stand-alone // so we only need a single copy. - './node_modules/lovefield/dist/lovefield.min.js' + './node_modules/lovefield/dist/lovefield.min.js', + // needed by RBdigital integration + './node_modules/bootstrap/dist/js/bootstrap.min.js', + 'node_modules/pnotify/dist/pnotify.js' ] -- 2.11.0