From c5e7239625973450efee21d8e9ac8e88c0123de1 Mon Sep 17 00:00:00 2001 From: Nicolas Saillant Date: Wed, 25 Oct 2023 13:44:46 +0200 Subject: [PATCH] Reimplement carousel using bxSlider from npm --- _includes/themes/cgal/default.html | 26 +- index.html | 117 +- node_modules/.package-lock.json | 8 + node_modules/bxslider/CONTRIBUTING.md | 118 ++ node_modules/bxslider/Gulpfile.js | 58 + node_modules/bxslider/LICENSE.md | 12 + node_modules/bxslider/_config.json | 21 + node_modules/bxslider/bower.json | 28 + node_modules/bxslider/dist/LICENSE.md | 12 + node_modules/bxslider/dist/README.md | 860 +++++++++ .../bxslider/dist/images/bx_loader.gif | Bin 0 -> 8581 bytes .../bxslider/dist/images/controls.png | Bin 0 -> 2806 bytes node_modules/bxslider/dist/images/pic1.jpg | Bin 0 -> 12876 bytes node_modules/bxslider/dist/images/pic2.jpg | Bin 0 -> 126012 bytes node_modules/bxslider/dist/images/pic3.jpg | Bin 0 -> 112235 bytes node_modules/bxslider/dist/index.html | 29 + .../bxslider/dist/jquery-3.1.1.min.js | 4 + .../bxslider/dist/jquery.bxslider.css | 179 ++ node_modules/bxslider/dist/jquery.bxslider.js | 1663 +++++++++++++++++ .../bxslider/dist/jquery.bxslider.min.css | 1 + .../bxslider/dist/jquery.bxslider.min.js | 7 + .../bxslider/dist/vendor/jquery.easing.1.3.js | 205 ++ .../bxslider/dist/vendor/jquery.fitvids.js | 80 + .../bxslider/docs_src/assets/img/bx-logo.png | Bin 0 -> 10783 bytes .../docs_src/assets/img/photo1-cropped.jpeg | Bin 0 -> 254730 bytes .../bxslider/docs_src/assets/img/photo1.jpeg | Bin 0 -> 326599 bytes .../docs_src/assets/img/photo2-cropped.jpeg | Bin 0 -> 304062 bytes .../bxslider/docs_src/assets/img/photo2.jpeg | Bin 0 -> 371440 bytes .../docs_src/assets/img/photo3-cropped.jpeg | Bin 0 -> 290850 bytes .../bxslider/docs_src/assets/img/photo3.jpeg | Bin 0 -> 556742 bytes .../bxslider/docs_src/assets/img/photo4.jpeg | Bin 0 -> 329702 bytes .../bxslider/docs_src/assets/img/photo5.jpeg | Bin 0 -> 470061 bytes .../bxslider/docs_src/assets/img/photo6.jpeg | Bin 0 -> 315515 bytes .../bxslider/docs_src/assets/js/app.js | 234 +++ .../bxslider/docs_src/assets/less/docs.less | 112 ++ .../docs_src/assets/vendors/jquery.min.js | 5 + .../docs_src/assets/vendors/jquery.min.map | 1 + node_modules/bxslider/package.json | 35 + node_modules/bxslider/readme.md | 867 +++++++++ .../bxslider/src/css/jquery.bxslider.css | 179 ++ .../bxslider/src/images/bx_loader.gif | Bin 0 -> 8581 bytes node_modules/bxslider/src/images/controls.png | Bin 0 -> 2806 bytes .../bxslider/src/js/jquery.bxslider.js | 1663 +++++++++++++++++ .../bxslider/src/vendor/jquery.easing.1.3.js | 205 ++ .../bxslider/src/vendor/jquery.fitvids.js | 80 + package-lock.json | 116 ++ package.json | 1 + style.css | 138 ++ 48 files changed, 6997 insertions(+), 67 deletions(-) create mode 100644 node_modules/bxslider/CONTRIBUTING.md create mode 100644 node_modules/bxslider/Gulpfile.js create mode 100644 node_modules/bxslider/LICENSE.md create mode 100644 node_modules/bxslider/_config.json create mode 100644 node_modules/bxslider/bower.json create mode 100644 node_modules/bxslider/dist/LICENSE.md create mode 100644 node_modules/bxslider/dist/README.md create mode 100644 node_modules/bxslider/dist/images/bx_loader.gif create mode 100644 node_modules/bxslider/dist/images/controls.png create mode 100644 node_modules/bxslider/dist/images/pic1.jpg create mode 100644 node_modules/bxslider/dist/images/pic2.jpg create mode 100644 node_modules/bxslider/dist/images/pic3.jpg create mode 100644 node_modules/bxslider/dist/index.html create mode 100644 node_modules/bxslider/dist/jquery-3.1.1.min.js create mode 100644 node_modules/bxslider/dist/jquery.bxslider.css create mode 100644 node_modules/bxslider/dist/jquery.bxslider.js create mode 100644 node_modules/bxslider/dist/jquery.bxslider.min.css create mode 100644 node_modules/bxslider/dist/jquery.bxslider.min.js create mode 100644 node_modules/bxslider/dist/vendor/jquery.easing.1.3.js create mode 100644 node_modules/bxslider/dist/vendor/jquery.fitvids.js create mode 100644 node_modules/bxslider/docs_src/assets/img/bx-logo.png create mode 100644 node_modules/bxslider/docs_src/assets/img/photo1-cropped.jpeg create mode 100644 node_modules/bxslider/docs_src/assets/img/photo1.jpeg create mode 100644 node_modules/bxslider/docs_src/assets/img/photo2-cropped.jpeg create mode 100644 node_modules/bxslider/docs_src/assets/img/photo2.jpeg create mode 100644 node_modules/bxslider/docs_src/assets/img/photo3-cropped.jpeg create mode 100644 node_modules/bxslider/docs_src/assets/img/photo3.jpeg create mode 100644 node_modules/bxslider/docs_src/assets/img/photo4.jpeg create mode 100644 node_modules/bxslider/docs_src/assets/img/photo5.jpeg create mode 100644 node_modules/bxslider/docs_src/assets/img/photo6.jpeg create mode 100644 node_modules/bxslider/docs_src/assets/js/app.js create mode 100644 node_modules/bxslider/docs_src/assets/less/docs.less create mode 100644 node_modules/bxslider/docs_src/assets/vendors/jquery.min.js create mode 100644 node_modules/bxslider/docs_src/assets/vendors/jquery.min.map create mode 100644 node_modules/bxslider/package.json create mode 100644 node_modules/bxslider/readme.md create mode 100644 node_modules/bxslider/src/css/jquery.bxslider.css create mode 100644 node_modules/bxslider/src/images/bx_loader.gif create mode 100644 node_modules/bxslider/src/images/controls.png create mode 100644 node_modules/bxslider/src/js/jquery.bxslider.js create mode 100644 node_modules/bxslider/src/vendor/jquery.easing.1.3.js create mode 100644 node_modules/bxslider/src/vendor/jquery.fitvids.js create mode 100644 package-lock.json diff --git a/_includes/themes/cgal/default.html b/_includes/themes/cgal/default.html index e65cefece..9ef3448ab 100644 --- a/_includes/themes/cgal/default.html +++ b/_includes/themes/cgal/default.html @@ -15,6 +15,7 @@ + @@ -142,10 +143,27 @@

