j1-template 2020.0.25 → 2021.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/modules/attics/generator.html +1 -1
- data/assets/data/carousel.json +7 -15
- data/assets/themes/j1/adapter/js/carousel.js +395 -32
- data/assets/themes/j1/adapter/js/rtable.js +3 -1
- data/assets/themes/j1/adapter/js/toccer.js +1 -1
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +23 -3
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +1 -1
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/modules/carousel/css/theme/uno.css +89 -36
- data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/jquery/css/jqueryUI/theme.css +443 -0
- data/assets/themes/j1/modules/jquery/css/jqueryUI/theme.min.css +5 -0
- data/assets/themes/j1/modules/jquery/js/jqueryUI.js +18701 -0
- data/assets/themes/j1/modules/jquery/js/jqueryUI.min.js +13 -0
- data/assets/themes/j1/modules/kofax.7z +0 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +21 -90
- data/lib/starter_web/_data/apps/carousel.yml +157 -336
- data/lib/starter_web/_data/apps/defaults/carousel.yml +87 -86
- data/lib/starter_web/_data/layouts/collection.yml +6 -6
- data/lib/starter_web/_data/layouts/home.yml +0 -1
- data/lib/starter_web/_data/layouts/page.yml +1 -2
- data/lib/starter_web/_data/layouts/post.yml +1 -2
- data/lib/starter_web/_data/modules/fam.yml +45 -11
- data/lib/starter_web/_data/resources.yml +3 -2
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/assets/images/modules/icons/d1/d1-256x256.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-32x32.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-512x512.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-64x64.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/favicon.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +48 -43
- data/lib/starter_web/assets/images/quotes/colored-1.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/colored-2.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/default.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/light-blue.jpg +0 -0
- data/lib/starter_web/assets/images/quotes/people.jpg +0 -0
- data/lib/starter_web/package.json +4 -3
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +6 -23
- data/lib/starter_web/pages/public/previewer/rouge.adoc +238 -4
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +12 -53
- data/assets/themes/j1/core/css/bootstrap.css +0 -7154
- data/assets/themes/j1/core/css/bootstrap.min.css +0 -6
- data/assets/themes/j1/core/css/custom.scss +0 -28
- data/assets/themes/j1/core/css/globals.css +0 -14523
- data/assets/themes/j1/core/css/globals.min.css +0 -1
- data/assets/themes/j1/core/css/globals.scss +0 -28
- data/assets/themes/j1/core/css/theme_extensions.css +0 -11558
- data/assets/themes/j1/core/css/theme_extensions.min.css +0 -1
- data/assets/themes/j1/core/css/uno.css +0 -11823
- data/assets/themes/j1/core/css/uno.min.css +0 -1
- data/assets/themes/j1/core/css/uno.scss +0 -28
- data/assets/themes/j1/core/css/vendor.scss +0 -28
- data/lib/starter_web/assets/images/quotes/default.png +0 -0
- data/lib/starter_web/assets/images/quotes/people.png +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2018-11-01-docker-using-shared-folders.adoc +0 -494
- data/lib/starter_web/collections/posts/public/test_posts/_posts/2020-09-11-test_post.adoc +0 -218
- data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/attributes.asciidoc +0 -34
- data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/documents/readme +0 -0
- data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/tables/debug_variables.asciidoc +0 -48
- data/lib/starter_web/collections/posts/public/test_posts/_posts/_includes/tables/readme +0 -0
- data/lib/starter_web/pages/public/test_pages/_includes/attributes.asciidoc +0 -49
- data/lib/starter_web/pages/public/test_pages/_includes/documents/100_gistblock.asciidoc +0 -27
- data/lib/starter_web/pages/public/test_pages/_includes/tables/000_bem_specifiers.asciidoc +0 -22
- data/lib/starter_web/pages/public/test_pages/_includes/tables/000_specifier_examples.asciidoc +0 -56
- data/lib/starter_web/pages/public/test_pages/breadcrumbs_tester.adoc +0 -62
- data/lib/starter_web/pages/public/test_pages/carousel_captions.adoc +0 -1045
- data/lib/starter_web/pages/public/test_pages/deck_of_posts.adoc +0 -165
- data/lib/starter_web/pages/public/test_pages/floating_actions_button.adoc +0 -523
- data/lib/starter_web/pages/public/test_pages/floating_ad.adoc +0 -208
- data/lib/starter_web/pages/public/test_pages/floating_div.adoc +0 -196
- data/lib/starter_web/pages/public/test_pages/lunr_tester.adoc +0 -89
- data/lib/starter_web/pages/public/test_pages/nav_pagination_tester.adoc +0 -284
- data/lib/starter_web/pages/public/test_pages/page_attribute_tester.adoc +0 -196
- data/lib/starter_web/pages/public/test_pages/responsive_images.adoc +0 -213
- data/lib/starter_web/pages/public/test_pages/responsive_tables.adoc +0 -210
- data/lib/starter_web/pages/public/test_pages/toccer_tester.adoc +0 -2245
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/attributes.asciidoc +0 -117
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/100_gistblock.asciidoc +0 -27
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_left_warning.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_bottom_right_danger.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_central_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_full_height_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_full_height_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_table_3_column.asciidoc +0 -47
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/410_top_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_includes/documents/419_advanced_modals_html.asciidoc +0 -928
- data/lib/starter_web/pages/public/test_pages/vtutorials/000_test_youtube_video.adoc +0 -141
- data/lib/starter_web/pages/public/test_pages/vtutorials/100_basic_video.adoc +0 -109
@@ -1,141 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Introduction Videos
|
3
|
-
tagline: YouTube
|
4
|
-
description: Introduction Videos - Learn the basics
|
5
|
-
|
6
|
-
tags: [ Page, Videos ]
|
7
|
-
index: [ Template, Introduction, Basics, Video ]
|
8
|
-
categories: [ pages ]
|
9
|
-
|
10
|
-
scrollbar: false
|
11
|
-
toc: true
|
12
|
-
|
13
|
-
permalink: /pages/public/learn/vtutorials/youtube_basics/
|
14
|
-
regenerate: false
|
15
|
-
|
16
|
-
resources: [
|
17
|
-
light_gallery, justified_gallery,
|
18
|
-
bs_gallery, video_js
|
19
|
-
]
|
20
|
-
resource_options:
|
21
|
-
- attic:
|
22
|
-
padding_top: 400
|
23
|
-
padding_bottom: 50
|
24
|
-
# background_color:
|
25
|
-
# color_1: md_grey_100
|
26
|
-
# color_2: md_grey_400
|
27
|
-
# slides:
|
28
|
-
# # Broadway Underground - still image (animate default)
|
29
|
-
# - url: /assets/videos/headers/still/underground-broadway.png
|
30
|
-
# alt: Broadway Underground
|
31
|
-
# alignY: top
|
32
|
-
# animateFirst: false
|
33
|
-
# # Broadway Underground - FAYETTE ST, moved file to Github/LFS
|
34
|
-
# - url: https://github.com/jekyll-one-org/jekyll-one-lfs/raw/master/videos/underground-broadway.mp4
|
35
|
-
# alignY: 0
|
36
|
-
# isVideo: true
|
37
|
-
# loop: false
|
38
|
-
# duration: 12000
|
39
|
-
# # Broadway Underground - still image (animate random)
|
40
|
-
# - url: /assets/videos/headers/still/underground-broadway.png
|
41
|
-
# alt: Broadway Underground
|
42
|
-
# alignY: top
|
43
|
-
# transition: push_left|push_right|cover_up|cover_down|fade|fadeInOut
|
44
|
-
---
|
45
|
-
|
46
|
-
// Enable the Liquid Preprocessor
|
47
|
-
// -----------------------------------------------------------------------------
|
48
|
-
:page-liquid:
|
49
|
-
|
50
|
-
// Set other global page attributes here
|
51
|
-
// -----------------------------------------------------------------------------
|
52
|
-
//:my-asciidoc-attribute:
|
53
|
-
|
54
|
-
// Load Liquid procedures
|
55
|
-
// -----------------------------------------------------------------------------
|
56
|
-
{% capture set_env_entry_document %}themes/{{site.template.name}}/procedures/global/set_env_entry_document.proc{%endcapture%}
|
57
|
-
|
58
|
-
// Initialize entry document environmental attributes
|
59
|
-
// -----------------------------------------------------------------------------
|
60
|
-
{% include {{set_env_entry_document}} %}
|
61
|
-
|
62
|
-
// Load tag, url and data attributes
|
63
|
-
// -----------------------------------------------------------------------------
|
64
|
-
include::{includedir}/attributes.asciidoc[tag=tags]
|
65
|
-
include::{includedir}/attributes.asciidoc[tag=urls]
|
66
|
-
include::{includedir}/attributes.asciidoc[tag=data]
|
67
|
-
|
68
|
-
// Set local page attributes
|
69
|
-
// -----------------------------------------------------------------------------
|
70
|
-
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
71
|
-
|
72
|
-
|
73
|
-
// Page content
|
74
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
75
|
-
|
76
|
-
// Include sub-documents
|
77
|
-
// -----------------------------------------------------------------------------
|
78
|
-
|
79
|
-
Playing video on a web page seems not that special since you can already
|
80
|
-
watch videos on web pages through plugins like _Flash Player_, _Quicktime_
|
81
|
-
or _Silverlight_. A new standard goes to *HTML5 Video*, a pure *HTML* way to
|
82
|
-
show video on the web; instead of the previous de facto standard of using
|
83
|
-
*proprietary* software.
|
84
|
-
|
85
|
-
== YouTube Basics
|
86
|
-
|
87
|
-
The Internet is full of interesting content. Video content is very popular,
|
88
|
-
the number of channels at e.g. _YouTube_ is enormous. If you want to present
|
89
|
-
video content from the Internet, e.g. your channnel, the online video
|
90
|
-
support of J1 Template may a good choice. Find some enjoyable videos from
|
91
|
-
*James Cordon's* channel: *Carpool Karaoke*.
|
92
|
-
|
93
|
-
++++
|
94
|
-
<div id="player"></div>
|
95
|
-
|
96
|
-
<script>
|
97
|
-
// 2. This code loads the IFrame Player API code asynchronously.
|
98
|
-
var tag = document.createElement('script');
|
99
|
-
tag.src = "https://www.youtube.com/iframe_api";
|
100
|
-
var firstScriptTag = document.getElementsByTagName('script')[0];
|
101
|
-
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
|
102
|
-
|
103
|
-
// 3. This function creates an <iframe> (and YouTube player)
|
104
|
-
// after the API code downloads.
|
105
|
-
var player;
|
106
|
-
var videoId = 'M7lc1UVf-VE';
|
107
|
-
|
108
|
-
function onYouTubeIframeAPIReady() {
|
109
|
-
player = new YT.Player('player', {
|
110
|
-
height: '360',
|
111
|
-
width: '640',
|
112
|
-
videoId: 'M7lc1UVf-VE',
|
113
|
-
events: {
|
114
|
-
'onReady': onPlayerReady,
|
115
|
-
'onStateChange': onPlayerStateChange
|
116
|
-
}
|
117
|
-
});
|
118
|
-
|
119
|
-
// player.loadVideoById(videoId, 0, "default");
|
120
|
-
}
|
121
|
-
|
122
|
-
// 4. The API will call this function when the video player is ready.
|
123
|
-
function onPlayerReady(event) {
|
124
|
-
event.target.playVideo();
|
125
|
-
}
|
126
|
-
|
127
|
-
// 5. The API calls this function when the player's state changes.
|
128
|
-
// The function indicates that when playing a video (state=1),
|
129
|
-
// the player should play for six seconds and then stop.
|
130
|
-
var done = false;
|
131
|
-
function onPlayerStateChange(event) {
|
132
|
-
if (event.data == YT.PlayerState.PLAYING && !done) {
|
133
|
-
setTimeout(stopVideo, 1000);
|
134
|
-
done = true;
|
135
|
-
}
|
136
|
-
}
|
137
|
-
function stopVideo() {
|
138
|
-
player.stopVideo();
|
139
|
-
}
|
140
|
-
</script>
|
141
|
-
++++
|
@@ -1,109 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: Introduction Videos
|
3
|
-
tagline: learn the basics
|
4
|
-
description: Introduction Videos - Learn the basics
|
5
|
-
|
6
|
-
tags: [ Page, Videos ]
|
7
|
-
index: [ Template, Introduction, Basics, Video ]
|
8
|
-
categories: [ pages ]
|
9
|
-
|
10
|
-
scrollbar: false
|
11
|
-
toc: true
|
12
|
-
|
13
|
-
permalink: /pages/public/learn/vtutorials/basics/
|
14
|
-
regenerate: false
|
15
|
-
|
16
|
-
resources: [
|
17
|
-
light_gallery, justified_gallery,
|
18
|
-
bs_gallery, video_js,
|
19
|
-
vimeo_player, vimeo_player, vimeo_froogaloop
|
20
|
-
]
|
21
|
-
resource_options:
|
22
|
-
- attic:
|
23
|
-
padding_top: 200
|
24
|
-
padding_bottom: 50
|
25
|
-
# background_color:
|
26
|
-
# color_1: md_grey_100
|
27
|
-
# color_2: md_grey_400
|
28
|
-
# slides:
|
29
|
-
# # Broadway Underground - still image (animate default)
|
30
|
-
# - url: /assets/videos/headers/still/underground-broadway.png
|
31
|
-
# alt: Broadway Underground
|
32
|
-
# alignY: top
|
33
|
-
# animateFirst: false
|
34
|
-
# # Broadway Underground - FAYETTE ST, moved file to Github/LFS
|
35
|
-
# - url: https://github.com/jekyll-one-org/jekyll-one-lfs/raw/master/videos/underground-broadway.mp4
|
36
|
-
# alignY: 0
|
37
|
-
# isVideo: true
|
38
|
-
# loop: false
|
39
|
-
# duration: 12000
|
40
|
-
# # Broadway Underground - still image (animate random)
|
41
|
-
# - url: /assets/videos/headers/still/underground-broadway.png
|
42
|
-
# alt: Broadway Underground
|
43
|
-
# alignY: top
|
44
|
-
# transition: push_left|push_right|cover_up|cover_down|fade|fadeInOut
|
45
|
-
---
|
46
|
-
|
47
|
-
// Enable the Liquid Preprocessor
|
48
|
-
// -----------------------------------------------------------------------------
|
49
|
-
:page-liquid:
|
50
|
-
|
51
|
-
// Set other global page attributes here
|
52
|
-
// -----------------------------------------------------------------------------
|
53
|
-
//:my-asciidoc-attribute:
|
54
|
-
|
55
|
-
// Load Liquid procedures
|
56
|
-
// -----------------------------------------------------------------------------
|
57
|
-
{% capture set_env_entry_document %}themes/{{site.template.name}}/procedures/global/set_env_entry_document.proc{%endcapture%}
|
58
|
-
|
59
|
-
// Initialize entry document environmental attributes
|
60
|
-
// -----------------------------------------------------------------------------
|
61
|
-
{% include {{set_env_entry_document}} %}
|
62
|
-
|
63
|
-
// Load tag, url and data attributes
|
64
|
-
// -----------------------------------------------------------------------------
|
65
|
-
include::{includedir}/attributes.asciidoc[tag=tags]
|
66
|
-
include::{includedir}/attributes.asciidoc[tag=urls]
|
67
|
-
include::{includedir}/attributes.asciidoc[tag=data]
|
68
|
-
|
69
|
-
// Set local page attributes
|
70
|
-
// -----------------------------------------------------------------------------
|
71
|
-
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
72
|
-
|
73
|
-
|
74
|
-
// Page content
|
75
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
76
|
-
|
77
|
-
// Include sub-documents
|
78
|
-
// -----------------------------------------------------------------------------
|
79
|
-
|
80
|
-
Playing video on a web page seems not that special since you can already
|
81
|
-
watch videos on web pages through plugins like _Flash Player_, _Quicktime_
|
82
|
-
or _Silverlight_. A new standard goes to *HTML5 Video*, a pure *HTML* way to
|
83
|
-
show video on the web; instead of the previous de facto standard of using
|
84
|
-
*proprietary* software.
|
85
|
-
|
86
|
-
== J1 Basics
|
87
|
-
|
88
|
-
The Internet is full of interesting content. Video content is very popular,
|
89
|
-
the number of channels at e.g. _YouTube_ is enormous. If you want to present
|
90
|
-
video content from the Internet, e.g. your channnel, the online video
|
91
|
-
support of J1 Template may a good choice. Find some enjoyable videos from
|
92
|
-
*James Cordon's* channel: *Carpool Karaoke*.
|
93
|
-
|
94
|
-
.Video Tutoriols
|
95
|
-
gallery::jg_video_intro[]
|
96
|
-
|
97
|
-
/////
|
98
|
-
.BG Video Tutoriols - Learn the basics
|
99
|
-
gallery::bg_video_intro[role="mb-5"]
|
100
|
-
|
101
|
-
.Vimeo Video Gallery
|
102
|
-
gallery::jg_video_online_vimeo[role="mb-5"]
|
103
|
-
/////
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|