From a5bb727bba7e0ecd2b2f9d6dc27ff76b4bb97091 Mon Sep 17 00:00:00 2001 From: jordanbreen28 Date: Fri, 29 Sep 2023 11:19:51 +0100 Subject: [PATCH] (maint) - Remove unused files/directories --- .../jquery-scrollTo/demo/css/style.css | 150 ----- .../jquery-scrollTo/demo/css/style.old.css | 69 --- .../plugins/jquery-scrollTo/demo/index.html | 252 -------- .../jquery-scrollTo/demo/index.old.html | 128 ---- .../plugins/lightbox/examples/index.html | 561 ------------------ .../lightbox/examples/remote/page1.html | 9 - .../lightbox/examples/remote/page2.html | 9 - .../lightbox/examples/remote/readme.md | 1 - 8 files changed, 1179 deletions(-) delete mode 100755 docs/assets/plugins/jquery-scrollTo/demo/css/style.css delete mode 100755 docs/assets/plugins/jquery-scrollTo/demo/css/style.old.css delete mode 100755 docs/assets/plugins/jquery-scrollTo/demo/index.html delete mode 100755 docs/assets/plugins/jquery-scrollTo/demo/index.old.html delete mode 100755 docs/assets/plugins/lightbox/examples/index.html delete mode 100755 docs/assets/plugins/lightbox/examples/remote/page1.html delete mode 100755 docs/assets/plugins/lightbox/examples/remote/page2.html delete mode 100755 docs/assets/plugins/lightbox/examples/remote/readme.md diff --git a/docs/assets/plugins/jquery-scrollTo/demo/css/style.css b/docs/assets/plugins/jquery-scrollTo/demo/css/style.css deleted file mode 100755 index 071a450e6..000000000 --- a/docs/assets/plugins/jquery-scrollTo/demo/css/style.css +++ /dev/null @@ -1,150 +0,0 @@ -body{ - padding:5px; - height:1600px; - font-family: Verdana, sans-serif; - background-color: #DDD; -} -ul,li,h1,h2,h3,h4,p{ - list-style:none; - padding:0; - margin:0; -} -.part{ - border:1px solid black; - background-color:white; -} - .part h3, - .part h4, - .part h4 a { - color:#933; - } -#toc{ - display:block; - padding:10px; - position:relative; - margin:15px 0; - float:left; - width:305px; -} - #toc h3{ - padding-bottom:10px; - } - #toc h3 strong{ - font-size:13px; - color:black; - } -#links{ - border:1px solid black; - width:210px; - padding:10px; - float:right; - margin-top:-30px; -} - #links h3{ - color:#933; - } - #links ul{ - padding: 8px 0 3px 20px; - } - #links li{ - list-style-type:circle; - } - #links a{ - color:#69C; - } - - #toc li, #links li{ - list-style-type:circle; - padding-left:5px; - margin-left:15px; - } - #toc a{ - color:#69C; - } -.section{ - border:1px black solid; - width:950px; - padding:10px; - margin: 5px 0; - position:relative; - clear:both; -} - .section h3{ - margin-bottom:10px; - margin-left: 8px; - } - .section h4{ - margin:10px 0 10px 8px; - } - .section li{ - float:left; - } - .pane{ - overflow:auto; - clear:left; - margin: 10px 0 0 10px; - position:relative; - width:826px; - height:322px; - } -ul.elements{ - background-color:#5B739C; -} - ul.elements li{ - width:200px; - height:100px; - font-weight:bolder; - border:1px black solid; - text-align:center; - padding:50px; - position:relative; - background-color:#DDD; - } - ul.elements li a{ - bottom:20px; - color:#933; - font-size:12px; - left:125px; - position:absolute; - } - ul.elements li p{ - color:#666; - } - #pane-settings ul.elements li{ - margin:5px; - } - #pane-settings{ - margin-bottom:10px; - } -ul.links{ - height:20px; - overflow:hidden; - padding-left: 5px; -} - ul.links a{ - color:#69C; - margin:0 0 0 5px; - } -.clear{ - clear:left; -} -h3 span{ - position:absolute; -} -.message{ - background:#EEE; - border:1px solid #999; - color:#333; - font-size:12px; - font-weight:normal; - padding:1px; - margin-top:2px; -} - -h1{ - color:#5B739C; -} -h1 strong{ - font-size:13px; - color:#777; -} \ No newline at end of file diff --git a/docs/assets/plugins/jquery-scrollTo/demo/css/style.old.css b/docs/assets/plugins/jquery-scrollTo/demo/css/style.old.css deleted file mode 100755 index a97ba38f2..000000000 --- a/docs/assets/plugins/jquery-scrollTo/demo/css/style.old.css +++ /dev/null @@ -1,69 +0,0 @@ -body{ - background-color: #DDD; -} -.container li,div.pane{ - height:200px; - font-weight:bolder; - position:relative; -} -ul{ - list-style:none; - padding:0; - margin:0; -} -.container a{ - color:black; - position:absolute; - bottom:10px; -} -p{ - margin:0; -} -.container{ - border:1px black solid; - margin:30px; - overflow:auto; - position:relative; - width:80%; - height:300px; -} - .container ul{ - padding:0; - } -#x{ - height:217px; -} - #x li,#xy li{ - width:300px; - float:left; - } - -h1{ - color:#5B739C; -} -h1 strong{ - font-size:13px; - color:#777; -} - -#links{ - border:1px solid black; - width:210px; - padding:10px; - float:right; - margin-top:-55px; - background-color:white; -} - #links h3{ - color:#933; - margin:5px; - } - #links ul{ - padding: 8px 0 3px 20px; - } - #links li{ - list-style-type:circle; - } - #links a{ - color:#69C; - } \ No newline at end of file diff --git a/docs/assets/plugins/jquery-scrollTo/demo/index.html b/docs/assets/plugins/jquery-scrollTo/demo/index.html deleted file mode 100755 index fe9fd633e..000000000 --- a/docs/assets/plugins/jquery-scrollTo/demo/index.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - jQuery.scrollTo - - - - - - - - - -

jQuery.scrollTo by Ariel Flesler

- -
-

Table of contents (try these)

- -
- - -
-

Ways to specify the target Click an option, to see it in action

- - - -
-
-

Settings The examples shown here, are summarized for brevity

- -

Settings inherited from $().animate()

- - -
- - diff --git a/docs/assets/plugins/jquery-scrollTo/demo/index.old.html b/docs/assets/plugins/jquery-scrollTo/demo/index.old.html deleted file mode 100755 index ae26c47f0..000000000 --- a/docs/assets/plugins/jquery-scrollTo/demo/index.old.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - jQuery.ScrollTo - - - - - - - - - -

jQuery.ScrollTo by Ariel Flesler

- -

- -
- -
- -
- -
- -
- -
-
-
-
-
-
- - diff --git a/docs/assets/plugins/lightbox/examples/index.html b/docs/assets/plugins/lightbox/examples/index.html deleted file mode 100755 index 25c762236..000000000 --- a/docs/assets/plugins/lightbox/examples/index.html +++ /dev/null @@ -1,561 +0,0 @@ - - - - Bootstrap 3 Lightbox - - - - - - - - - -
-
-
- -
-

Lightbox for Bootstrap 3

-

Utilizes Bootstraps modal plugin to implement a lightbox gallery - GitHub

-
- - - -
-
- -
-

Usage

-

Via data attributes

-
<a href="someurl" data-toggle="lightbox">Launch modal</a>
-

Via Javascript

-
<a href="someurl" id="mylink">Open lightbox</a>
$('#mylink').ekkoLightbox(options);
-
- -
-

Implementation

-

Obviously, you need the modal component that comes with Bootstrap, and jQuery. The delegate function used on this page is:

-$(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) { - event.preventDefault(); - $(this).ekkoLightbox(); -}); -

