j1-template 2020.0.18 → 2020.0.19
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/blocks/footer/boxes/about_box.proc +2 -2
- data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +3 -3
- data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +2 -2
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +19 -16
- data/_includes/themes/j1/layouts/content_generator_collection.html +2 -2
- data/_includes/themes/j1/layouts/content_generator_page.html +8 -56
- data/_includes/themes/j1/layouts/content_generator_post.html +4 -4
- data/_includes/themes/j1/procedures/global/create_bs_button.proc +10 -10
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +37 -38
- data/_layouts/blog_archive.html +2 -1
- data/_layouts/collection.html +1 -1
- data/_layouts/page.html +1 -1
- data/_layouts/post.html +1 -1
- data/apps/public/cc/cc.yml +35 -34
- data/assets/data/authclient.html +5 -5
- data/assets/data/banner.html +8 -8
- data/assets/data/cookiebar.html +5 -5
- data/assets/data/gallery_customizer.html +1 -1
- data/assets/data/menu.html +4 -4
- data/assets/data/mmenu.html +4 -4
- data/assets/data/panel.html +110 -90
- data/assets/data/themes.json +2 -0
- data/assets/themes/j1/adapter/js/carousel.js +134 -133
- data/assets/themes/j1/adapter/js/j1.js +32 -8
- data/assets/themes/j1/adapter/js/mmenu.js +6 -6
- data/assets/themes/j1/adapter/js/navigator.js +78 -27
- data/assets/themes/j1/adapter/js/themer.js +6 -13
- data/assets/themes/j1/core/css/animate.css +17 -0
- data/assets/themes/j1/core/css/bootstrap.css +54 -48
- data/assets/themes/j1/core/css/bootstrap.min.css +3 -3
- data/assets/themes/j1/core/css/{fontawesome.css → icons-fontawesome.css} +31 -12
- data/assets/themes/j1/core/css/{fontawesome.min.css → icons-fontawesome.min.css} +0 -0
- data/assets/themes/j1/core/css/{iconify-icons.css → icons-iconify.css} +51 -38
- data/assets/themes/j1/core/css/{iconify-icons.min.css → icons-iconify.min.css} +1 -1
- data/assets/themes/j1/core/css/{material-design-icons.css → icons-materialdesign.css} +326 -244
- data/assets/themes/j1/core/css/icons-materialdesign.min.css +1 -0
- data/assets/themes/j1/core/css/{twemoji.css → icons-twemoji.css} +61 -51
- data/assets/themes/j1/core/css/{twemoji.min.css → icons-twemoji.min.css} +0 -0
- data/assets/themes/j1/core/css/{theme_extensions.css → theme-extensions.css} +1527 -1625
- data/assets/themes/j1/core/css/theme-extensions.min.css +1 -0
- data/assets/themes/j1/core/css/uno-dark.css +7886 -0
- data/assets/themes/j1/core/css/uno-dark.min.css +6 -0
- data/assets/themes/j1/core/css/uno.css +18138 -6363
- data/assets/themes/j1/core/css/uno.min.css +8 -1
- data/assets/themes/j1/core/css/vendor.css +49 -13412
- data/assets/themes/j1/core/css/vendor.min.css +1 -7
- data/assets/themes/j1/modules/bsThemeSwitcher/js/switcher.js +32 -22
- data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +82 -0
- data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +15 -0
- data/assets/themes/j1/modules/mdiPreviewer/js/readme +0 -0
- data/assets/themes/j1/modules/mmenuLight/css/mmenu.css +11 -11
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno.css +3 -3
- data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.css +153 -0
- data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.min.css +19 -0
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +12 -13
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +11 -12
- data/assets/themes/j1/modules/twemoji/js/twemoji.js +1 -10
- data/assets/themes/j1/modules/twemoji/js/twemoji.min.js +1 -6
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app/j1_auth_manager/config.rb +10 -5
- data/lib/j1_app/j1_auth_manager/views/auth_manager_ui.erb +5 -5
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +24 -19
- data/lib/starter_web/_data/blocks/panel.yml +29 -22
- data/lib/starter_web/_data/layouts/home.yml +6 -26
- data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -4
- data/lib/starter_web/_data/modules/defaults/themer.yml +2 -1
- data/lib/starter_web/_data/modules/themer.yml +2 -1
- data/lib/starter_web/_data/private.yml +56 -108
- data/lib/starter_web/_data/resources.yml +49 -29
- data/lib/starter_web/assets/images/modules/icons/j1/favicon.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/j1-256x256.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/j1-32x32.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/j1-512x512.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/j1-64x64.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/j1.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/scalable/j1.svg +31 -35
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-05-01-top-open-source-static-site-generators.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2019-06-01-about-cookies.adoc +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/000_nav_pagination_tester.adoc +297 -0
- data/lib/starter_web/pages/public/blog/navigator/archive.html +11 -17
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +13 -18
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +13 -19
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +11 -12
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +51 -59
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +20 -20
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +11 -11
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +20 -20
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +67 -67
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +18 -18
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +10 -10
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +544 -39
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +12 -10
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +20 -16
- data/_includes/themes/j1/blocks/footer/boxes/about_box.proc.org +0 -40
- data/assets/themes/j1/core/css/material-design-icons.min.css +0 -1
- data/assets/themes/j1/core/css/theme_extensions.min.css +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.1.asciidoc +0 -120
- data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour.adoc +0 -144
- data/lib/starter_web/pages/public/learn/roundtrip/000_bs_tour_api.adoc +0 -642
@@ -146,23 +146,22 @@ resource_options:
|
|
146
146
|
{% include {{select_icon_size}} family=icon_family size=icon_size %}
|
147
147
|
{% assign icon_size = size %}
|
148
148
|
|
149
|
-
{% assign excerpt = post.excerpt
|
149
|
+
{% assign excerpt = post.excerpt|truncatewords:50|replace:'...',' ...'|strip_html|strip_newlines|strip %}
|
150
150
|
|
151
151
|
<!-- place post -->
|
152
|
-
<
|
153
|
-
<
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
<
|
152
|
+
<article class="card raised-z5 mb-5">
|
153
|
+
<h3 id="{{100000|rand}}" class="card-header bg-primary">{{post.title}}</h3>
|
154
|
+
<!-- h5 class="notoc card-subtitle text-muted mb-2">{{post.tagline}}</h5 -->
|
155
|
+
<div class="card-body r-text-300">{{excerpt}}</div>
|
156
|
+
<div class="card-body text-muted r-text-200">
|
157
|
+
<i class="mdi mdi-calendar-blank"></i> {{post.date|date:"%Y %B, %e"}}
|
158
158
|
</div>
|
159
|
-
<div class="card-footer">
|
160
|
-
<a class="
|
161
|
-
|
162
|
-
Read · {{post.tagline}}
|
159
|
+
<div class="card-footer r-text-200">
|
160
|
+
<a class="card-link md-blue font-weight-bold g-font-size-12 text-uppercase"
|
161
|
+
href="{{post.url}}#readmore">Read · {{post.tagline}}
|
163
162
|
</a>
|
164
163
|
</div>
|
165
|
-
</
|
164
|
+
</article>
|
166
165
|
{% endif %}{% endfor %}
|
167
166
|
{% endunless %}{% endfor %}
|
168
167
|
</div>
|
@@ -14,7 +14,7 @@ permalink: /pages/public/learn/roundtrip/present_im
|
|
14
14
|
regenerate: true
|
15
15
|
|
16
16
|
resources: [
|
17
|
-
carousel, lightbox,
|
17
|
+
clipboard, rouge, carousel, lightbox,
|
18
18
|
justified_gallery, light_gallery
|
19
19
|
]
|
20
20
|
resource_options:
|
@@ -64,26 +64,26 @@ include::{includedir}/attributes.asciidoc[tag=data]
|
|
64
64
|
// Include sub-documents
|
65
65
|
// -----------------------------------------------------------------------------
|
66
66
|
|
67
|
-
Welcome to the first preview page focussing the
|
67
|
+
Welcome to the first preview page focussing the image module. This page shows
|
68
68
|
you some of the quite useful features of J1 Template to manage your image based
|
69
69
|
content using lightboxes, carousels (slider) and galleries.
|
70
70
|
|
71
|
-
The
|
72
|
-
libraries like the build-in Gallely
|
73
|
-
image galleries or
|
74
|
-
maps. The build-in carousel app
|
71
|
+
The image module offer complex functionality based on powerful open source
|
72
|
+
libraries like the build-in Gallely gallery for simple _Bootstrap_ grid-based
|
73
|
+
image galleries or Justified Gallery for high-end, masonry styled preview
|
74
|
+
maps. The build-in carousel app carousel, using the jQuery plugin Owl Carousel
|
75
75
|
as a base, let you present your images as slide shows.
|
76
76
|
|
77
|
-
Lightboxes like
|
78
|
-
views of your
|
77
|
+
Lightboxes like LightGallery or Lightbox V2 support your web for full image
|
78
|
+
views of your picture or video content. Have a look, a quick tour what J1
|
79
79
|
can do. Have fun!
|
80
80
|
|
81
81
|
== J1 Lightboxes
|
82
82
|
|
83
|
-
A
|
83
|
+
A Lightbox in general is a helper which displays enlarged, almost
|
84
84
|
screen-filling versions of pictures (or videos), while dimming the rest of the
|
85
85
|
page. The technique, introduced by Lightbox V2, gained widespread popularity
|
86
|
-
due to its simple and elegant style. The term
|
86
|
+
due to its simple and elegant style. The term lightbox is used since then for
|
87
87
|
Javascript libraries to support such functionality.
|
88
88
|
|
89
89
|
For J1 Template, two different lightboxes can be used:
|
@@ -91,41 +91,40 @@ For J1 Template, two different lightboxes can be used:
|
|
91
91
|
* Lightbox V2 (lightbox)
|
92
92
|
* LightGallery
|
93
93
|
|
94
|
-
The default lightbox used by J1 Template is
|
95
|
-
written by _Lokesh Dhakar_. The name of that (build-in) is simply:
|
94
|
+
The default lightbox used by J1 Template is Lightbox V2, a Javascript library
|
95
|
+
written by _Lokesh Dhakar_. The name of that (build-in) is simply: lightbox.
|
96
96
|
For more complex use cases, like a thumbnail gallery preview or video support,
|
97
|
-
|
97
|
+
LightGallery can be used alternatively.
|
98
98
|
|
99
|
-
NOTE: The name
|
100
|
-
_lightbox_. And,
|
99
|
+
NOTE: The name LightGallery implies a sort of a Gallery but the library is a
|
100
|
+
_lightbox_. And, LightGallery provides much more functionality on image-based
|
101
101
|
data rather than enlarged displaying of images. See the examples below to check
|
102
|
-
for the differences in compare to the more simpler
|
102
|
+
for the differences in compare to the more simpler Lightbox V2 lightbox.
|
103
103
|
|
104
104
|
Both lightboxes are fully integrated to be used as standalone modules or to be
|
105
105
|
used as helpers _under-the-hood_ by other apps or modules focussing on image
|
106
|
-
data like
|
106
|
+
data like gallery or carousel, the build-in carousel module.
|
107
107
|
|
108
108
|
== Lightbox Examples
|
109
109
|
|
110
|
-
Find below an example of using the lightbox Lightbox
|
111
|
-
|
110
|
+
Find below an example of using the lightbox Lightbox standalone. See how
|
111
|
+
single (individual) images are linked for the use with Lightbox.
|
112
112
|
|
113
113
|
.A Lightbox block for standalone images
|
114
114
|
lightbox::example-standalone[ 400, {data-images-standalone} ]
|
115
115
|
|
116
|
-
For a
|
117
|
-
on the images below to see how
|
116
|
+
For a group of images (image sets), Lightbox support image groups. Click
|
117
|
+
on the images below to see how Lightbox manage image groups.
|
118
118
|
|
119
119
|
.A Lightbox block for grouped images
|
120
120
|
lightbox::example-group[ 400, {data-images-group}, group ]
|
121
121
|
|
122
|
-
|
123
122
|
=== LightGallery Example
|
124
123
|
|
125
|
-
|
124
|
+
LightGallery provides more complex functions on image data. The lightbox
|
126
125
|
supports a gallery-styled thumbnail preview plus image resizing, a dowload
|
127
126
|
dialog, sharing provider support and some more helpfull. Check what
|
128
|
-
|
127
|
+
LightGallery can do by the following example.
|
129
128
|
|
130
129
|
[subs=attributes]
|
131
130
|
++++
|
@@ -160,39 +159,37 @@ dialog, sharing provider support and some more helpfull. Check what
|
|
160
159
|
</script>
|
161
160
|
++++
|
162
161
|
|
163
|
-
|
164
162
|
== J1 Carousel App
|
165
163
|
|
166
|
-
|
164
|
+
J1 Carousel is based on OWL Carousel V1 in the latest (and unfortuneatly
|
167
165
|
last) version of 1.3.3. OWL Carousel is a clean and neat jQuery slider plugin
|
168
166
|
for creating fully responsive and touch-enabled carousel sliders.
|
169
167
|
|
170
|
-
NOTE: OWL Carousel V1 is
|
171
|
-
reason. Anyway, J1 Template is using this version of
|
168
|
+
NOTE: OWL Carousel V1 is not longer available on the Internet; for unknown
|
169
|
+
reason. Anyway, J1 Template is using this version of OWL Carousel as a
|
172
170
|
build-in carousel module because the software does an excellent job, is based
|
173
171
|
on a MIT license with no issues using them for private and business use.
|
174
172
|
And offers a lot of great features!
|
175
173
|
|
176
|
-
/////
|
177
174
|
=== Simple Text Carousel
|
178
175
|
|
179
176
|
A slider or carousel typically is used for displaying images but the
|
180
|
-
implementation for J1 Template support a lot more
|
181
|
-
as a slide show: simple
|
177
|
+
implementation for J1 Template support a lot more sources to be displayed
|
178
|
+
as a slide show: simple text for example.
|
182
179
|
|
183
180
|
carousel::owl_demo_text_carousel[role="mb-3"]
|
184
181
|
|
185
182
|
Important statements or topics can be placed e.g. on top of an article or a
|
186
|
-
paragraph to give them a better
|
187
|
-
a bunch of
|
183
|
+
paragraph to give them a better visibility. In one line, you can present
|
184
|
+
a bunch of facts to know animated for the readers attention within as single
|
188
185
|
line - no much space is needed.
|
189
186
|
|
190
187
|
=== Parallax Text Carousel
|
191
188
|
|
192
|
-
A more
|
189
|
+
A more eye-minded type of a text show is a parallax text slider. If you
|
193
190
|
want to place emphasis on you personal statements focussing the meaning, this
|
194
191
|
type of a slide show may be interesting. Image based slide shows may draw off
|
195
|
-
the readers attention from the text, therefor a
|
192
|
+
the readers attention from the text, therefor a pure text based presentation
|
196
193
|
may the better choice.
|
197
194
|
|
198
195
|
.Parallax Slider
|
@@ -214,16 +211,14 @@ may the better choice.
|
|
214
211
|
</script>
|
215
212
|
++++
|
216
213
|
|
217
|
-
|
218
214
|
Parallax text shows are can be placed as banners on a page. A lot of different
|
219
215
|
animations can be used. Internally, J1 Template is using some of the really
|
220
216
|
great CSS styles offered by _animate.css_.
|
221
217
|
|
222
218
|
TIP: Have a look a https://daneden.github.io/animate.css/[Dan Eden's home page]
|
223
|
-
to see all the possible dynamic styles you can create based on pure CSS.
|
224
|
-
of them are implemented for
|
225
|
-
for the
|
226
|
-
/////
|
219
|
+
to see all the possible dynamic styles you can create based on pure CSS. Some
|
220
|
+
of them are implemented for OWL Carousel for animation. See the documetation
|
221
|
+
for the CAROUSEL Module for more details.
|
227
222
|
|
228
223
|
=== Simple Image Carousel
|
229
224
|
|
@@ -240,53 +235,51 @@ carousel::owl_demo_simple[role="mb-5"]
|
|
240
235
|
=== Carousel + Caption + Lightbox
|
241
236
|
|
242
237
|
Carousels can be used for a quite compact form of image galleries. This example
|
243
|
-
show some pictures having individual caption text
|
238
|
+
show some pictures having individual caption text and support a lightbox to
|
244
239
|
enlarge images full size. For the example below, a quite simple lightbox
|
245
|
-
is used:
|
240
|
+
is used: Lightbox V2; or short: lightbox.
|
246
241
|
|
247
242
|
.Nice cats
|
248
243
|
carousel::owl_demo_cats[role="mb-5"]
|
249
244
|
|
250
|
-
|
251
|
-
The J1 module *lightbox* is a simple Lightbox but offers a bunch of interesting
|
245
|
+
The J1 module lightbox is a simple Lightbox but offers a bunch of interesting
|
252
246
|
features for displaying images. For example, lightbox can display all images
|
253
|
-
(of a carousel) as a
|
247
|
+
(of a carousel) as a group. If one picture is opened in the lightbox, all
|
254
248
|
the other can browsed as well.
|
255
249
|
|
256
250
|
=== One Slide Carousel + Lightbox
|
257
251
|
|
258
|
-
The build-in Carousel
|
259
|
-
Here you find an example of an single image slide show with
|
252
|
+
The build-in Carousel carousel supports multiple and single image shows.
|
253
|
+
Here you find an example of an single image slide show with controls enabled
|
260
254
|
to browse all images back and forth. An indicator below the slider shows how
|
261
255
|
many images the show contains.
|
262
256
|
|
263
257
|
.Single Slide Carousel and a Lightbox
|
264
258
|
carousel::owl_demo_oneslide[role="mb-5"]
|
265
259
|
|
266
|
-
|
267
260
|
== J1 Gallery App
|
268
261
|
|
269
|
-
To create
|
270
|
-
plugin
|
262
|
+
To create image and video galleries, J1 Template implements the jQuery
|
263
|
+
plugin JustifiedGallery as the main gallery module. Beside Justified
|
271
264
|
Gallery, a gallery based on pure _Bootstrap_ code is available with the build-in
|
272
|
-
gallery app
|
265
|
+
gallery app gallery.
|
273
266
|
|
274
|
-
|
275
|
-
and high quality
|
276
|
-
with the
|
267
|
+
Justified Gallery is a great jQuery plugin to create responsive, infinite
|
268
|
+
and high quality justified image galleries. J1 Template combines the gallery
|
269
|
+
with the lightboxes supported to enlage the images of a gallery.
|
277
270
|
|
278
|
-
See
|
271
|
+
See Justified Gallery in action - and for sure all what you see is even
|
279
272
|
responsive. Change the size of your current browser window, by width or height,
|
280
273
|
to see what will happen!
|
281
274
|
|
282
275
|
=== Justified Gallery
|
283
276
|
|
284
|
-
Pictures you've made are typically
|
277
|
+
Pictures you've made are typically not even in size. Images may have the
|
285
278
|
same size (resolution), but some of the are orientated landscape or other
|
286
279
|
may portrait. For that reason, a more powerful gallery is needed to create
|
287
|
-
so-called
|
280
|
+
so-called justified views.
|
288
281
|
|
289
|
-
|
282
|
+
Justified Gallery is using a so-called masonry grid layout. It works by
|
290
283
|
placing elements in an optimal position based on available horizontal and
|
291
284
|
vertical space. Sort of like mason fitting stones in a wall. You’ll have
|
292
285
|
seen it in use all over the Internet!
|
@@ -294,7 +287,6 @@ seen it in use all over the Internet!
|
|
294
287
|
.Masonry grid layout of Justified Gallery
|
295
288
|
gallery::jg_customizer[]
|
296
289
|
|
297
|
-
|
298
290
|
== Whats next
|
299
291
|
|
300
292
|
Hopefully you've enjoyed exploring the possibilities J1 offers for managing
|
@@ -79,50 +79,50 @@ include::{includedir}/attributes.asciidoc[tag=data]
|
|
79
79
|
|
80
80
|
Playing video on a web page seems not that special since you can already
|
81
81
|
watch videos on web pages through plugins like _Flash Player_, _Quicktime_
|
82
|
-
or _Silverlight_. A new standard goes to
|
82
|
+
or _Silverlight_. A new standard goes to HTML5 Video, a pure HTML way to
|
83
83
|
show video on the web; instead of the previous de facto standard of using
|
84
|
-
|
84
|
+
proprietary software.
|
85
85
|
|
86
86
|
== Video Galleries
|
87
87
|
|
88
|
-
|
88
|
+
HTML5 Video open the doors to your way presenting video content. Modern
|
89
89
|
browsers support the video tag `<video>` for the HTML5 Video standard. Browsers
|
90
90
|
have a build-in multimedia framework already for decoding and displaying
|
91
91
|
video content. No need to use such proprietary software components anymore!
|
92
92
|
|
93
|
-
HTML5 Video support is given by the App
|
94
|
-
|
93
|
+
HTML5 Video support is given by the App gallery combined with the Lightbox
|
94
|
+
LightGallery.
|
95
95
|
|
96
96
|
Two types of video sources are supported:
|
97
97
|
|
98
|
-
. videos from
|
99
|
-
. videos from
|
98
|
+
. videos from local files (your web space)
|
99
|
+
. videos from online sources (on the Internet) like YouTube, Vimeo, etc.
|
100
100
|
|
101
|
-
The combination of the App
|
101
|
+
The combination of the App gallery and the lightbox LightGallery is quite
|
102
102
|
usable for all the video content you want to present on your site. Galleries
|
103
103
|
can be placed elsewhere with your content. You can use them for video blogs
|
104
104
|
for example by placing them into your blog articles content.
|
105
105
|
|
106
|
-
WARNING:
|
107
|
-
business use, a
|
108
|
-
how to use LightGallery for
|
106
|
+
WARNING: LightGallery can be used for free for private use but for
|
107
|
+
business use, a commercial license is needed. See link:{light-gallery-license}[Light Gallery license]
|
108
|
+
how to use LightGallery for commercial webs and projects.
|
109
109
|
|
110
110
|
== Local video content
|
111
111
|
|
112
112
|
Digital image content, simple pictures or vidoes, are quite easy to make.
|
113
113
|
Today, each and every mobile has a camera - not that bad! Presenting a bunch
|
114
|
-
of (digital) pictures is very easy by using
|
114
|
+
of (digital) pictures is very easy by using Justified Gallery for example.
|
115
115
|
Videos created by a digi cam or a mobile can played by J1 Template using the
|
116
|
-
|
116
|
+
HTML5 Video support of LightGallery.
|
117
117
|
|
118
|
-
Two players are available with
|
118
|
+
Two players are available with LightGallery:
|
119
119
|
|
120
120
|
. an internal player used by default
|
121
121
|
. http://videojs.com/[video.js], a excellent Javascript video library
|
122
122
|
|
123
123
|
NOTE: The HTML5 specification does _not_ define which video and audio formats
|
124
|
-
browsers _should_ support. J1
|
125
|
-
HTML5 Video formats browsers support today such as
|
124
|
+
browsers _should_ support. J1 LightGallery supports all _typical_ types of
|
125
|
+
HTML5 Video formats browsers support today such as MP4, WebM, and Ogg.
|
126
126
|
|
127
127
|
.HTML5 video gallery
|
128
128
|
gallery::jg_video_html5[role="mb-5"]
|
@@ -133,7 +133,7 @@ The Internet is full of interesting content. Video content is very popular,
|
|
133
133
|
the number of channels at e.g. _YouTube_ is enormous. If you want to present
|
134
134
|
video content from the Internet, e.g. your channnel, the online video
|
135
135
|
support of J1 Template may a good choice. Find some enjoyable videos from
|
136
|
-
|
136
|
+
James Cordon's channel: Carpool Karaoke.
|
137
137
|
|
138
138
|
.YouTube Video Gallery - Carpool Karaoke
|
139
139
|
gallery::jg_video_online_youtube[role="mb-5"]
|
@@ -143,9 +143,9 @@ gallery::jg_video_online_vimeo[role="mb-5"]
|
|
143
143
|
|
144
144
|
== Whats next
|
145
145
|
|
146
|
-
Images and videos are quite
|
147
|
-
But the most visual component is
|
146
|
+
Images and videos are quite visual - and could be impressive, for sure.
|
147
|
+
But the most visual component is text for all pages, for all sites on the
|
148
148
|
Internet. To see how text could be presented great for modern responsive
|
149
|
-
websites, check the section
|
149
|
+
websites, check the section Typography next.
|
150
150
|
|
151
151
|
What? Find out how it works. go for: link:{roundtrip-typography}[Typography].
|
@@ -78,7 +78,7 @@ images.
|
|
78
78
|
== Responsive Text
|
79
79
|
|
80
80
|
One common flaw seen in many templates and frameworks (sadly to say: the same
|
81
|
-
to Bootstrap) is a lack of support for truly
|
81
|
+
to Bootstrap) is a lack of support for truly responsive text. While elements
|
82
82
|
on a page resize fluidly, text still resizes on a fixed basis. To avoiding this
|
83
83
|
issue, especially for heavily text focussed pages, J1 Template supports styles
|
84
84
|
that fluidly scales text size and line-height to optimize readability for the
|
@@ -140,7 +140,7 @@ you can offer different text sizes of your Web for vistors having a visual
|
|
140
140
|
handicap or reading disabilities.
|
141
141
|
|
142
142
|
To see `r-text` scaling in action, click on the button above to resize
|
143
|
-
the text from `r-text` level
|
143
|
+
the text from `r-text` level 300 to 500 back and forth. And again: resize
|
144
144
|
your Browser and watch the size of this text body change to see responsiveness
|
145
145
|
of the text in action.
|
146
146
|
|
@@ -252,11 +252,11 @@ explorer of the truth, the master-builder of human happiness.
|
|
252
252
|
//////////
|
253
253
|
=== Mixing font sizes
|
254
254
|
|
255
|
-
See the example below. Two cards are tied together by a title of
|
256
|
-
The
|
257
|
-
is on each and every card of such a group, it makes sense to give the
|
258
|
-
level headline a smaller font size than the
|
259
|
-
|
255
|
+
See the example below. Two cards are tied together by a title of Your Topic.
|
256
|
+
The taglines are different and focus on different things. Because the title
|
257
|
+
is on each and every card of such a group, it makes sense to give the upper
|
258
|
+
level headline a smaller font size than the tagline that decribes different
|
259
|
+
features.
|
260
260
|
|
261
261
|
To not loose the focus on reading the text, font icons are used to support what
|
262
262
|
a card decribes to get the readers orientated better. The left one has a
|
@@ -267,7 +267,7 @@ video and audio.
|
|
267
267
|
<div id="roundtrip_example_panel" class="mt-2 mb-3"></div>
|
268
268
|
++++
|
269
269
|
|
270
|
-
The
|
270
|
+
The body text is the smallest in size. On one hand to save space on other
|
271
271
|
hand the readers know in general what they can can expect to read about. To
|
272
272
|
focus the body text, it's positioned in the middle and centered for optimal
|
273
273
|
placement. A final quote text followed by a button in card footer guides the
|
@@ -284,10 +284,10 @@ elements may help to reduce to space needed - more can be placed on page. On
|
|
284
284
|
other hand, navigation elements present by playful and interactive means.
|
285
285
|
|
286
286
|
The next two simple examples shows you what type of UI's may helpful to present
|
287
|
-
a bunch of information
|
288
|
-
|
287
|
+
a bunch of information on a small footprint: tabbed text by using Bootstrap's
|
288
|
+
Nav Pills.
|
289
289
|
|
290
|
-
The design for the Bootstrap
|
290
|
+
The design for the Bootstrap nav pills were change into MD Design. As all
|
291
291
|
elements available with J1 Template, the _Meterial Design_ color palette is
|
292
292
|
used. All Bootstrap base classes can be used to colorize:
|
293
293
|
|
@@ -50,7 +50,7 @@ include::{includedir}/attributes.asciidoc[tag=data]
|
|
50
50
|
|
51
51
|
// Set local page attributes
|
52
52
|
// -----------------------------------------------------------------------------
|
53
|
-
// :images-dir: {imagesdir}/path/to/page/images
|
53
|
+
// :images-dir: {imagesdir}/path/to/page/images
|
54
54
|
|
55
55
|
|
56
56
|
// Page content
|
@@ -72,7 +72,7 @@ different icons for many categories used for the Web. See below some details
|
|
72
72
|
for <<Material Design Icons>> and <<FontAwesome Icons>>.
|
73
73
|
|
74
74
|
Iconify Icons is not a local stored icon set like MDI or FA. All icons are
|
75
|
-
loaded over the
|
75
|
+
loaded over the Internet using the so-called unified open source icon
|
76
76
|
framework. See section <<Iconify Icons>> for more information.
|
77
77
|
|
78
78
|
|
@@ -84,7 +84,7 @@ prospective, _MDI_ has an excellent Material Design support an comes with the
|
|
84
84
|
original icon set created by _Google_ build-in.
|
85
85
|
|
86
86
|
_Material Design Icons_ (MDI) is a very helpful design resource for Web Design
|
87
|
-
that is based on
|
87
|
+
that is based on _Google_'s Material Design. _MDI_ is a community-driven
|
88
88
|
project to create an increased icon-set based on _Google_'s official repository
|
89
89
|
and MD style specification.
|
90
90
|
|
@@ -95,7 +95,7 @@ and MD style specification.
|
|
95
95
|
|
96
96
|
|1x
|
97
97
|
|no modifier set
|
98
|
-
|All `icon_name` can be found on the Preview page for
|
98
|
+
|All `icon_name` can be found on the Preview page for MDI Icon Previewer
|
99
99
|
[source, adoc, role="noclip"]
|
100
100
|
----
|
101
101
|
mdi:account[1x]
|
@@ -104,7 +104,7 @@ mdi:account[1x]
|
|
104
104
|
|
105
105
|
|3x
|
106
106
|
|no modifier set
|
107
|
-
|All `icon_name` can be found on the Preview page for
|
107
|
+
|All `icon_name` can be found on the Preview page for MDI Icon Previewer
|
108
108
|
[source, adoc, role="noclip"]
|
109
109
|
----
|
110
110
|
mdi:account[3x]
|
@@ -113,7 +113,7 @@ mdi:account[3x]
|
|
113
113
|
|
114
114
|
|5x
|
115
115
|
|no modifier set
|
116
|
-
|All `icon_name` can be found on the Preview page for
|
116
|
+
|All `icon_name` can be found on the Preview page for MDI Icon Previewer
|
117
117
|
[source, adoc, role="noclip"]
|
118
118
|
----
|
119
119
|
mdi:account[5x]
|
@@ -199,7 +199,7 @@ the official set created by _Google_.
|
|
199
199
|
_J1 Template_ supports the full set of _MDI_ for the Web (Webfont, WOFF). The
|
200
200
|
icon set is fully integrated and can be used out-of-the-box.
|
201
201
|
|
202
|
-
For MDI a
|
202
|
+
For MDI a Preview Page is available to explore what can be done base on the
|
203
203
|
J1 implemetation regarding sizes, colors, animations etc. Go for the
|
204
204
|
link:{previewer-mdi}[Preview Page, {window}] and check-out what's
|
205
205
|
possible using MDI font icons!
|
@@ -214,8 +214,8 @@ frameworks used for web development. Today, FA comes with 2300+ icons included.
|
|
214
214
|
|
215
215
|
[NOTE]
|
216
216
|
====
|
217
|
-
Since version 5, the icon set comes in two packages: FontAwesome
|
218
|
-
and the
|
217
|
+
Since version 5, the icon set comes in two packages: FontAwesome Free
|
218
|
+
and the proprietary FontAwesome Pro version available for a license fee.
|
219
219
|
|
220
220
|
The free versions (all releases up to 4 and the free version for 5) are
|
221
221
|
available under SIL Open Font License 1.1, Creative Commons Attribution 4.0,
|
@@ -229,7 +229,7 @@ and the MIT License.
|
|
229
229
|
|
230
230
|
|1x
|
231
231
|
|no modifier set
|
232
|
-
|All `icon_name` can be found on the Preview page for
|
232
|
+
|All `icon_name` can be found on the Preview page for MDI Icon Previewer
|
233
233
|
[source, adoc, role="noclip"]
|
234
234
|
----
|
235
235
|
fas:user[1x]
|
@@ -238,7 +238,7 @@ fas:user[1x]
|
|
238
238
|
|
239
239
|
|3x
|
240
240
|
|no modifier set
|
241
|
-
|All `icon_name` can be found on the Preview page for
|
241
|
+
|All `icon_name` can be found on the Preview page for MDI Icon Previewer
|
242
242
|
[source, adoc, role="noclip"]
|
243
243
|
----
|
244
244
|
fas:user[3x]
|
@@ -247,7 +247,7 @@ fas:user[3x]
|
|
247
247
|
|
248
248
|
|5x
|
249
249
|
|no modifier set
|
250
|
-
|All `icon_name` can be found on the Preview page for
|
250
|
+
|All `icon_name` can be found on the Preview page for MDI Icon Previewer
|
251
251
|
[source, adoc, role="noclip"]
|
252
252
|
----
|
253
253
|
fas:user[5x]
|
@@ -318,11 +318,11 @@ this in section link:{roundtrip-asciidoc-extensions}#icon-fonts[Asciidoc Extensi
|
|
318
318
|
|
319
319
|
FontAwesome V5 meets the Material Design idea (of _Google_) and in compare to
|
320
320
|
Version 4, the current version is much more than a face-lifting. The Version 5
|
321
|
-
comes with more than 2300+ icons but many of them are available with the
|
322
|
-
license only. For the
|
321
|
+
comes with more than 2300+ icons but many of them are available with the Pro
|
322
|
+
license only. For the Free version, a subset of 900+ icons is available.
|
323
323
|
|
324
324
|
NOTE: The CSS styles for FontAwesome V5 has been extended for J1 Template to
|
325
|
-
the
|
325
|
+
the same styles (and their respective names) as for other Font Icon sets.
|
326
326
|
Already existing styles like `fa-flip-vertical` is available as `fa-flip-v`
|
327
327
|
as well. See all styles that can be used with the MDI
|
328
328
|
link:{previewer-mdi}[Preview Page, {window}].
|
@@ -339,13 +339,13 @@ the basics and features and styles.
|
|
339
339
|
|
340
340
|
== Iconify Icons
|
341
341
|
|
342
|
-
MDI and FA are quite rich icon sets but designed for
|
343
|
-
icons are missing in one of these fonts like specific
|
342
|
+
MDI and FA are quite rich icon sets but designed for general use. Sometimes
|
343
|
+
icons are missing in one of these fonts like specific brand or theme
|
344
344
|
icons.
|
345
345
|
|
346
|
-
An interesting solution for using font icons from a
|
346
|
+
An interesting solution for using font icons from a remote repository is
|
347
347
|
link:{iconify-home}[Iconify, {window}]. Iconify is a so-called unified
|
348
|
-
|
348
|
+
open source icon framework that makes it possible to use icons from different
|
349
349
|
icon sets using one syntax.
|
350
350
|
|
351
351
|
To access that framework, a Javascript client is needed. For J1 Template, the
|
@@ -413,7 +413,7 @@ this in section link:{roundtrip-asciidoc-extensions}#icon-fonts[Asciidoc Extensi
|
|
413
413
|
== Whats next
|
414
414
|
|
415
415
|
Hopefully you've enjoyed the possibilities J1 offers for managing and
|
416
|
-
manipulating
|
416
|
+
manipulating Font Icons. Do you think these Icons sets fit your needs?
|
417
417
|
|
418
418
|
Using Iconify, for all topics a icon font should be found. And it's simple,
|
419
419
|
is'nt it?
|