You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by do...@apache.org on 2016/10/07 22:08:14 UTC
[33/50] [abbrv] incubator-predictionio git commit: Unbundle 3rd party
documentation components
http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/jcarousel/examples/skeleton/index.html
----------------------------------------------------------------------
diff --git a/docs/manual/bower_components/jcarousel/examples/skeleton/index.html b/docs/manual/bower_components/jcarousel/examples/skeleton/index.html
deleted file mode 100644
index 5b06301..0000000
--- a/docs/manual/bower_components/jcarousel/examples/skeleton/index.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Carousel Skeleton - jCarousel Examples</title>
-
- <!-- Example assets -->
- <link rel="stylesheet" type="text/css" href="jcarousel.skeleton.css">
-
- <script type="text/javascript" src="../../libs/jquery/jquery.js"></script>
- <script type="text/javascript" src="../../dist/jquery.jcarousel.min.js"></script>
-
- <script type="text/javascript" src="jcarousel.skeleton.js"></script>
-
- </head>
- <body>
-
- <div class="wrapper">
- <h1>Carousel Skeleton</h1>
-
- <p>This is an unstyled carousel which you can use as a foundation for implementing your own carousels.</p>
-
- <!--
- Mutual wrapper, encloses the carousel and the plugin elements to
- enable auto-detection of the carousel for the plugins.
- -->
- <div class="jcarousel-wrapper">
-
- <!-- Carousel -->
- <div class="jcarousel">
- <ul>
- <li><img src="../_shared/img/img1.jpg" width="600" height="400" alt=""></li>
- <li><img src="../_shared/img/img2.jpg" width="600" height="400" alt=""></li>
- <li><img src="../_shared/img/img3.jpg" width="600" height="400" alt=""></li>
- <li><img src="../_shared/img/img4.jpg" width="600" height="400" alt=""></li>
- <li><img src="../_shared/img/img5.jpg" width="600" height="400" alt=""></li>
- <li><img src="../_shared/img/img6.jpg" width="600" height="400" alt=""></li>
- </ul>
- </div>
-
- <!-- Prev/next controls -->
- <a href="#" class="jcarousel-control-prev">‹ Prev</a>
- <a href="#" class="jcarousel-control-next">Next ›</a>
-
- <!-- Pagination -->
- <p class="jcarousel-pagination">
- <!-- Pagination items will be generated in here -->
- </p>
-
- </div>
-
- </div>
-
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/jcarousel/examples/skeleton/jcarousel.skeleton.css
----------------------------------------------------------------------
diff --git a/docs/manual/bower_components/jcarousel/examples/skeleton/jcarousel.skeleton.css b/docs/manual/bower_components/jcarousel/examples/skeleton/jcarousel.skeleton.css
deleted file mode 100644
index a51535f..0000000
--- a/docs/manual/bower_components/jcarousel/examples/skeleton/jcarousel.skeleton.css
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
-This is the visible area of you carousel.
-Set a width here to define how much items are visible.
-The width can be either fixed in px or flexible in %.
-Position must be relative!
-*/
-.jcarousel {
- position: relative;
- overflow: hidden;
-}
-
-/*
-This is the container of the carousel items.
-You must ensure that the position is relative or absolute and
-that the width is big enough to contain all items.
-*/
-.jcarousel ul {
- width: 20000em;
- position: relative;
-
- /* Optional, required in this case since it's a <ul> element */
- list-style: none;
- margin: 0;
- padding: 0;
-}
-
-/*
-These are the item elements. jCarousel works best, if the items
-have a fixed width and height (but it's not required).
-*/
-.jcarousel li {
- /* Required only for block elements like <li>'s */
- float: left;
-}
http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/jcarousel/examples/skeleton/jcarousel.skeleton.js
----------------------------------------------------------------------
diff --git a/docs/manual/bower_components/jcarousel/examples/skeleton/jcarousel.skeleton.js b/docs/manual/bower_components/jcarousel/examples/skeleton/jcarousel.skeleton.js
deleted file mode 100644
index 94fef48..0000000
--- a/docs/manual/bower_components/jcarousel/examples/skeleton/jcarousel.skeleton.js
+++ /dev/null
@@ -1,55 +0,0 @@
-(function($) {
- $(function() {
- /*
- Carousel initialization
- */
- $('.jcarousel')
- .jcarousel({
- // Options go here
- });
-
- /*
- Prev control initialization
- */
- $('.jcarousel-control-prev')
- .on('jcarouselcontrol:active', function() {
- $(this).removeClass('inactive');
- })
- .on('jcarouselcontrol:inactive', function() {
- $(this).addClass('inactive');
- })
- .jcarouselControl({
- // Options go here
- target: '-=1'
- });
-
- /*
- Next control initialization
- */
- $('.jcarousel-control-next')
- .on('jcarouselcontrol:active', function() {
- $(this).removeClass('inactive');
- })
- .on('jcarouselcontrol:inactive', function() {
- $(this).addClass('inactive');
- })
- .jcarouselControl({
- // Options go here
- target: '+=1'
- });
-
- /*
- Pagination initialization
- */
- $('.jcarousel-pagination')
- .on('jcarouselpagination:active', 'a', function() {
- $(this).addClass('active');
- })
- .on('jcarouselpagination:inactive', 'a', function() {
- $(this).removeClass('active');
- })
- .jcarouselPagination({
- // Options go here
- });
- });
-})(jQuery);
http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/jcarousel/examples/transitions/index.html
----------------------------------------------------------------------
diff --git a/docs/manual/bower_components/jcarousel/examples/transitions/index.html b/docs/manual/bower_components/jcarousel/examples/transitions/index.html
deleted file mode 100644
index 9bc80fb..0000000
--- a/docs/manual/bower_components/jcarousel/examples/transitions/index.html
+++ /dev/null
@@ -1,53 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Carousel using CSS3 Transitions - jCarousel Examples</title>
-
- <!-- Shared assets -->
- <link rel="stylesheet" type="text/css" href="../_shared/css/style.css">
-
- <!-- Example assets -->
- <link rel="stylesheet" type="text/css" href="jcarousel.transitions.css">
-
- <script type="text/javascript" src="../../libs/modernizr/modernizr.js"></script>
- <script type="text/javascript" src="../../libs/jquery/jquery.js"></script>
- <script type="text/javascript" src="../../dist/jquery.jcarousel.min.js"></script>
-
- <script type="text/javascript" src="jcarousel.transitions.js"></script>
-
- </head>
- <body>
-
- <div class="wrapper">
- <h1>Carousel using CSS3 Transitions</h1>
-
- <p>This example shows how to setup a carousel using CSS3 transitions for animations.</p>
-
- <p>It uses a <a href="http://modernizr.com">Modernizr</a> feature detect to use transitions along with transforms to achieve full hardware acceleration when possible, falling back to jQuery-based animation otherwise.</p>
-
- <div class="jcarousel-wrapper">
- <div class="jcarousel">
- <ul>
- <li style="background: url('../_shared/img/img1.jpg');"></li>
- <li style="background: url('../_shared/img/img2.jpg');"></li>
- <li style="background: url('../_shared/img/img3.jpg');"></li>
- <li style="background: url('../_shared/img/img4.jpg');"></li>
- <li style="background: url('../_shared/img/img5.jpg');"></li>
- <li style="background: url('../_shared/img/img6.jpg');"></li>
- </ul>
- </div>
-
- <p class="photo-credits">
- Photos by <a href="http://www.mw-fotografie.de">Marc Wiegelmann</a>
- </p>
-
- <a href="#" class="jcarousel-control-prev">‹</a>
- <a href="#" class="jcarousel-control-next">›</a>
- </div>
-
- <p>If you use this example on your site and don't have Modernizr already included, you can use this minimal <a href="http://modernizr.com/download/#-csstransforms-csstransforms3d-csstransitions-teststyles-testprop-testallprops-prefixes-domprefixes">build</a>.
- </div>
-
- </body>
-</html>
http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/jcarousel/examples/transitions/jcarousel.transitions.css
----------------------------------------------------------------------
diff --git a/docs/manual/bower_components/jcarousel/examples/transitions/jcarousel.transitions.css b/docs/manual/bower_components/jcarousel/examples/transitions/jcarousel.transitions.css
deleted file mode 100644
index d97c60e..0000000
--- a/docs/manual/bower_components/jcarousel/examples/transitions/jcarousel.transitions.css
+++ /dev/null
@@ -1,83 +0,0 @@
-.jcarousel-wrapper {
- margin: 20px auto;
- position: relative;
- border: 10px solid #fff;
- width: 600px;
- height: 400px;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- border-radius: 5px;
- -webkit-box-shadow: 0 0 2px #999;
- -moz-box-shadow: 0 0 2px #999;
- box-shadow: 0 0 2px #999;
-}
-
-.jcarousel-wrapper .photo-credits {
- position: absolute;
- right: 15px;
- bottom: 0;
- font-size: 13px;
- color: #fff;
- text-shadow: 0 0 1px rgba(0, 0, 0, 0.85);
- opacity: .66;
-}
-
-.jcarousel-wrapper .photo-credits a {
- color: #fff;
-}
-
-/** Carousel **/
-
-.jcarousel {
- position: relative;
- overflow: hidden;
-}
-
-.jcarousel ul {
- width: 20000em;
- position: relative;
- list-style: none;
- margin: 0;
- padding: 0;
-}
-
-.jcarousel li {
- float: left;
- width: 600px;
- height: 400px;
-}
-
-/** Carousel Controls **/
-
-.jcarousel-control-prev,
-.jcarousel-control-next {
- position: absolute;
- top: 200px;
- width: 30px;
- height: 30px;
- text-align: center;
- background: #4E443C;
- color: #fff;
- text-decoration: none;
- text-shadow: 0 0 1px #000;
- font: 24px/27px Arial, sans-serif;
- -webkit-border-radius: 30px;
- -moz-border-radius: 30px;
- border-radius: 30px;
- -webkit-box-shadow: 0 0 2px #999;
- -moz-box-shadow: 0 0 2px #999;
- box-shadow: 0 0 2px #999;
-}
-
-.jcarousel-control-prev {
- left: -50px;
-}
-
-.jcarousel-control-next {
- right: -50px;
-}
-
-.jcarousel-control-prev:hover span,
-.jcarousel-control-next:hover span {
- display: block;
-}
http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/jcarousel/examples/transitions/jcarousel.transitions.js
----------------------------------------------------------------------
diff --git a/docs/manual/bower_components/jcarousel/examples/transitions/jcarousel.transitions.js b/docs/manual/bower_components/jcarousel/examples/transitions/jcarousel.transitions.js
deleted file mode 100644
index da8ad17..0000000
--- a/docs/manual/bower_components/jcarousel/examples/transitions/jcarousel.transitions.js
+++ /dev/null
@@ -1,20 +0,0 @@
-(function($, Modernizr) {
- $(function() {
- $('.jcarousel').jcarousel({
- wrap: 'circular',
- transitions: Modernizr.csstransitions ? {
- transforms: Modernizr.csstransforms,
- transforms3d: Modernizr.csstransforms3d,
- easing: 'ease'
- } : false
- });
-
- $('.jcarousel-control-prev').jcarouselControl({
- target: '-=1'
- });
-
- $('.jcarousel-control-next').jcarouselControl({
- target: '+=1'
- });
- });
-})(jQuery, Modernizr);
http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/jcarousel/libs/jquery-loader.js
----------------------------------------------------------------------
diff --git a/docs/manual/bower_components/jcarousel/libs/jquery-loader.js b/docs/manual/bower_components/jcarousel/libs/jquery-loader.js
deleted file mode 100644
index 430487b..0000000
--- a/docs/manual/bower_components/jcarousel/libs/jquery-loader.js
+++ /dev/null
@@ -1,33 +0,0 @@
-(function() {
- // Default path.
- var path = '../../libs/jquery/jquery.js';
-
- // From: https://github.com/ckeditor/ckeditor-dev/blob/master/core/ckeditor_base.js#L115
- var scripts = document.getElementsByTagName('script');
-
- for (var i = 0; i < scripts.length; i++) {
- var match = scripts[i].src.match(/(^|.*[\\\/])jquery\-loader.js(?:\?.*)?$/i);
-
- if (match) {
- path = match[1] + 'jquery/jquery.js';
- break;
- }
- }
-
- if (path.indexOf(':/') === -1) {
- if (path.indexOf('/') === 0) {
- path = location.href.match(/^.*?:\/\/[^\/]*/)[ 0 ] + path;
- } else {
- path = location.href.match(/^[^\?]*\/(?:)/)[ 0 ] + path;
- }
- }
-
- // Get any jquery=___ param from the query string.
- var jqversion = location.search.match(/[?&]jquery=(.*?)(?=&|$)/);
- // If a version was specified, use that version from code.jquery.com.
- if (jqversion) {
- path = 'http://code.jquery.com/jquery-' + jqversion[1] + '.js';
- }
- // This is the only time I'll ever use document.write, I promise!
- document.write('<script src="' + path + '"></script>');
-}());