j1-template 2022.0.1 → 2022.0.5
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/ads/ad.html +14 -14
- data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +3 -13
- data/_includes/themes/j1/modules/connectors/comment/hyvor.html +4 -5
- data/_includes/themes/j1/modules/navigator/generator.html +3 -3
- data/_includes/themes/j1/modules/search/docsearch.html +1 -1
- data/_includes/themes/j1/procedures/global/create_bs_button.proc +4 -4
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +2 -2
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -1
- data/_includes/themes/j1/procedures/posts/pager.proc +2 -2
- data/_layouts/default.html +3 -11
- data/assets/data/authclient.html +11 -11
- data/assets/data/cookieconsent.html +8 -8
- data/assets/data/gallery_customizer.html +4 -4
- data/assets/data/menu.html +13 -13
- data/assets/data/mmenu.html +2 -2
- data/assets/data/private.json +1 -5
- data/assets/data/quicklinks.html +62 -47
- data/assets/data/rtext_resizer.html +1 -1
- data/assets/data/themes.bootswatch.json +2 -2
- data/assets/data/themes.json +4 -4
- data/assets/data/translator.html +8 -8
- data/assets/themes/j1/adapter/js/clipboard.js +1 -1
- data/assets/themes/j1/adapter/js/cookieConsent.js +18 -13
- data/assets/themes/j1/adapter/js/j1.js +23 -23
- data/assets/themes/j1/adapter/js/navigator.js +3 -3
- data/assets/themes/j1/adapter/js/themer.js +13 -4
- data/assets/themes/j1/adapter/js/translator.js +10 -6
- data/assets/themes/j1/core/css/themes/{uno-dark → unodark}/bootstrap.css +0 -0
- data/assets/themes/j1/core/css/themes/{uno-dark → unodark}/bootstrap.min.css +0 -0
- data/assets/themes/j1/core/css/themes/{uno-light → unolight}/bootstrap.css +326 -18
- data/assets/themes/j1/core/css/themes/{uno-light → unolight}/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +143 -65
- data/assets/themes/j1/core/js/template.min.js +5 -5
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/bmd/js/bmd.js +3 -3
- data/assets/themes/j1/modules/bmd/js/bmd.min.js +1 -1
- data/assets/themes/j1/modules/cryptoJS/js/aes.js +35 -0
- data/assets/themes/j1/modules/cryptoJS/js/aes.min.js +35 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-md5.js +21 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-ripemd160.js +31 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-sha1.js +17 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-sha224.js +19 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-sha256.js +18 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-sha3.js +21 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-sha384.js +27 -0
- data/assets/themes/j1/modules/cryptoJS/js/hmac-sha512.js +25 -0
- data/assets/themes/j1/modules/cryptoJS/js/md5.js +19 -0
- data/assets/themes/j1/modules/cryptoJS/js/pbkdf2.js +19 -0
- data/assets/themes/j1/modules/cryptoJS/js/rabbit-legacy.js +36 -0
- data/assets/themes/j1/modules/cryptoJS/js/rabbit.js +36 -0
- data/assets/themes/j1/modules/cryptoJS/js/rc4.js +33 -0
- data/assets/themes/j1/modules/cryptoJS/js/ripemd160.js +29 -0
- data/assets/themes/j1/modules/cryptoJS/js/sha1.js +15 -0
- data/assets/themes/j1/modules/cryptoJS/js/sha224.js +17 -0
- data/assets/themes/j1/modules/cryptoJS/js/sha256.js +16 -0
- data/assets/themes/j1/modules/cryptoJS/js/sha3.js +19 -0
- data/assets/themes/j1/modules/cryptoJS/js/sha384.js +25 -0
- data/assets/themes/j1/modules/cryptoJS/js/sha512.js +23 -0
- data/assets/themes/j1/modules/cryptoJS/js/tripledes.js +51 -0
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +460 -0
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +379 -353
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.min.js +1 -1
- data/assets/themes/j1/modules/gtag-opt-in/js/gtag-opt-in.js +93 -1
- data/assets/themes/j1/modules/materialize/js/autocomplete.js +1 -1
- data/assets/themes/j1/modules/materialize/js/bin/materialize.js +4 -4
- data/assets/themes/j1/modules/materialize/js/bin/materialize.min.js +1 -1
- data/assets/themes/j1/modules/materialize/js/global.js +1 -1
- data/assets/themes/j1/modules/materialize/js/select.js +1 -1
- data/assets/themes/j1/modules/materialize/js/tapTarget.cash.js +1 -1
- data/assets/themes/j1/modules/scroller/js/scroller.js +6 -6
- data/assets/themes/j1/modules/scroller/js/scroller.min.js +1 -1
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +2 -2
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
- data/exe/j1 +6 -7
- data/lib/j1/commands/generate.rb +15 -16
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +7 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/_defaults/j1_config.yml +1 -1
- data/lib/starter_web/_data/_defaults/private.yml +3 -2
- data/lib/starter_web/_data/_defaults/resources.yml +1 -1
- data/lib/starter_web/_data/blocks/banner.yml +5 -5
- data/lib/starter_web/_data/blocks/defaults/banner.yml +5 -5
- data/lib/starter_web/_data/blocks/defaults/panel.yml +3 -3
- data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +50 -44
- data/lib/starter_web/_data/j1_config.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/navigator.yml +31 -11
- data/lib/starter_web/_data/modules/translator.yml +3 -3
- data/lib/starter_web/_data/private.yml +3 -2
- data/lib/starter_web/_data/resources.yml +28 -3
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_plugins/encodeBase64.rb +46 -0
- data/lib/starter_web/_plugins/encryptAES.rb +53 -0
- data/lib/starter_web/_plugins/filters.rb +2 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/_plugins/minifyJSON.rb +2 -2
- data/lib/starter_web/assets/images/pages/roundtrip/500_themes/themes-menu-1280x800.jpg +0 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +1 -1
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +3 -3
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +1 -1
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +1 -1
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +1 -1
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +1 -1
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +1 -1
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +1 -1
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +1 -1
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +1 -1
- data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +22 -22
- data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +3 -3
- data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +3 -3
- data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +4 -4
- data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +3 -3
- data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +2 -2
- data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +1 -1
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +3 -3
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -21
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -0
- data/lib/starter_web/pages/public/blog/navigator/archive.html +1 -1
- data/lib/starter_web/pages/public/learn/quickstart.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +4 -5
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_info.asciidoc +3 -3
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_central_success.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_left_info.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_right_success.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_info.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_left_info.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_right_success.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc +51 -51
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
- data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +1 -1
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +1 -1
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +5 -5
- data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +4 -5
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -1
- data/lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc +55 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +51 -3
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +163 -73
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +34 -9
- data/lib/j1/commands/help.rb +0 -32
- data/lib/j1/commands/module.rb +0 -69
@@ -84,7 +84,9 @@ resource_options:
|
|
84
84
|
:progress_multiple_bars: true
|
85
85
|
:progress_striped: true
|
86
86
|
:progress_animated: true
|
87
|
-
:
|
87
|
+
:list_group: true
|
88
|
+
:list_group_basic: true
|
89
|
+
:list_group_action: true
|
88
90
|
:cards: true
|
89
91
|
:cards_simple: true
|
90
92
|
:cards_image: false
|
@@ -361,25 +363,25 @@ a *ripple* effect is shown for feedback.
|
|
361
363
|
|
362
364
|
++++
|
363
365
|
<div class="doc-example mb-3">
|
364
|
-
<button type="button" class="btn btn-primary
|
365
|
-
<button type="button" class="btn btn-secondary
|
366
|
-
<button type="button" class="btn btn-success
|
367
|
-
<button type="button" class="btn btn-info
|
368
|
-
<button type="button" class="btn btn-warning
|
369
|
-
<button type="button" class="btn btn-danger
|
370
|
-
<button type="button" class="btn btn-link
|
366
|
+
<button type="button" class="btn btn-primary">Primary</button>
|
367
|
+
<button type="button" class="btn btn-secondary">Secondary</button>
|
368
|
+
<button type="button" class="btn btn-success">Success</button>
|
369
|
+
<button type="button" class="btn btn-info">Info</button>
|
370
|
+
<button type="button" class="btn btn-warning">Warning</button>
|
371
|
+
<button type="button" class="btn btn-danger">Danger</button>
|
372
|
+
<button type="button" class="btn btn-link">Link</button>
|
371
373
|
</div>
|
372
374
|
++++
|
373
375
|
|
374
376
|
[source, html]
|
375
377
|
----
|
376
|
-
<button type="button" class="btn btn-primary
|
377
|
-
<button type="button" class="btn btn-secondary
|
378
|
-
<button type="button" class="btn btn-success
|
379
|
-
<button type="button" class="btn btn-info
|
380
|
-
<button type="button" class="btn btn-warning
|
381
|
-
<button type="button" class="btn btn-danger
|
382
|
-
<button type="button" class="btn btn-link
|
378
|
+
<button type="button" class="btn btn-primary">Primary</button>
|
379
|
+
<button type="button" class="btn btn-secondary">Secondary</button>
|
380
|
+
<button type="button" class="btn btn-success">Success</button>
|
381
|
+
<button type="button" class="btn btn-info">Info</button>
|
382
|
+
<button type="button" class="btn btn-warning">Warning</button>
|
383
|
+
<button type="button" class="btn btn-danger">Danger</button>
|
384
|
+
<button type="button" class="btn btn-link">Link</button>
|
383
385
|
----
|
384
386
|
endif::[]
|
385
387
|
|
@@ -571,17 +573,17 @@ Beside the *default* size, small and large buttons are available.
|
|
571
573
|
|
572
574
|
++++
|
573
575
|
<div class="doc-example mb-3">
|
574
|
-
<button type="button" class="btn btn-primary btn-
|
575
|
-
<button type="button" class="btn btn-primary
|
576
|
-
<button type="button" class="btn btn-primary btn-
|
576
|
+
<button type="button" class="btn btn-primary btn-lg">Large button</button>
|
577
|
+
<button type="button" class="btn btn-primary">Default button</button>
|
578
|
+
<button type="button" class="btn btn-primary btn-sm">Small button</button>
|
577
579
|
</div>
|
578
580
|
++++
|
579
581
|
|
580
582
|
[source, html]
|
581
583
|
----
|
582
|
-
<button type="button" class="btn btn-primary btn-
|
583
|
-
<button type="button" class="btn btn-primary
|
584
|
-
<button type="button" class="btn btn-primary btn-
|
584
|
+
<button type="button" class="btn btn-primary btn-lg">Large button</button>
|
585
|
+
<button type="button" class="btn btn-primary">Default button</button>
|
586
|
+
<button type="button" class="btn btn-primary btn-sm">Small button</button>
|
585
587
|
----
|
586
588
|
endif::[]
|
587
589
|
|
@@ -592,13 +594,13 @@ Draw attention to a button, e.g for a *recommended* action.
|
|
592
594
|
|
593
595
|
++++
|
594
596
|
<div class="doc-example mb-3">
|
595
|
-
<button type="button" class="btn btn-primary
|
597
|
+
<button type="button" class="btn btn-primary pulsed-z2">Recommend</button>
|
596
598
|
</div>
|
597
599
|
++++
|
598
600
|
|
599
601
|
[source, html]
|
600
602
|
----
|
601
|
-
<button type="button" class="btn btn-primary
|
603
|
+
<button type="button" class="btn btn-primary pulsed-z2">Primary</button>
|
602
604
|
----
|
603
605
|
endif::[]
|
604
606
|
|
@@ -613,8 +615,8 @@ and responsive behaviors.
|
|
613
615
|
++++
|
614
616
|
<div class="doc-example mb-3">
|
615
617
|
<div class="d-grid gap-2">
|
616
|
-
<button type="button" class="btn btn-primary btn-lg
|
617
|
-
<button type="button" class="btn btn-secondary
|
618
|
+
<button type="button" class="btn btn-primary btn-lg">Block level button</button>
|
619
|
+
<button type="button" class="btn btn-secondary">Block level button</button>
|
618
620
|
</div>
|
619
621
|
</div>
|
620
622
|
++++
|
@@ -622,8 +624,8 @@ and responsive behaviors.
|
|
622
624
|
[source, html]
|
623
625
|
----
|
624
626
|
<div class="d-grid gap-2">
|
625
|
-
<button type="button" class="btn btn-primary btn-lg
|
626
|
-
<button type="button" class="btn btn-secondary
|
627
|
+
<button type="button" class="btn btn-primary btn-lg">Block level button</button>
|
628
|
+
<button type="button" class="btn btn-secondary">Block level button</button>
|
627
629
|
</div>
|
628
630
|
----
|
629
631
|
endif::[]
|
@@ -1392,7 +1394,7 @@ link:{url-bs-docs--components-forms}[Bootstrap Docs {char-middot} Forms, {browse
|
|
1392
1394
|
</label>
|
1393
1395
|
</div>
|
1394
1396
|
</div>
|
1395
|
-
<button type="submit" class="btn btn-primary
|
1397
|
+
<button type="submit" class="btn btn-primary mt-3">Submit</button>
|
1396
1398
|
</form>
|
1397
1399
|
</div>
|
1398
1400
|
++++
|
@@ -2199,11 +2201,20 @@ ifeval::[{progress_animated} == true]
|
|
2199
2201
|
endif::[]
|
2200
2202
|
endif::[]
|
2201
2203
|
|
2202
|
-
ifeval::[{
|
2203
|
-
==
|
2204
|
+
ifeval::[{list_group} == true]
|
2205
|
+
== List Group
|
2206
|
+
|
2207
|
+
mdi:bootstrap[24px, mdi-md-deep-purple]
|
2208
|
+
link:{url-bs-docs--components-badges}[Bootstrap Docs {char-middot} List group, {browser-window--new}]
|
2209
|
+
|
2210
|
+
List groups are a flexible and powerful component for displaying a *series*
|
2211
|
+
of content within an *single* HTML element.
|
2212
|
+
|
2213
|
+
ifeval::[{list_group_basic} == true]
|
2214
|
+
=== Basic
|
2204
2215
|
|
2205
|
-
|
2206
|
-
|
2216
|
+
The most basic list group is an unordered list with simple list items. Build
|
2217
|
+
upon it with the options that follow, or with your own CSS as needed.
|
2207
2218
|
|
2208
2219
|
++++
|
2209
2220
|
<div class="doc-example mb-3">
|
@@ -2216,6 +2227,85 @@ within an single HTML element.
|
|
2216
2227
|
</ul>
|
2217
2228
|
</div>
|
2218
2229
|
++++
|
2230
|
+
|
2231
|
+
.Basic list group
|
2232
|
+
[source, html]
|
2233
|
+
----
|
2234
|
+
<div>
|
2235
|
+
<ul class="list-group">
|
2236
|
+
<li class="list-group-item">An item</li>
|
2237
|
+
<li class="list-group-item">A second item</li>
|
2238
|
+
<li class="list-group-item">A third item</li>
|
2239
|
+
<li class="list-group-item">A fourth item</li>
|
2240
|
+
<li class="list-group-item">And a fifth one</li>
|
2241
|
+
</ul>
|
2242
|
+
</div>
|
2243
|
+
----
|
2244
|
+
endif::[]
|
2245
|
+
|
2246
|
+
ifeval::[{list_group_action} == true]
|
2247
|
+
=== Actionable
|
2248
|
+
|
2249
|
+
Use `<a>` or `<button>` elements to create *actionable* list group items with
|
2250
|
+
hover, disabled, and active states by adding `.list-group-item-action`.
|
2251
|
+
We separate these pseudo-classes to ensure list groups made of non-interactive
|
2252
|
+
elements (like `<li>` or `<div>` elements) don’t provide a click or tap
|
2253
|
+
affordance.
|
2254
|
+
|
2255
|
+
++++
|
2256
|
+
<div class="doc-example mb-3">
|
2257
|
+
<div class="list-group">
|
2258
|
+
<a href="#" class="list-group-item list-group-item-action active" aria-current="true"> The current link item </a>
|
2259
|
+
<a href="#" class="list-group-item list-group-item-action">A second link item</a>
|
2260
|
+
<a href="#" class="list-group-item list-group-item-action">A third link item</a>
|
2261
|
+
<a href="#" class="list-group-item list-group-item-action">A fourth link item</a>
|
2262
|
+
<a href="#" class="list-group-item list-group-item-action disabled" tabindex="-1" aria-disabled="true">A disabled link item</a>
|
2263
|
+
</div>
|
2264
|
+
</div>
|
2265
|
+
++++
|
2266
|
+
|
2267
|
+
.Actionable list group
|
2268
|
+
[source, html]
|
2269
|
+
----
|
2270
|
+
<div class="list-group">
|
2271
|
+
<a href="#" class="list-group-item list-group-item-action active"
|
2272
|
+
aria-current="true"> The current link item </a>
|
2273
|
+
<a href="#" class="list-group-item list-group-item-action">
|
2274
|
+
A second link item</a>
|
2275
|
+
<a href="#" class="list-group-item list-group-item-action">
|
2276
|
+
A third link item</a>
|
2277
|
+
<a href="#" class="list-group-item list-group-item-action">
|
2278
|
+
A fourth link item</a>
|
2279
|
+
<a href="#" class="list-group-item list-group-item-action
|
2280
|
+
disabled" tabindex="-1"
|
2281
|
+
aria-disabled="true">
|
2282
|
+
A disabled link item</a>
|
2283
|
+
</div>
|
2284
|
+
----
|
2285
|
+
endif::[]
|
2286
|
+
|
2287
|
+
// === Numbered
|
2288
|
+
//
|
2289
|
+
// Add the .list-group-numbered modifier class (and optionally use an
|
2290
|
+
// <ol> element) to opt into numbered list group items. Numbers are
|
2291
|
+
// generated via CSS (as opposed to a <ol>s default browser styling) for
|
2292
|
+
// better placement inside list group items and to allow for better
|
2293
|
+
// customization.
|
2294
|
+
//
|
2295
|
+
// Numbers are generated by counter-reset on the <ol>, and then styled
|
2296
|
+
// and placed with a ::before pseudo-element on the <li> with counter-increment
|
2297
|
+
// and content.
|
2298
|
+
|
2299
|
+
// === With badges
|
2300
|
+
//
|
2301
|
+
// Add badges to any list group item to show unread counts, activity, and more
|
2302
|
+
// with the help of some utilities.
|
2303
|
+
|
2304
|
+
// === Custom content
|
2305
|
+
//
|
2306
|
+
// Add nearly any HTML within, even for linked list groups like the one below,
|
2307
|
+
// with the help of flexbox utilities.
|
2308
|
+
|
2219
2309
|
endif::[]
|
2220
2310
|
|
2221
2311
|
ifeval::[{cards} == true]
|
@@ -2465,7 +2555,7 @@ from the top of the page.
|
|
2465
2555
|
<div class="ml-0">
|
2466
2556
|
<!-- Button trigger modal -->
|
2467
2557
|
<button type="button"
|
2468
|
-
class="btn btn-primary
|
2558
|
+
class="btn btn-primary"
|
2469
2559
|
data-bs-toggle="modal"
|
2470
2560
|
data-bs-target="#exampleSimpleModal">
|
2471
2561
|
Launch Example
|
@@ -2490,8 +2580,8 @@ from the top of the page.
|
|
2490
2580
|
<p>Modal body text goes here.</p>
|
2491
2581
|
</div>
|
2492
2582
|
<div class="modal-footer">
|
2493
|
-
<button type="button" class="btn btn-primary btn-flex
|
2494
|
-
<button type="button" class="btn btn-secondary btn-flex
|
2583
|
+
<button type="button" class="btn btn-primary btn-flex mr-2">Do nothing</button>
|
2584
|
+
<button type="button" class="btn btn-secondary btn-flex" data-bs-dismiss="modal">Close</button>
|
2495
2585
|
</div>
|
2496
2586
|
</div>
|
2497
2587
|
</div>
|
@@ -2506,7 +2596,7 @@ it (the backdrop).
|
|
2506
2596
|
<div class="ml-0">
|
2507
2597
|
<!-- Button trigger modal -->
|
2508
2598
|
<button type="button"
|
2509
|
-
class="btn btn-primary
|
2599
|
+
class="btn btn-primary"
|
2510
2600
|
data-bs-toggle="modal"
|
2511
2601
|
data-bs-target="#exampleStaticModal">
|
2512
2602
|
Launch Example
|
@@ -2533,8 +2623,8 @@ it (the backdrop).
|
|
2533
2623
|
<p>Modal body text goes here.</p>
|
2534
2624
|
</div>
|
2535
2625
|
<div class="modal-footer">
|
2536
|
-
<button type="button" class="btn btn-primary btn-flex
|
2537
|
-
<button type="button" class="btn btn-secondary btn-flex
|
2626
|
+
<button type="button" class="btn btn-primary btn-flex mr-2">Do nothing</button>
|
2627
|
+
<button type="button" class="btn btn-secondary btn-flex" data-bs-dismiss="modal">Close</button>
|
2538
2628
|
</div>
|
2539
2629
|
</div>
|
2540
2630
|
</div>
|
@@ -2550,7 +2640,7 @@ the height.
|
|
2550
2640
|
<div class="ml-0">
|
2551
2641
|
<!-- Button trigger modal -->
|
2552
2642
|
<button type="button"
|
2553
|
-
class="btn btn-primary
|
2643
|
+
class="btn btn-primary"
|
2554
2644
|
data-bs-toggle="modal"
|
2555
2645
|
data-bs-target="#exampleModalLong">
|
2556
2646
|
Launch Example
|
@@ -2609,8 +2699,8 @@ the height.
|
|
2609
2699
|
</p>
|
2610
2700
|
</div>
|
2611
2701
|
<div class="modal-footer">
|
2612
|
-
<button type="button" class="btn btn-primary btn-flex
|
2613
|
-
<button type="button" class="btn btn-secondary btn-flex
|
2702
|
+
<button type="button" class="btn btn-primary btn-flex mr-2">Do nothing</button>
|
2703
|
+
<button type="button" class="btn btn-secondary btn-flex" data-bs-dismiss="modal">Close</button>
|
2614
2704
|
</div>
|
2615
2705
|
</div>
|
2616
2706
|
</div>
|
@@ -2625,7 +2715,7 @@ modal body. Try the demo and scroll the content.
|
|
2625
2715
|
<div class="ml-0">
|
2626
2716
|
<!-- Button trigger modal -->
|
2627
2717
|
<button type="button"
|
2628
|
-
class="btn btn-primary
|
2718
|
+
class="btn btn-primary"
|
2629
2719
|
data-bs-toggle="modal"
|
2630
2720
|
data-bs-target="#exampleModalLongScrollable">
|
2631
2721
|
Launch Example
|
@@ -2684,8 +2774,8 @@ modal body. Try the demo and scroll the content.
|
|
2684
2774
|
</p>
|
2685
2775
|
</div>
|
2686
2776
|
<div class="modal-footer">
|
2687
|
-
<button type="button" class="btn btn-primary btn-flex
|
2688
|
-
<button type="button" class="btn btn-secondary btn-flex
|
2777
|
+
<button type="button" class="btn btn-primary btn-flex mr-2">Do nothing</button>
|
2778
|
+
<button type="button" class="btn btn-secondary btn-flex" data-bs-dismiss="modal">Close</button>
|
2689
2779
|
</div>
|
2690
2780
|
</div>
|
2691
2781
|
</div>
|
@@ -2699,7 +2789,7 @@ modal body. Try the demo and scroll the content.
|
|
2699
2789
|
<div class="ml-0">
|
2700
2790
|
<!-- Button trigger modal -->
|
2701
2791
|
<button type="button"
|
2702
|
-
class="btn btn-primary
|
2792
|
+
class="btn btn-primary"
|
2703
2793
|
data-bs-toggle="modal" data-bs-target="#exampleModalVerticalCenter">
|
2704
2794
|
Launch Example
|
2705
2795
|
</button>
|
@@ -2725,8 +2815,8 @@ modal body. Try the demo and scroll the content.
|
|
2725
2815
|
voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
2726
2816
|
</div>
|
2727
2817
|
<div class="modal-footer">
|
2728
|
-
<button type="button" class="btn btn-primary btn-flex
|
2729
|
-
<button type="button" class="btn btn-secondary btn-flex
|
2818
|
+
<button type="button" class="btn btn-primary btn-flex mr-2">Do nothing</button>
|
2819
|
+
<button type="button" class="btn btn-secondary btn-flex" data-bs-dismiss="modal">Close</button>
|
2730
2820
|
</div>
|
2731
2821
|
</div>
|
2732
2822
|
</div>
|
@@ -2741,7 +2831,7 @@ closed, any tooltips and popovers within are also automatically dismissed.
|
|
2741
2831
|
<div class="ml-0">
|
2742
2832
|
<!-- Button trigger modal -->
|
2743
2833
|
<button type="button"
|
2744
|
-
class="btn btn-primary
|
2834
|
+
class="btn btn-primary"
|
2745
2835
|
data-bs-toggle="modal"
|
2746
2836
|
data-bs-target="#exampleModalTooltip">
|
2747
2837
|
Launch Example
|
@@ -2764,14 +2854,14 @@ closed, any tooltips and popovers within are also automatically dismissed.
|
|
2764
2854
|
</div>
|
2765
2855
|
<div class="modal-body">
|
2766
2856
|
<h4 class="notoc">Popover in a modal</h4>
|
2767
|
-
<p>This <a href="#" role="button" class="btn btn-primary
|
2857
|
+
<p>This <a href="#" role="button" class="btn btn-primary popover-test" data-bs-toggle="popover" title="Popover title" data-content="Popover body content is set in this attribute.">button</a> triggers a popover on hover or click.</p>
|
2768
2858
|
<hr>
|
2769
2859
|
<h4 class="notoc">Tooltips in a modal</h4>
|
2770
2860
|
<p><a href="#" class="tooltip-test" data-bs-toggle="tooltip" title="Tooltip">This link</a> and <a href="#" class="tooltip-test" data-bs-toggle="tooltip" title="Tooltip">that link</a> have tooltips on hover.</p>
|
2771
2861
|
</div>
|
2772
2862
|
<div class="modal-footer">
|
2773
|
-
<button type="button" class="btn btn-primary btn-flex
|
2774
|
-
<button type="button" class="btn btn-secondary btn-flex
|
2863
|
+
<button type="button" class="btn btn-primary btn-flex mr-2">Do nothing</button>
|
2864
|
+
<button type="button" class="btn btn-secondary btn-flex" data-bs-dismiss="modal">Close</button>
|
2775
2865
|
</div>
|
2776
2866
|
</div>
|
2777
2867
|
</div>
|
@@ -2785,7 +2875,7 @@ closed, any tooltips and popovers within are also automatically dismissed.
|
|
2785
2875
|
<!-- Trigger Button (modal) -->
|
2786
2876
|
<div class="ml-0">
|
2787
2877
|
<button type="button"
|
2788
|
-
class="btn btn-primary
|
2878
|
+
class="btn btn-primary"
|
2789
2879
|
data-bs-toggle="modal"
|
2790
2880
|
data-bs-target="#exampleSimpleModal">
|
2791
2881
|
Launch Example
|
@@ -2816,11 +2906,11 @@ closed, any tooltips and popovers within are also automatically dismissed.
|
|
2816
2906
|
</div>
|
2817
2907
|
<div class="modal-footer">
|
2818
2908
|
<button type="button"
|
2819
|
-
class="btn btn-primary btn-flex
|
2909
|
+
class="btn btn-primary btn-flex mr-2"> Do nothing
|
2820
2910
|
</button>
|
2821
2911
|
<button
|
2822
2912
|
type="button"
|
2823
|
-
class="btn btn-secondary btn-flex
|
2913
|
+
class="btn btn-secondary btn-flex"
|
2824
2914
|
data-bs-dismiss="modal"> Close
|
2825
2915
|
</button>
|
2826
2916
|
</div>
|
@@ -2848,10 +2938,10 @@ link:{url-bs-docs--components-tooltips}[Bootstrap Docs {char-middot} Tooltips, {
|
|
2848
2938
|
<div class="doc-example mb-3">
|
2849
2939
|
<div class="row d-flex justify-content-center">
|
2850
2940
|
<div class="col-md-6 p-0">
|
2851
|
-
<button type="button" class="btn btn-primary
|
2852
|
-
<button type="button" class="btn btn-primary
|
2853
|
-
<button type="button" class="btn btn-primary
|
2854
|
-
<button type="button" class="btn btn-primary
|
2941
|
+
<button type="button" class="btn btn-primary" data-bs-toggle="tooltip" data-bs-placement="left" title="Tooltip on left">Left</button>
|
2942
|
+
<button type="button" class="btn btn-primary" data-bs-toggle="tooltip" data-bs-placement="top" title="Tooltip on top">Top</button>
|
2943
|
+
<button type="button" class="btn btn-primary" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Tooltip on bottom">Bottom</button>
|
2944
|
+
<button type="button" class="btn btn-primary" data-bs-toggle="tooltip" data-bs-placement="right" title="Tooltip on right">Right</button>
|
2855
2945
|
</div>
|
2856
2946
|
</div>
|
2857
2947
|
</div>
|
@@ -2860,22 +2950,22 @@ link:{url-bs-docs--components-tooltips}[Bootstrap Docs {char-middot} Tooltips, {
|
|
2860
2950
|
.Examples for Tooltips
|
2861
2951
|
[source, html]
|
2862
2952
|
----
|
2863
|
-
<button type="button" class="btn btn-primary
|
2953
|
+
<button type="button" class="btn btn-primary"
|
2864
2954
|
data-bs-toggle="tooltip"
|
2865
2955
|
data-bs-placement="top"
|
2866
2956
|
title="Tooltip on top">Top
|
2867
2957
|
</button>
|
2868
|
-
<button type="button" class="btn btn-primary
|
2958
|
+
<button type="button" class="btn btn-primary"
|
2869
2959
|
data-bs-toggle="tooltip"
|
2870
2960
|
data-bs-placement="bottom"
|
2871
2961
|
title="Tooltip on bottom">Bottom
|
2872
2962
|
</button>
|
2873
|
-
<button type="button" class="btn btn-primary
|
2963
|
+
<button type="button" class="btn btn-primary"
|
2874
2964
|
data-bs-toggle="tooltip"
|
2875
2965
|
data-bs-placement="right"
|
2876
2966
|
title="Tooltip on right">Right
|
2877
2967
|
</button>
|
2878
|
-
<button type="button" class="btn btn-primary
|
2968
|
+
<button type="button" class="btn btn-primary"
|
2879
2969
|
data-bs-toggle="tooltip"
|
2880
2970
|
data-bs-placement="left"
|
2881
2971
|
title="Tooltip on left">Left
|
@@ -2893,10 +2983,10 @@ link:{url-bs-docs--components-popovers}[Bootstrap Docs {char-middot} Popovers, {
|
|
2893
2983
|
<div class="doc-example mb-3">
|
2894
2984
|
<div class="row d-flex justify-content-center">
|
2895
2985
|
<div class="col-md-6 p-0">
|
2896
|
-
<button type="button" class="btn btn-primary
|
2897
|
-
<button type="button" class="btn btn-primary
|
2898
|
-
<button type="button" class="btn btn-primary
|
2899
|
-
<button type="button" class="btn btn-primary
|
2986
|
+
<button type="button" class="btn btn-primary" title="Popover Title" data-container="body" data-bs-toggle="popover" data-bs-placement="left" data-bs-trigger="hover focus" data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Left</button>
|
2987
|
+
<button type="button" class="btn btn-primary" title="Popover Title" data-container="body" data-bs-toggle="popover" data-bs-placement="top" data-bs-trigger="hover focus" data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Top</button>
|
2988
|
+
<button type="button" class="btn btn-primary" title="Popover Title" data-container="body" data-bs-toggle="popover" data-bs-placement="bottom" data-bs-trigger="hover focus" data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Bottom</button>
|
2989
|
+
<button type="button" class="btn btn-primary" title="Popover Title" data-container="body" data-bs-toggle="popover" data-bs-placement="right" data-bs-trigger="hover focus" data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Right</button>
|
2900
2990
|
</div>
|
2901
2991
|
</div>
|
2902
2992
|
</div>
|
@@ -2905,7 +2995,7 @@ link:{url-bs-docs--components-popovers}[Bootstrap Docs {char-middot} Popovers, {
|
|
2905
2995
|
.Examples for Popovers
|
2906
2996
|
[source, html]
|
2907
2997
|
----
|
2908
|
-
<button type="button" class="btn btn-primary
|
2998
|
+
<button type="button" class="btn btn-primary"
|
2909
2999
|
title="Popover Title"
|
2910
3000
|
data-container="body"
|
2911
3001
|
data-bs-toggle="popover"
|
@@ -2914,7 +3004,7 @@ link:{url-bs-docs--components-popovers}[Bootstrap Docs {char-middot} Popovers, {
|
|
2914
3004
|
data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
|
2915
3005
|
Top
|
2916
3006
|
</button>
|
2917
|
-
<button type="button" class="btn btn-primary
|
3007
|
+
<button type="button" class="btn btn-primary"
|
2918
3008
|
title="Popover Title"
|
2919
3009
|
data-container="body"
|
2920
3010
|
data-bs-toggle="popover"
|
@@ -2923,7 +3013,7 @@ link:{url-bs-docs--components-popovers}[Bootstrap Docs {char-middot} Popovers, {
|
|
2923
3013
|
data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
|
2924
3014
|
Bottom
|
2925
3015
|
</button>
|
2926
|
-
<button type="button" class="btn btn-primary
|
3016
|
+
<button type="button" class="btn btn-primary"
|
2927
3017
|
title="Popover Title" data-container="body"
|
2928
3018
|
data-bs-toggle="popover"
|
2929
3019
|
data-bs-placement="right"
|
@@ -2931,7 +3021,7 @@ link:{url-bs-docs--components-popovers}[Bootstrap Docs {char-middot} Popovers, {
|
|
2931
3021
|
data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
|
2932
3022
|
Right
|
2933
3023
|
</button>
|
2934
|
-
<button type="button" class="btn btn-primary
|
3024
|
+
<button type="button" class="btn btn-primary"
|
2935
3025
|
title="Popover Title"
|
2936
3026
|
data-container="body"
|
2937
3027
|
data-bs-toggle="popover"
|
@@ -2981,9 +3071,9 @@ endif::[]
|
|
2981
3071
|
theme_slogans.Yeti = 'A friendly foundation';
|
2982
3072
|
theme_slogans.Zephyr = 'Breezy and beautiful';
|
2983
3073
|
|
2984
|
-
themeName
|
2985
|
-
theme_slogan
|
2986
|
-
themeNameHeadline
|
3074
|
+
themeName = user_state.theme_name;
|
3075
|
+
theme_slogan = theme_slogans[themeName];
|
3076
|
+
themeNameHeadline = '<h1 id="theme_name" class="mb-0">Theme ' +themeName+ '</h1>';
|
2987
3077
|
|
2988
3078
|
$('#theme').prepend(themeNameHeadline);
|
2989
3079
|
$('#theme').append('<p class="tagline mb-2"><b>' + theme_slogan + '</b></p>');
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: j1-template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2022.0.
|
4
|
+
version: 2022.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- juergen_jekyll_one
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -942,10 +942,10 @@ files:
|
|
942
942
|
- assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css
|
943
943
|
- assets/themes/j1/core/css/themes/theme_vapor/bootstrap.css
|
944
944
|
- assets/themes/j1/core/css/themes/theme_vapor/bootstrap.min.css
|
945
|
-
- assets/themes/j1/core/css/themes/
|
946
|
-
- assets/themes/j1/core/css/themes/
|
947
|
-
- assets/themes/j1/core/css/themes/
|
948
|
-
- assets/themes/j1/core/css/themes/
|
945
|
+
- assets/themes/j1/core/css/themes/unodark/bootstrap.css
|
946
|
+
- assets/themes/j1/core/css/themes/unodark/bootstrap.min.css
|
947
|
+
- assets/themes/j1/core/css/themes/unolight/bootstrap.css
|
948
|
+
- assets/themes/j1/core/css/themes/unolight/bootstrap.min.css
|
949
949
|
- assets/themes/j1/core/css/vendor.css
|
950
950
|
- assets/themes/j1/core/css/vendor.min.css
|
951
951
|
- assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-brands-400.eot
|
@@ -1049,6 +1049,29 @@ files:
|
|
1049
1049
|
- assets/themes/j1/modules/cookieConsent/LICENSE
|
1050
1050
|
- assets/themes/j1/modules/cookieConsent/js/cookieConsent.js
|
1051
1051
|
- assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js
|
1052
|
+
- assets/themes/j1/modules/cryptoJS/js/aes.js
|
1053
|
+
- assets/themes/j1/modules/cryptoJS/js/aes.min.js
|
1054
|
+
- assets/themes/j1/modules/cryptoJS/js/hmac-md5.js
|
1055
|
+
- assets/themes/j1/modules/cryptoJS/js/hmac-ripemd160.js
|
1056
|
+
- assets/themes/j1/modules/cryptoJS/js/hmac-sha1.js
|
1057
|
+
- assets/themes/j1/modules/cryptoJS/js/hmac-sha224.js
|
1058
|
+
- assets/themes/j1/modules/cryptoJS/js/hmac-sha256.js
|
1059
|
+
- assets/themes/j1/modules/cryptoJS/js/hmac-sha3.js
|
1060
|
+
- assets/themes/j1/modules/cryptoJS/js/hmac-sha384.js
|
1061
|
+
- assets/themes/j1/modules/cryptoJS/js/hmac-sha512.js
|
1062
|
+
- assets/themes/j1/modules/cryptoJS/js/md5.js
|
1063
|
+
- assets/themes/j1/modules/cryptoJS/js/pbkdf2.js
|
1064
|
+
- assets/themes/j1/modules/cryptoJS/js/rabbit-legacy.js
|
1065
|
+
- assets/themes/j1/modules/cryptoJS/js/rabbit.js
|
1066
|
+
- assets/themes/j1/modules/cryptoJS/js/rc4.js
|
1067
|
+
- assets/themes/j1/modules/cryptoJS/js/ripemd160.js
|
1068
|
+
- assets/themes/j1/modules/cryptoJS/js/sha1.js
|
1069
|
+
- assets/themes/j1/modules/cryptoJS/js/sha224.js
|
1070
|
+
- assets/themes/j1/modules/cryptoJS/js/sha256.js
|
1071
|
+
- assets/themes/j1/modules/cryptoJS/js/sha3.js
|
1072
|
+
- assets/themes/j1/modules/cryptoJS/js/sha384.js
|
1073
|
+
- assets/themes/j1/modules/cryptoJS/js/sha512.js
|
1074
|
+
- assets/themes/j1/modules/cryptoJS/js/tripledes.js
|
1052
1075
|
- assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc.png
|
1053
1076
|
- assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc_disabled.png
|
1054
1077
|
- assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_both.png
|
@@ -1059,6 +1082,7 @@ files:
|
|
1059
1082
|
- assets/themes/j1/modules/datatables/css/theme/uno.css
|
1060
1083
|
- assets/themes/j1/modules/datatables/js/datatables.js
|
1061
1084
|
- assets/themes/j1/modules/datatables/js/datatables.min.js
|
1085
|
+
- assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js
|
1062
1086
|
- assets/themes/j1/modules/deeplAPI/js/deeplAPI.js
|
1063
1087
|
- assets/themes/j1/modules/deeplAPI/js/deeplAPI.min.js
|
1064
1088
|
- assets/themes/j1/modules/fab/css/theme/uno/fab.css
|
@@ -1448,8 +1472,6 @@ files:
|
|
1448
1472
|
- lib/j1.rb
|
1449
1473
|
- lib/j1/command.rb
|
1450
1474
|
- lib/j1/commands/generate.rb
|
1451
|
-
- lib/j1/commands/help.rb
|
1452
|
-
- lib/j1/commands/module.rb
|
1453
1475
|
- lib/j1/external.rb
|
1454
1476
|
- lib/j1/log_adapter.rb
|
1455
1477
|
- lib/j1/log_helper.rb
|
@@ -1649,6 +1671,8 @@ files:
|
|
1649
1671
|
- lib/starter_web/_plugins/asciidoctor-extensions/twitter-emoji-inline.rb
|
1650
1672
|
- lib/starter_web/_plugins/date-i18n.rb
|
1651
1673
|
- lib/starter_web/_plugins/debug.rb
|
1674
|
+
- lib/starter_web/_plugins/encodeBase64.rb
|
1675
|
+
- lib/starter_web/_plugins/encryptAES.rb
|
1652
1676
|
- lib/starter_web/_plugins/filters.rb
|
1653
1677
|
- lib/starter_web/_plugins/lorem_inline.rb
|
1654
1678
|
- lib/starter_web/_plugins/lunr_index.rb
|
@@ -2029,6 +2053,7 @@ files:
|
|
2029
2053
|
- lib/starter_web/pages/public/legal/en/300_privacy.adoc
|
2030
2054
|
- lib/starter_web/pages/public/legal/en/400_comment_policy.adoc
|
2031
2055
|
- lib/starter_web/pages/public/manuals/dropdown-help.adoc
|
2056
|
+
- lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc
|
2032
2057
|
- lib/starter_web/pages/public/panels/intro_panel/panel.adoc
|
2033
2058
|
- lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc
|
2034
2059
|
- lib/starter_web/utilsrv/_defaults/package.json
|
@@ -2054,7 +2079,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2054
2079
|
- !ruby/object:Gem::Version
|
2055
2080
|
version: '0'
|
2056
2081
|
requirements: []
|
2057
|
-
rubygems_version: 3.2.
|
2082
|
+
rubygems_version: 3.2.32
|
2058
2083
|
signing_key:
|
2059
2084
|
specification_version: 4
|
2060
2085
|
summary: J1 Template
|
data/lib/j1/commands/help.rb
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
module J1
|
2
|
-
module Commands
|
3
|
-
class Help < Command
|
4
|
-
class << self
|
5
|
-
def init_with_program(prog)
|
6
|
-
prog.command(:help) do |c|
|
7
|
-
c.syntax "help [subcommand]"
|
8
|
-
c.description "Show the help message, optionally for a given subcommand."
|
9
|
-
|
10
|
-
c.action do |args, _|
|
11
|
-
cmd = (args.first || "").to_sym
|
12
|
-
if args.empty?
|
13
|
-
puts prog
|
14
|
-
elsif prog.has_command? cmd
|
15
|
-
puts prog.commands[cmd]
|
16
|
-
else
|
17
|
-
invalid_command(prog, cmd)
|
18
|
-
abort
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
def invalid_command(prog, cmd)
|
25
|
-
J1.logger.error "Error:",
|
26
|
-
"Sorry, don't know what the '#{cmd}' command is."
|
27
|
-
J1.logger.info "Valid commands:", prog.commands.keys.join(", ")
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|