-

If you plan on having galleries, be sure to include the LESS / CSS files.

-
- -
-

Options

-

Options are passed down to the modal object so you can also use any of the original modal options.

-

Pass the options to the calling function as an object, or set defaults using $.fn.ekkoLightbox.defaults (excluding modal default options, notable: title, footer, remote)

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Nametypedefaultdescriptiondata-*
remotestringIf you can't/don't want to set the href property of an elementdata-remote="http://www...."
gallerystringFor grouping elementsdata-gallery="galleryname"
gallery_parent_selectorstringdocument.bodyIf you have multiple galleries per page, this will restrict the gallery items to the parent that matches this selector.data-parent="any valid selector"
left_arrow_classstring.glyphicon .glyphicon-chevron-leftThe css classes to give to the left arrow
right_arrow_classstring.glyphicon .glyphicon-chevron-rightThe css classes to give to the right arrow
typestringForce the lightbox into image/YouTube mode.data-type="(image|youtube|vimeo)"
width (videos only; height is calculated by ratio)integerForce the widthdata-width="[0-9]+"
always_show_closebooleantrueAlways show the close button, even if no title is present
onNavigatecallablefalseFunction call when navigate right or left. First argument is the direction
loadingMessagestringLoading...Message injected for loading
-
-
- -

Themes

