j1-template 2022.0.1 → 2022.0.2
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/navigator/generator.html +3 -3
- data/_includes/themes/j1/modules/search/docsearch.html +1 -1
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +2 -2
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -1
- 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/quicklinks.html +2 -2
- 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/j1.js +6 -6
- data/assets/themes/j1/adapter/js/navigator.js +3 -3
- data/assets/themes/j1/adapter/js/themer.js +13 -4
- 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/modules/bmd/js/bmd.js +3 -3
- data/assets/themes/j1/modules/bmd/js/bmd.min.js +1 -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/twemoji/js/picker/twemoji-picker.js +2 -2
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -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/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/j1_config.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
- data/lib/starter_web/_data/resources.yml +1 -1
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- 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/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/legal/de/300_privacy.adoc +4 -4
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +3 -4
- 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 +7 -6
@@ -0,0 +1,55 @@
|
|
1
|
+
// ~/document_base_folder/000_includes
|
2
|
+
// Asciidoc attribute includes: attributes.asciidoc
|
3
|
+
// -----------------------------------------------------------------------------
|
4
|
+
|
5
|
+
// URLs - Internal references and/or sources on the Internet
|
6
|
+
// -----------------------------------------------------------------------------
|
7
|
+
tag::urls[]
|
8
|
+
end::urls[]
|
9
|
+
|
10
|
+
|
11
|
+
// FOOTNOTES, global asciidoc attributes (variables)
|
12
|
+
// -----------------------------------------------------------------------------
|
13
|
+
tag::footnotes[]
|
14
|
+
:fn-bootstrap-v5--responsive-text: footnote:[https://getbootstrap.com/docs/5.0/content/typography/#responsive-font-sizes[Supported with Bootstrap V5 · Responsive font sizes, window="_blank"]]
|
15
|
+
end::footnotes[]
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
// Tags - Asciidoc attributes used internally
|
20
|
+
// -----------------------------------------------------------------------------
|
21
|
+
tag::tags[]
|
22
|
+
end::tags[]
|
23
|
+
|
24
|
+
|
25
|
+
// Data - Data elements for Asciidoctor extensions
|
26
|
+
// -----------------------------------------------------------------------------
|
27
|
+
tag::data[]
|
28
|
+
|
29
|
+
:data-images-standalone: "pages/roundtrip/100_present_images/lightbox-image-1.jpg, Golden Gate Bridge with San Francisco in distance, pages/roundtrip/100_present_images/lightbox-image-2.jpg, Forest with mountains behind"
|
30
|
+
:data-images-group: "pages/roundtrip/100_present_images/lightbox-image-1.jpg, Golden Gate Bridge with San Francisco in distance, pages/roundtrip/100_present_images/lightbox-image-2.jpg, Forest with mountains behind"
|
31
|
+
|
32
|
+
:data-images--themes-menu: "pages/roundtrip/500_themes/themes-menu-1280x800.jpg, Themes menu (Bootswatch)"
|
33
|
+
|
34
|
+
:data-quicksearch-icon: "pages/roundtrip/600_quicksearch/quicksearch_icon-800x200.jpg, Search button (magnifier) in the quick access area"
|
35
|
+
:data-quicksearch-input: "pages/roundtrip/600_quicksearch/quicksearch_input-800x200.jpg, Input bar for a QuickSearch"
|
36
|
+
|
37
|
+
end::data[]
|
38
|
+
|
39
|
+
|
40
|
+
// Images - Images from local include/images folder
|
41
|
+
// -----------------------------------------------------------------------------
|
42
|
+
tag::images[]
|
43
|
+
end::images[]
|
44
|
+
|
45
|
+
|
46
|
+
// PRODUCTS, local product information (e.g. release)
|
47
|
+
// -----------------------------------------------------------------------------
|
48
|
+
tag::products[]
|
49
|
+
end::products[]
|
50
|
+
|
51
|
+
|
52
|
+
// AUTHORS, local author information (e.g. article)
|
53
|
+
// -----------------------------------------------------------------------------
|
54
|
+
tag::authors[]
|
55
|
+
end::authors[]
|
@@ -44,8 +44,26 @@ resource_options:
|
|
44
44
|
href: https://unsplash.com/@alex_andrews
|
45
45
|
---
|
46
46
|
|
47
|
-
// Page
|
47
|
+
// Page Initializer
|
48
48
|
// =============================================================================
|
49
|
+
// Enable the Liquid Preprocessor
|
50
|
+
:page-liquid:
|
51
|
+
|
52
|
+
// Set (local) page attributes here
|
53
|
+
// -----------------------------------------------------------------------------
|
54
|
+
// :page--attr: <attr-value>
|
55
|
+
:images-dir: {imagesdir}/pages/roundtrip/100_present_images
|
56
|
+
|
57
|
+
// Load Liquid procedures
|
58
|
+
// -----------------------------------------------------------------------------
|
59
|
+
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
60
|
+
|
61
|
+
// Load page attributes
|
62
|
+
// -----------------------------------------------------------------------------
|
63
|
+
{% include {{load_attributes}} scope="all" %}
|
64
|
+
|
65
|
+
// Page content
|
66
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
49
67
|
|
50
68
|
// Include sub-documents (if any)
|
51
69
|
// -----------------------------------------------------------------------------
|
@@ -61,17 +79,47 @@ content at its best on all devices for all window sizes makes a great Web
|
|
61
79
|
brilliant. J1 Template supports your Web for full responsiveness, for the
|
62
80
|
best user experience on all modern devices.
|
63
81
|
|
64
|
-
|
82
|
+
// [role="skiptranslate"]
|
83
|
+
=== Bootstrap Integration
|
65
84
|
|
66
85
|
To not sidetrack your audience by irritating user interface (UI) components,
|
67
86
|
the J1 Template is based on Bootstrap. Bootstrap is one of the most popular
|
68
|
-
frameworks for web development used today. J1 is based on Bootstrap
|
87
|
+
frameworks for web development used today. J1 is based on Bootstrap V5,
|
69
88
|
the last current version to support your visitors by common navigation
|
70
89
|
elements, data input, tables, and many other components.
|
71
90
|
|
72
91
|
Bootstrap simplifies HTML programming a lot, offers excellent JS support
|
73
92
|
for interactive components like navigation elements, cards, forms, etc.
|
74
93
|
|
94
|
+
==== Themes
|
95
|
+
|
96
|
+
The themes feature for J1 is in an experimental state for the template
|
97
|
+
system. Anyway, it makes sense to present what is possible using different
|
98
|
+
versions of Bootstrap's CSS styles for a website.
|
99
|
+
|
100
|
+
Themes step in the framework to further adjust the website's appearance
|
101
|
+
based on the core CSS rules and definitions of Bootstrap. Themes do not
|
102
|
+
change the framework's functionality but modify rule-based, e.g., the
|
103
|
+
color scheme, fonts, sizes, or the appearance of more complex elements like
|
104
|
+
forms or tables. Additionally, a theme may add additional components but in
|
105
|
+
the *sense* of Bootstrap's framework rules and philosophy.
|
106
|
+
|
107
|
+
It is expected that many people will change the template for their needs. To
|
108
|
+
create unique websites. Fundamental to do this is are CSS styles
|
109
|
+
defined by Bootstrap.
|
110
|
+
|
111
|
+
.Themes menu (Bootswatch)
|
112
|
+
lightbox::images--themes-menu[ 1024, {data-images--themes-menu} ]
|
113
|
+
|
114
|
+
Thanks to the people at link:{url-bootswatch--home}[Bootswatch, {browser-window--new}],
|
115
|
+
a great set of already prepared Bootstrap stylesheets (20+ for BS V5) in
|
116
|
+
various designs are available on their website. There is no need to start from
|
117
|
+
scratch, re-define all the Bootstrap variables, and rebuild the framework files
|
118
|
+
to create a new theme. Many different styles are available. What is already
|
119
|
+
available at Bootswatch is at least a good base for your modifications; your
|
120
|
+
unique design.
|
121
|
+
|
122
|
+
|
75
123
|
[[current-technology]]
|
76
124
|
== HTML5 · CSS3 · JS
|
77
125
|
|
@@ -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>');
|