diff --git a/meteor_packages/mats-common/client/main.js b/meteor_packages/mats-common/client/main.js index 35d6245d9..e95de796a 100644 --- a/meteor_packages/mats-common/client/main.js +++ b/meteor_packages/mats-common/client/main.js @@ -8,3 +8,11 @@ import '../imports/startup/client'; import '../imports/startup/both'; +import '@popperjs/core'; +import 'bootstrap'; +import 'bootstrap/dist/css/bootstrap.css'; +import 'bootstrap/dist/css/bootstrap-grid.css'; +import 'bootstrap/dist/css/bootstrap-reboot.css'; +import 'bootstrap/dist/css/bootstrap-utilities.css'; +import 'jquery'; +import 'daterangepicker'; \ No newline at end of file diff --git a/meteor_packages/mats-common/package.js b/meteor_packages/mats-common/package.js index 784b03def..b2f7af337 100644 --- a/meteor_packages/mats-common/package.js +++ b/meteor_packages/mats-common/package.js @@ -15,16 +15,19 @@ Package.describe({ }); Package.onUse(function (api) { - api.versionsFrom('1.4.1.1'); + api.versionsFrom('2.3.5'); Npm.depends({ 'fs-extra': '7.0.0', - "@babel/runtime": "7.10.4", "meteor-node-stubs": "0.4.1", "url": "0.11.0", "jquery-ui": "1.12.1", "csv-stringify": "4.3.1", "node-file-cache" : "1.0.2", - "python-shell": "1.0.8" + "python-shell": "1.0.8", + "daterangepicker": "3.1.0", + "@popperjs/core": "2.9.3", + "bootstrap": "5.1.0", + "jquery": "3.6.0" }); api.mainModule("server/main.js", "server"); api.mainModule("client/main.js", "client"); @@ -40,11 +43,11 @@ Package.onUse(function (api) { api.use("accounts-ui", 'client'); api.use("service-configuration", 'server'); api.use("yasinuslu:json-view", "client"); - api.use("dangrossman:bootstrap-daterangepicker"); + // api.use("dangrossman:bootstrap-daterangepicker"); // This needs to be an npm dependency api.use("mdg:validated-method"); api.use('session'); api.imply('session'); - api.use("twbs:bootstrap"); + // api.use("twbs:bootstrap"); api.use("fortawesome:fontawesome"); api.use("msavin:mongol"); api.use("differential:event-hooks"); @@ -79,6 +82,7 @@ Package.onUse(function (api) { api.export("regression", ['client', 'server']); api.export("matsCache", ['server']); + // add imports //both api.addFiles('imports/startup/both/index.js'); diff --git a/meteor_packages/mats-common/templates/footer.html b/meteor_packages/mats-common/templates/footer.html index 04960126f..fa606fef6 100644 --- a/meteor_packages/mats-common/templates/footer.html +++ b/meteor_packages/mats-common/templates/footer.html @@ -1,29 +1,39 @@ - - - - - Toggle navigation - - - - - - - - {{>version}} - NOAA Privacy Statement - - Web Accessibility Statement - - Disclaimer for External Links - - NOAA - - {{#if isMetexpress}} - U.S. Department of Commerce - {{else}} - U.S. Department of Commerce - - NOAA Research - {{/if}} - - - + + + + + Toggle navigation + + + + + + + + {{>version}} + NOAA Privacy + Statement - + + Web + Accessibility + Statement - + Disclaimer for + External + Links - + NOAA - + {{#if isMetexpress}} + U.S. Department of Commerce + + {{else}} + U.S. Department of Commerce + - + NOAA Research + {{/if}} + + + - diff --git a/meteor_packages/mats-common/templates/topnav/top_nav.html b/meteor_packages/mats-common/templates/topnav/top_nav.html index 0e95747db..88e43ebb7 100644 --- a/meteor_packages/mats-common/templates/topnav/top_nav.html +++ b/meteor_packages/mats-common/templates/topnav/top_nav.html @@ -1,28 +1,30 @@ - + - + Toggle navigation - + - U.S. Department of Commerce - National Oceanic and Atmospheric Administration + U.S. Department of + Commerce + National Oceanic and Atmospheric + Administration {{#unless isMetexpress}} - NOAA Research + NOAA Research {{/unless}} @@ -31,50 +33,53 @@ - + - + Toggle navigation - + src="{{transparentGif}}" alt="NOAA"> - + - {{agencyText}} - {{productText}} + {{agencyText}} + {{productText}} - {{bugsText}} - Home - About - Contact Us + {{bugsText}} + Home + About + Contact Us {{#unless isMetexpress}} + class="container-fluid"> GSL Modeling {{/unless}} -