-

Some quick themes to show how customisation is possible.

- - - -

Examples

-

Images from Instagrams "The Week on Instagram | 92"

- - - -

Note: uses modal plugin title option via data-title, and the custom footer tag using data-footer

-
-
- - - -
-
- - -

By default, gallery images must be wrapped in a tag (probably <div>) - which doesn't have the class .row. This is so you can create columns/rows.

-

A custom selector for the parent can be used, see example #11. Note how the final image is not in the gallery intentionally.

-
- -
- - -

YouTube

-

You can use various YouTube URL formats, the regex used is: /^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/

-

Ghostpoet - Cash and Carry Me Home

-

Tame Impala - Elephant (using youtu.be link)

-
-

Vimeo

-

You cannot embed Vimeo videos using the standard url (ie http://vimeo.com/80629469); you must link to the embed source (ie player.vimeo.com/video/80629469). This will mean your link url - if the JavaScript fails, will open the full screen player (try opening the first link below in a new tab); the solution to this is to set the lightbox source directly - the second link below does this.

-

City Lights - from Colin Rich (using embed link)

-

City Lights - from Colin Rich (with reccommended data-remote setting)

-
-

Instagram

-

-

GOtags.co.uk

-

This also works with photos: GOtags.co.uk

-
-

Forcing width

-

Set the width of the video

-

Ghostpoet - Cash and Carry Me Home (standard)

-

Ghostpoet - Cash and Carry Me Home (640 x 360)

-

Ghostpoet - Cash and Carry Me Home (1280 x 780)

- - -
-
- -
-
- - -
-
- -
-
- - -

These two examples are opened via the JavaScript at the bottom of the source.

-
-
- -
-
- - -
-
-
- - -
-
-
- - -
- -
- - -

All examples on this page are this example. Too high images don't count, scrolling works fine with the original modal.

- - -

So you want to use <figure>

- - - -

This shows that the images do not need to be columns as per the other examples. Use data-parent on the gallery item, or set it via the options.

-
-
- - - -
-
- - - -
-
- - - -
-
- - -

If you're gallery images have different parents you may wish to have all images with the same gallery tag to open regardless of their parent. To do this, set data-parent to the highest element you know of - on this page it is the div.container.

-

You can also leave the data-parent attribute empty, and it will default to document.body. This example uses a combination of the two.

- -
-
-
-
- - - -
-
- - - -
-
- - -

If the images you are linking to have no extension, the lightbox cannot detect that is an image; therefore you need to tell the lightbox what data-type it is.

-

Click here for an image, but with no extension.

-

This link is missing the type attribute, and will not work.

-

This link is linking to a YouTube video, but forcing an image.

- - -

The argument given is the direction of navigation. Open your developer console and use any gallery example.

- - -

Facebook style, only show a few images but have a large gallery

-
-
-
- - - - - - - - - - -
-
-
-
-
-
-
-
- - -

The Bootstrap modal originally allowed for remote loading, but this is to be removed in v4; this functionality demonstrates the work around.

-

Given a URL, that is not an image or video (including unforced types [see example 13]), load the content using jQuery load(). An image and video is given below as proof gallery.

- - - -

Must be setup programatically to run the setup (view the source of this page)

-
-
- -
-
- -
-
-
- - - - - - - - diff --git a/docs/assets/plugins/lightbox/examples/remote/page1.html b/docs/assets/plugins/lightbox/examples/remote/page1.html deleted file mode 100755 index c8719da78..000000000 --- a/docs/assets/plugins/lightbox/examples/remote/page1.html +++ /dev/null @@ -1,9 +0,0 @@ - - Page 1 - -
-

Page 1

- -
- - \ No newline at end of file diff --git a/docs/assets/plugins/lightbox/examples/remote/page2.html b/docs/assets/plugins/lightbox/examples/remote/page2.html deleted file mode 100755 index 7033c7068..000000000 --- a/docs/assets/plugins/lightbox/examples/remote/page2.html +++ /dev/null @@ -1,9 +0,0 @@ - - Page 2 - -
-

Page 2

- -
- - \ No newline at end of file diff --git a/docs/assets/plugins/lightbox/examples/remote/readme.md b/docs/assets/plugins/lightbox/examples/remote/readme.md deleted file mode 100755 index 342443a22..000000000 --- a/docs/assets/plugins/lightbox/examples/remote/readme.md +++ /dev/null @@ -1 +0,0 @@ -This directory is only used for the example loading in example 16 and can be ignored completely. \ No newline at end of file