Skip to content

Commit 3605485

Browse files
committed
Use BS 5.2 in README.
1 parent 9c4a3ec commit 3605485

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ is shown in the following snippet:
105105
</j:jelly>
106106
----
107107
<1> Enable the property `nogrid` so we can use the bootstrap built-in grid (and not the Jenkins grid). Otherwise the layout will break.
108-
<2> Import Bootstrap 4: Importing of JS and CSS components is done using the adjunct concept,
108+
<2> Import Bootstrap 5: Importing of JS and CSS components is done using the adjunct concept,
109109
which is the preferred way of referencing static resources within Jenkins' Stapler Web framework.
110110
<3> The whole view will be placed into a fluid container that fills up the whole screen (100% width).
111111
<4> A new row of the view is specified with class `row`. The additional class `py-3` defines the padding to use for
112-
this row, see https://getbootstrap.com/docs/4.0/utilities/spacing/[Bootstrap Spacing] for more details.
112+
this row, see https://getbootstrap.com/docs/5.2/utilities/spacing/[Bootstrap Spacing] for more details.
113113
<5> Since Bootstrap automatically splits up a row into 12 equal sized columns we define here
114114
that the first column should occupy 6 of these 12 columns. You can also leave off the detailed numbers, then Bootstrap will
115115
automatically distribute the content in the available space. Just be aware that this not what you want in most of the times.
@@ -128,7 +128,7 @@ opening the same page on a larger device, then two of the pie charts are shown s
128128
When presenting information of a plugin as a block, typically plain text elements are shown. This will normally result
129129
in some kind of boring web pages. In order to create a more appealing interface, it makes sense to present such information
130130
in a card, that has a border, a header, an icon, and so on. In order to create such a
131-
https://getbootstrap.com/docs/4.4/components/card/[Bootstrap card] a small jelly tag has been provided by the new
131+
https://getbootstrap.com/docs/5.2/components/card/[Bootstrap card] a small jelly tag has been provided by the new
132132
https://github.com/jenkinsci/bootstrap5-api-plugin[Bootstrap plugin] that simplifies this task for a plugin.
133133
Such a card can be easily created in a jelly view in the following way:
134134

0 commit comments

Comments
 (0)