{{ page.title }} {% if page.tagline %} {{ page.tagline }}{% e - - - - + + diff --git a/index.html b/index.html index 667edbd8a..d3efe9ed1 100644 --- a/index.html +++ b/index.html @@ -4,77 +4,68 @@ tagline: --- {% include JB/setup %} - - -
-
-
    - -
  • -

    Boolean Operations

    -

    CGAL::corefine_and_compute_boolean_operations(statue, container);

    -
  • - -
  • -

    Wrapping

    -

    CGAL::alpha_wrap();

    +
    +
    + +
      +
    • +

      Boolean Operations

      +

      +
      CGAL::corefine_and_compute_boolean_operations(statue, container);
      +

    • - -
    • -

      Triangulations

      -

      CGAL::make_triangulation();

      -
    • - -
    • -

      Axis Aligned Bounding Box Tree

      -

      CGAL::AABB_tree tree(faces(surface_mesh));

      +
    • +

      Wrapping

      +

      +
      CGAL::alpha_wrap();
      +

    • - -
    • -

      The Heat Method

      -

      CGAL::Heat_method_3::estimate_geodesic_distances();

      +
    • +

      Triangulations

      +

      +
      CGAL::make_triangulation();
      +

    • - -
    • -

      Mesh Segmentation

      -

      CGAL::sdf_values(surface_mesh);

      +
    • +

      Axis Aligned Bounding Box Tree

      +

      +
      CGAL::AABB_tree tree(faces(surface_mesh));
      +

    • - -
    • -

      Classification

      -

      CGAL::Classification::classify(las_points);

      +
    • +

      The Heat Method

      +

      +
      CGAL::Heat_method_3::estimate_geodesic_distances();
      +

    • - -
    • -

      Periodic Mesh Generation

      -

      CGAL::Periodic_tet_mesh mesh = CGAL::make_periodic_mesh();

      +
    • +

      Mesh Segmentation

      +

      +
      CGAL::sdf_values(surface_mesh);
      +

    • - - - -
    -
    -
      -
    • 1
    • -
    • 2
    • -
    • 3
    • -
    • 4
    • -
    • 5
    • -
    • 6
    • -
    • 7
    • -
    • 8
    • -
    +
    + + + + + + + +
    @@ -190,4 +181,4 @@

    Previous Releases

Older releases...
-
+ \ No newline at end of file diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 6400bfbeb..ad0e050b0 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -40,6 +40,14 @@ "streamqueue": "^0.1.1" } }, + "node_modules/bxslider": { + "version": "4.2.14", + "resolved": "https://registry.npmjs.org/bxslider/-/bxslider-4.2.14.tgz", + "integrity": "sha512-7/OV7Jxe8yBS/7tOcxg2hYTPmACFMU1rRs3xqoljjFX/rSgMFVX0dzFqxZHWvUgl0+9TryNy5vhufB/499heFQ==", + "engines": { + "node": ">=0.10.28" + } + }, "node_modules/core-util-is": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", diff --git a/node_modules/bxslider/CONTRIBUTING.md b/node_modules/bxslider/CONTRIBUTING.md new file mode 100644 index 000000000..3acf1f2c3 --- /dev/null +++ b/node_modules/bxslider/CONTRIBUTING.md @@ -0,0 +1,118 @@ +# Contributing to this project + +Please take a moment to review this document in order to make the contribution +process easy and effective for everyone involved. + +Following these guidelines helps to communicate that you respect the time of +the developers managing and developing this open source project. In return, +they should reciprocate that respect in addressing your issue or assessing +patches and features. + + +## Using the issue tracker + +The issue tracker is the preferred channel for [bug reports](#bugs), +[features requests](#features) and [submitting pull +requests](#pull-requests), but please respect the following restrictions: + +* Please **do not** use the issue tracker for personal support requests. + +* Please **do not** derail or troll issues. Keep the discussion on topic and + respect the opinions of others. + + + +## Bug reports + +A bug is a _demonstrable problem_ that is caused by the code in the repository. +Good bug reports are extremely helpful - thank you! + +Guidelines for bug reports: + +1. **Use the GitHub issue search** — check if the issue has already been + reported. + +2. **Check if the issue has been fixed** — try to reproduce it using the + latest `master` or development branch in the repository. + +3. **Isolate the problem** — make sure that the code in the repository is +_definitely_ responsible for the issue. + +A good bug report shouldn't leave others needing to chase you up for more +information. Please try to be as detailed as possible in your report. Examples are +important, please try to provide them. + + + +## Feature requests + +Feature requests are welcome. But take a moment to find out whether your idea +fits with the scope and aims of the project. It's up to *you* to make a strong +case to convince the developers of the merits of this feature. Please +provide as much detail and context as possible. + + + +## Pull requests + +Good pull requests - patches, improvements, new features - are a fantastic +help. They should remain focused in scope and avoid containing unrelated +commits. + +**Please ask first** before embarking on any significant pull request (e.g. +implementing features, refactoring code), otherwise you risk spending a lot of +time working on something that the developers might not want to merge into the +project. + +Please adhere to the coding conventions used throughout the project (indentation, +comments, etc.). + +Adhering to the following this process is the best way to get your work +merged: + +1. [Fork](http://help.github.com/fork-a-repo/) the repo, clone your fork, + and configure the remotes: + + ```bash + # Clone your fork of the repo into the current directory + git clone https://github.com// + # Navigate to the newly cloned directory + cd + # Assign the original repo to a remote called "upstream" + git remote add upstream https://github.com// + ``` + +2. If you cloned a while ago, get the latest changes from upstream: + + ```bash + git checkout + git pull upstream + ``` + +3. Create a new topic branch (off the main project development branch) to + contain your feature, change, or fix: + + ```bash + git checkout -b + ``` + +4. Commit your changes in logical chunks. Please adhere to these [git commit + message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) + or your code is unlikely be merged into the main project. Use Git's + [interactive rebase](https://help.github.com/articles/interactive-rebase) + feature to tidy up your commits before making them public. + +5. Locally merge (or rebase) the upstream development branch into your topic branch: + + ```bash + git pull [--rebase] upstream + ``` + +6. Push your topic branch up to your fork: + + ```bash + git push origin + ``` + +10. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) + with a clear title and description. diff --git a/node_modules/bxslider/Gulpfile.js b/node_modules/bxslider/Gulpfile.js new file mode 100644 index 000000000..01c228ea0 --- /dev/null +++ b/node_modules/bxslider/Gulpfile.js @@ -0,0 +1,58 @@ +var gulp = require('gulp') +var uglify = require('gulp-uglify'); +var cssmin = require('gulp-cssmin'); +var rename = require('gulp-rename'); + +gulp.task('js-minify', function () { + gulp.src('./src/js/jquery.bxslider.js') + .pipe(uglify({ + preserveComments: 'license' + })) + .pipe(rename({ suffix: '.min' })) + .pipe(gulp.dest('./dist')); +}); + +gulp.task('js-copy-src', function () { + gulp.src('./src/js/jquery.bxslider.js') + .pipe(gulp.dest('./dist')); +}); + +gulp.task('css-minify', function () { + gulp.src('./src/css/jquery.bxslider.css') + .pipe(cssmin()) + .pipe(rename({ suffix: '.min' })) + .pipe(gulp.dest('./dist')); +}); + +gulp.task('css-copy-src', function () { + gulp.src('./src/css/jquery.bxslider.css') + .pipe(gulp.dest('./dist')); +}); + +gulp.task('vendor-copy-src', function () { + gulp.src('./src/vendor/*') + .pipe(gulp.dest('./dist/vendor')); +}); + +gulp.task('images-copy-src', function () { + gulp.src('./src/images/*') + .pipe(gulp.dest('./dist/images')); +}); + +gulp.task('docs-copy-src', function () { + gulp.src([ + './readme.md', + './LICENSE.md' + ]) + .pipe(gulp.dest('./dist')); +}); + +gulp.task('default', [ + 'js-minify', + 'js-copy-src', + 'css-minify', + 'css-copy-src', + 'vendor-copy-src', + 'images-copy-src', + 'docs-copy-src' +]); diff --git a/node_modules/bxslider/LICENSE.md b/node_modules/bxslider/LICENSE.md new file mode 100644 index 000000000..c117d6d3f --- /dev/null +++ b/node_modules/bxslider/LICENSE.md @@ -0,0 +1,12 @@ +License +------- + +The MIT License (MIT) + +Copyright © 2014 [Steven Wanderski](https://twitter.com/stevenwanderski) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/bxslider/_config.json b/node_modules/bxslider/_config.json new file mode 100644 index 000000000..4e911833a --- /dev/null +++ b/node_modules/bxslider/_config.json @@ -0,0 +1,21 @@ +{ + "docs":{ + "src": "docs_src", + "dest": "docs", + "templates":"<%= app.docs.src %>/templates", + "pages": "<%= app.docs.templates %>/pages", + "layouts": "<%= app.docs.templates %>/layouts" + }, + + "src":{ + "dist": "dist", + + "scripts": [ + "src/js/jquery.bxslider.js" + ] + }, + + "title": "bxSlider", + "download": "https://github.com/stevenwanderski/bxslider-4/archive/master.zip", + "donate": "http://www.bxslider.com" +} diff --git a/node_modules/bxslider/bower.json b/node_modules/bxslider/bower.json new file mode 100644 index 000000000..d63dd2105 --- /dev/null +++ b/node_modules/bxslider/bower.json @@ -0,0 +1,28 @@ +{ + "name": "bxslider-4", + "homepage": "http://bxslider.com", + "license": "MIT", + "main": [ + "dist/jquery.bxslider.js", + "dist/jquery.bxslider.css", + "dist/images/bx_loader.gif", + "dist/images/controls.png" + ], + "ignore": [ + "docs_src/*", + "docs/*" + ], + "keywords": [ + "bxslider", + "javascript", + "jquery", + "library" + ], + "dependencies": { + "jquery": ">= 1.8.3" + }, + "devDependencies": { + "bootstrap": ">= 3.3.2", + "highlightjs": "~8.4.0" + } +} diff --git a/node_modules/bxslider/dist/LICENSE.md b/node_modules/bxslider/dist/LICENSE.md new file mode 100644 index 000000000..c117d6d3f --- /dev/null +++ b/node_modules/bxslider/dist/LICENSE.md @@ -0,0 +1,12 @@ +License +------- + +The MIT License (MIT) + +Copyright © 2014 [Steven Wanderski](https://twitter.com/stevenwanderski) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/bxslider/dist/README.md b/node_modules/bxslider/dist/README.md new file mode 100644 index 000000000..6df1a3ee6 --- /dev/null +++ b/node_modules/bxslider/dist/README.md @@ -0,0 +1,860 @@ +# bxSlider 4.2.14 +## The fully-loaded, responsive jQuery content slider + +### Why should I use this slider? +* Fully responsive - will adapt to any device +* Horizontal, vertical, and fade modes +* Slides can contain images, video, or HTML content +* Full callback API and public methods +* Small file size, fully themed, simple to implement +* Browser support: Firefox, Chrome, Safari, iOS, Android, IE7+ +* Tons of configuration options + +For complete documentation, tons of examples, and a good time, visit: [http://bxslider.com](http://bxslider.com) + +Written by: Steven Wanderski - [http://stevenwanderski.com](http://stevenwanderski.com) + +### License +Released under the MIT license - http://opensource.org/licenses/MIT + +Let's get on with it! + +## Installation + +### Step 1: Link required files + +First and most important, the jQuery library needs to be included (no need to download - link directly from Google). Next, download the package from this site and link the bxSlider CSS file (for the theme) and the bxSlider Javascript file. + +```html + + + + + + +``` + +### Step 2: Create HTML markup + +Create a `