Skip to contentSkip to conversation

website/lts: align page style with the rest of the website

PATCH Applied Angelo Compagnucci 2 participants 15 messages Oct 29 – Nov 4

lore
Share & tools
lore
#0 lore raw

PATCH 1/9 website/lts: align page style with the rest of the website

The LTS page used its own visual style (pixel and serif fonts, grid backgrounds, offset shadows) which looked out of place compared to the other pages of the website.

Rework it to use the website style:
- use the #headerwrap blue header from the main page, keeping a big title
- use Bootstrap primary panels for the sections, as done in the support and sponsors pages
- replace the big numbers with round badges and use the website fonts for the item titles
- use the website blue, font and panel shadow in the charts, widen the labels column of the weekly chart and allow the charts to scroll horizontally on small screens instead of overlapping
- add a contact button to the sponsor section

---
 docs/website/css/lts.css | 272 ++++++++++-----------------------------
 docs/website/lts.html    | 164 +++++++++++------------
 2 files changed, 146 insertions(+), 290 deletions(-)
docs/website/css/lts.css +70 -202
index c1e9b198a8..deee73eee3 100644
@@ -1,26 +1,7 @@
-@font-face {
-  font-family: "Compagnon Light";
-  src: url("/fonts/compagnon-light.woff") format("woff");
-  font-weight: 300;
-  font-style: normal;
-  font-display: swap;
-}
-
-@font-face {
-  font-family: "Terminal Grotesque";
-  src: url("/fonts/terminal-grotesque.woff") format("woff");
-  font-weight: normal;
-  font-style: normal;
-  font-display: swap;
-}
-
 :root {
-    --br-blue: #2b7de0;
+    --br-blue: #3498db;
     --br-grid: #dceeff;
     --br-yellow: #dcb045;
-    --font-pixel: "Terminal Grotesque", sans-serif;
-    --font-serif: "Compagnon Light", serif;
-    --br-grid-size: 40px;
 }
 
 @keyframes slideDownFade {
@@ -40,234 +21,109 @@
 }
 
 /**
- * Header with the grid pattern background used by the Buildroot LTS
- *   graphical chart
+ * Header, based on the website #headerwrap
  */
 .br-lts-header {
-    margin-top: 50px;
-    position: relative;
-    width: 100%;
-    min-height: 400px;
-    background-color: #ffffff;
-    overflow: hidden;
-    border-bottom: 4px solid var(--br-blue);
-    display: flex;
-    justify-content: center;
-    padding: 40px 20px;
-}
-
-.br-lts-header-bg {
-    position: absolute;
-    top: 0;
-    left: 0;
-    width: 100%;
-    height: 100%;
-    background-image:
-        linear-gradient(var(--br-grid) 2px, transparent 2px),
-        linear-gradient(90deg, var(--br-grid) 2px, transparent 2px);
-    background-size: 120px 120px;
-    z-index: 1;
-    pointer-events: none;
-}
-
-.br-lts-header-content {
-    position: relative;
-    z-index: 10;
-    max-width: 1200px;
     display: flex;
-    flex-direction: column;
+    align-items: center;
+    padding-top: 80px;
+    padding-bottom: 40px;
 }
 
-.br-lts-header-title {
-    color: var(--br-blue);
-    font-family: var(--font-pixel);
-    font-size: 8rem;
-    display: inline-block;
-    background: white;
-    padding: 10px;
-    margin: 10px;
-    border: 2px solid var(--br-blue);
-    box-shadow: 6px 6px 0 var(--br-blue);
-
-    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
+#headerwrap.br-lts-header h1 {
+    font-size: 90px;
     opacity: 0;
     animation: slideDownFade 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
 }
 
-.br-lts-header-title:nth-of-type(2) {
-    font-size: 6rem;
-    line-height: 6rem;
-    animation-delay: 0.2s;
-}
-
-.br-lts-header-title:hover {
-    background-color: var(--br-blue);
-    color: #ffffff;
-    box-shadow: 8px 8px 0 var(--br-grid);
-    transform: translateY(-2px) translateX(-2px);
+.br-lts-header h1 small {
+    display: block;
+    margin-top: 20px;
+    font-size: 39px;
 }
 
-/**
- * <main> wrapper.
- */
-.br-lts-main {
-    max-width: 1200px;
-    margin: 40px auto;
-    padding: 0 20px;
-}
+@media screen and (max-width: 768px) {
+    #headerwrap.br-lts-header h1 {
+        font-size: 56px;
+    }
 
-/**
- * Custom dotted separator using the BR-LTS theme.
- */
-.br-lts-separator {
-    width: 100%;
-    max-width: 900px;
-    height: 10px;
-    border-bottom: 2px dotted var(--br-blue);
-    margin: 10px 0;
+    .br-lts-header h1 small {
+        font-size: 26px;
+    }
 }
 
 /**
- * Intersection subtitle <div> with grid background
+ * Content wrapper.
  */
-.br-lts-section-header {
-    position: relative;
-    width: 40%;
-    height: calc(var(--br-grid-size) * 3);
-    background-color: #fff;
-    display: flex;
-    align-items: center;
-    padding-left: var(--br-grid-size);
-    margin: var(--br-grid-size) 0;
-    border: 2px solid var(--br-grid);
-
-    text-decoration: none;
-    scroll-margin-top: 20px; /* Offset for jump to anchor */
-}
-
-@media screen and (max-width: 768px) {
-  .br-lts-section-header {
-    width: 100%;
-  }
-}
-
-.br-lts-section-header:hover {
-    border: 2px solid var(--br-blue);
-    box-shadow: 6px 6px 0 var(--br-blue);
-    transition: border-color 0.3s ease, box-shadow 0.3s ease;
-}
-
-.br-lts-section-header .br-lts-bg-grid {
-    position: absolute;
-    top: 0;
-    left: 0;
-    width: 100%;
-    height: 100%;
-    background-image:
-        linear-gradient(var(--br-grid) 2px, transparent 2px),
-        linear-gradient(90deg, var(--br-grid) 2px, transparent 2px);
-    background-size: var(--br-grid-size) var(--br-grid-size);
-    background-position: -1px -1px;
-    z-index: 1;
-    pointer-events: none;
-}
-
-.br-lts-section-header .br-lts-title-box {
-    position: relative;
-    z-index: 10;
-    background-color: #fff;
-    border: 2px solid var(--br-blue);
-    color: var(--br-blue);
-    font-family: var(--font-pixel);
-    font-weight: 400;
-    font-style: normal;
-    font-size: 24px;
-    line-height: 1;
-    padding: 10px 15px;
+.br-lts-main {
+    margin-top: 40px;
+    margin-bottom: 40px;
 }
 
-.br-lts-section-header .br-lts-decoration-dot {
-    position: absolute;
-    z-index: 10;
-    width: 10px;
-    height: 10px;
-    background-color: var(--br-yellow);
-    border-radius: 50%;
-    bottom: 0;
-    left: 0;
-    transform: translate(-50%, 50%);
+.br-lts-main .panel {
+    scroll-margin-top: 80px; /* Offset for jump to anchor */
 }
 
 /**
  * Numbered titled list.
- * The number is spanning on the left.
+ * The number is a round badge on the left.
  * The content is on this right.
  */
 .br-lts-item-row {
     display: flex;
-    gap: 25px;
-    max-width: 900px;
-    position: relative;
+    gap: 20px;
+    padding: 15px 0;
+}
+
+.br-lts-item-row + .br-lts-item-row {
+    border-top: 1px solid #eee;
 }
 
 .br-lts-item-number {
-    font-family: var(--font-pixel);
-    color: var(--br-yellow);
-    font-size: 160px;
-    line-height: 0.8;
     flex-shrink: 0;
-    user-select: none;
-    margin-top: 20px;
+    width: 48px;
+    height: 48px;
+    border-radius: 50%;
+    background-color: var(--br-blue);
+    color: #fff;
+    font-size: 24px;
+    font-weight: 400;
+    line-height: 48px;
     text-align: center;
-    width: 60px;
-}
-
-.br-lts-item-content {
-    display: flex;
-    flex-direction: column;
-    gap: 15px;
-    padding-top: 5px;
+    user-select: none;
 }
 
 .br-lts-item-title {
-    font-family: var(--font-serif);
-    font-style: italic;
-    font-weight: 300;
-    font-size: 42px;
-    line-height: 1.1;
-    color: var(--br-blue);
-    letter-spacing: 1px;
-}
-
-.br-lts-item-text {
-    font-family: var(--font-mono);
-    font-size: 16px;
-    line-height: 1.4;
-    color: #333;
-    max-width: 750px;
+    margin-top: 8px;
 }
 
 /**
  * 'timeline' grid to represent how tasks are expanding across time.
  */
 .br-lts-chart {
+    --br-lts-label-width: 120px;
     display: grid;
-    grid-template-columns: 120px repeat(12, 1fr);
+    grid-template-columns: var(--br-lts-label-width) repeat(12, minmax(45px, 1fr));
     gap: 0;
     width: 100%;
-    max-width: 1000px;
     background-color: #fff;
-    border: 2px solid var(--br-blue);
-    box-shadow: 6px 6px 0 var(--br-blue);
+    border: 1px solid #ddd;
+    border-radius: 2px;
+    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
+    margin: 20px 0;
     position: relative;
     overflow-x: auto;
 }
 
+.br-lts-chart:last-child {
+    margin-bottom: 0;
+}
+
 .br-lts-chart::before {
     content: "";
     position: absolute;
     top: 45px;
-    left: 120px;
+    left: var(--br-lts-label-width);
     right: 0;
     bottom: 0;
     background-size: calc(100% / 12) 100%;
@@ -278,7 +134,7 @@
 .br-lts-chart-head {
     grid-column: 1 / -1;
     display: grid;
-    grid-template-columns: 120px repeat(12, 1fr);
+    grid-template-columns: var(--br-lts-label-width) repeat(12, minmax(45px, 1fr));
     border-bottom: 2px solid var(--br-blue);
     background-color: color-mix(in srgb, var(--br-blue) 6%, white);
     font-weight: bold;
@@ -289,9 +145,9 @@
 .br-lts-chart-head-label {
     text-align: center;
     padding: 10px;
-    border-left: 2px solid var(--br-grid);
-    font-family: var(--font-pixel);
-    font-size: 20px;
+    border-left: 1px solid var(--br-grid);
+    font-size: 18px;
+    font-weight: 400;
     color: var(--br-blue);
 }
 
@@ -302,7 +158,7 @@
 .br-lts-chart-row {
     grid-column: 1 / -1;
     display: grid;
-    grid-template-columns: 120px repeat(12, 1fr);
+    grid-template-columns: var(--br-lts-label-width) repeat(12, minmax(45px, 1fr));
     align-items: center;
     height: 50px;
     border-bottom: 1px dashed #ddd;
@@ -313,8 +169,18 @@
 
 .br-lts-chart-row:last-child { border-bottom: none; }
 
+.br-lts-chart--wide-labels {
+    --br-lts-label-width: 240px;
+}
+
+@media screen and (max-width: 768px) {
+    .br-lts-chart--wide-labels {
+        --br-lts-label-width: 140px;
+    }
+}
+
 .br-lts-chart-row--tall {
-    height: 100px;
+    height: 64px;
 }
 
 .br-lts-chart-row--faded {
@@ -337,6 +203,7 @@
     align-items: center;
     background-color: #fff;
     font-size: 14px;
+    line-height: 1.3;
     transition: color 0.2s ease, background-color 0.2s ease;
 }
 
@@ -347,6 +214,7 @@
 
 .br-lts-bar {
     height: 24px;
+    margin: 0 4px;
     border-radius: 4px;
     display: flex;
     align-items: center;
docs/website/lts.html +76 -88

312 lines not on this page · raw message

Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/9 website: remove unused LTS page fonts

The Compagnon Light and Terminal Grotesque fonts were only used by the LTS page, which now uses the website style and fonts.

---
 docs/website/fonts/compagnon-light.woff    | Bin 44788 -> 0 bytes
 docs/website/fonts/terminal-grotesque.woff | Bin 35360 -> 0 bytes
 2 files changed, 0 insertions(+), 0 deletions(-)
 delete mode 100644 docs/website/fonts/compagnon-light.woff
 delete mode 100644 docs/website/fonts/terminal-grotesque.woff
docs/website/fonts/compagnon-light.woff deleted binary +0 -0
deleted file mode 100644
index b0c6e8764972bd2145f0f7b93a889bfd42b57df8..0000000000000000000000000000000000000000
GIT binary patch
docs/website/fonts/terminal-grotesque.woff deleted binary +0 -0
deleted file mode 100644
index d721311c12df9ecf2af56942bc062e128d9d1e22..0000000000000000000000000000000000000000
GIT binary patch
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH 3/9 website: fix HTML markup errors

In reply to Angelo Compagnucci

- news: the title of the "New logo" entry was written as a broken "<new Logo/h4>" tag, so the entry was displayed without a title
- news: add the missing paragraph tags in the 2010.08-rc2 entry
- download: close the "Downloads" header cell with </th>
- sponsors: add the missing closing tags for the row and container

---
 docs/website/download.html | 2 +-
 docs/website/news.html     | 6 +++---
 docs/website/sponsors.html | 2 ++
 3 files changed, 6 insertions(+), 4 deletions(-)
docs/website/download.html +1 -1
index 3089b1ad03..c51d58444e 100644
@@ -14,7 +14,7 @@
           <th>End of Life</th>
           <th>Latest release</th>
           <th>Latest release date</th>
-          <th colspan="2">Downloads</td>
+          <th colspan="2">Downloads</th>
         </tr>
 <!--
         <tr>
docs/website/news.html +3 -3
index 9ce4ff5427..b1c948e097 100644
@@ -9658,7 +9658,7 @@
       <div class="timeline-body">
 	<p>RC2 is out with more cleanups and bugfixes, see
 	  the <a href="https://gitlab.com/buildroot.org/buildroot/-/blob/2010.08_rc2/CHANGES">CHANGES</a>
-	  file for details.
+	  file for details.</p>
 
 	<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
 	  <a href="/downloads/buildroot-2010.08-rc2.tar.bz2">2010.08-rc2
@@ -9666,7 +9666,7 @@
 	  the <a href="support.html">mailing list</a>
 	  or <a href="https://gitlab.com/buildroot.org/buildroot/-/issues">bug tracker</a>.</p>
 
-	This is very much expected to be the final release candidate,
+	<p>This is very much expected to be the final release candidate,
 	so give it a good test and expect a final 2010.08 release
 	before September unless critical issues are found.</p>
       </div>
@@ -10165,7 +10165,7 @@
     <div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
     <div class="timeline-panel">
       <div class="timeline-heading">
-	<h4 class="timeline-title"><new Logo/h4>
+	<h4 class="timeline-title">New logo</h4>
 	    <p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>27 March 2009</small></p>
       </div>
       <div class="timeline-body">
docs/website/sponsors.html +2 -0
index 5e27166b77..5d203fac92 100644
@@ -521,5 +521,7 @@
     </div>
   </div>
 </div>
+</div>
+</div>
 
 <!--#include file="footer.html" -->
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

Re: [Buildroot] [PATCH 3/9] website: fix HTML markup errors

Quoted 7 lines · Angelo Compagnucci

- news: the title of the "New logo" entry was written as a broken "<new Logo/h4>" tag, so the entry was displayed without a title
- news: add the missing paragraph tags in the 2010.08-rc2 entry
- download: close the "Downloads" header cell with </th>
- sponsors: add the missing closing tags for the row and container

Applied to master, thanks!

Best regards,

Thomas Petazzoni

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

PATCH 4/9 website: switch to Bootstrap 5 and the Bootswatch Materia theme

In reply to Angelo Compagnucci

The website uses Bootstrap 3.3.7 with the Bootswatch Paper theme, which are unmaintained and affected by known vulnerabilities. Paper is not available for newer Bootstrap versions, so switch to Bootstrap 5.3.8 with the Bootswatch Materia theme, which provides the same material design look.

Glyphicons are not shipped anymore with Bootstrap 5, so use Bootstrap Icons 1.13.1 instead.

Migrate the markup accordingly:
- rewrite the navigation bar as a sticky bar, collapsing it below 1200px
- replace panels with Materia cards, the news timeline entries and LTS charts included
- use the new grid offset, image, float and button classes
- rewrite the carousel and the git URL input group
- adapt the tooltip and active menu entry selectors in buildroot.js

Also drop most of the custom styles in favor of the Bootstrap utility classes and the Materia defaults: typography, page headers, spacing helpers, the LTS numbered lists and the sponsors grid.

---
 docs/website/association.html |   28 +-
 docs/website/contribute.html  |   20 +-
 docs/website/css/lts.css      |  277 +--
 docs/website/css/main.css     |  212 +--
 docs/website/css/sponsors.css |   40 -
 docs/website/css/timeline.css |    7 -
 docs/website/docs.html        |   52 +-
 docs/website/download.html    |   34 +-
 docs/website/footer.html      |    2 +-
 docs/website/header.html      |   69 +-
 docs/website/index.html       |  138 +-
 docs/website/js/buildroot.js  |    4 +-
 docs/website/lts.html         |  425 +++--
 docs/website/news.html        | 3020 ++++++++++++++++-----------------
 docs/website/sponsors.html    |  466 ++---
 docs/website/support.html     |   46 +-
 16 files changed, 2219 insertions(+), 2621 deletions(-)
 delete mode 100644 docs/website/css/sponsors.css
docs/website/association.html +14 -14
index 0c2306f348..11c4d59e84 100644
@@ -1,11 +1,11 @@
 <!--#include file="header.html" -->
 
 <div class="container">
-  <div class="row nh"><!-- current sponsor row -->
-    <div class="col-lg-10 col-lg-offset-1 col-md-12 col-sm-12 col-xs-12">
-      <div class="panel panel-primary">
-	<div class="panel-heading">Association</div>
-	<div class="panel-body">
+  <div class="row my-4"><!-- current sponsor row -->
+    <div class="col-lg-10 offset-lg-1 col-md-12 col-sm-12 col-12">
+      <div class="card mb-4">
+	<div class="card-header text-bg-primary rounded-top">Association</div>
+	<div class="card-body">
 
 	  <p>The Buildroot open-source project is supported by a
 	  non-profit organization called the <strong>Buildroot
@@ -41,7 +41,7 @@
 	  official <a href="https://gitlab.com/buildroot.org/buildroot-association/-/raw/master/pdf/Recepisse_CR.pdf">receipt</a>
 	  from the French authorities.</p>
 
-	  <p>Our accounting is fully public, including the bank
+	  <p class="mb-0">Our accounting is fully public, including the bank
 	  account summaries,
 	  see <a href="https://gitlab.com/buildroot.org/buildroot-association/-/tree/master/accounting">accounting</a>. Numerous
 	  other administrative documents related to the association
@@ -51,9 +51,9 @@
 	</div>
       </div>
 
-      <div class="panel panel-primary">
-	<div class="panel-heading">Becoming a member</div>
-	<div class="panel-body">
+      <div class="card mb-4">
+	<div class="card-header text-bg-primary rounded-top">Becoming a member</div>
+	<div class="card-body">
 
 	  <p>To become a member, an individual or a company simply has
 	  to pay its yearly membership. For an individual, the minimum
@@ -76,7 +76,7 @@
 	  <p>There are two possibilities to pay the membership
 	  fee:</p>
 
-	  <ul>
+	  <ul class="mb-0">
 
 	    <li>A direct wire-transfer to the association bank
 	    account. Since the bank account is located in France, this
@@ -94,9 +94,9 @@
 	</div>
       </div>
 
-      <div class="panel panel-primary">
-	<div class="panel-heading">Sponsoring the project</div>
-	<div class="panel-body">
+      <div class="card mb-4">
+	<div class="card-header text-bg-primary rounded-top">Sponsoring the project</div>
+	<div class="card-body">
 
 	  <p>Companies willing to help the Buildroot project can do so
 	  by making a donation to the <em>Buildroot
@@ -108,7 +108,7 @@
 	  registered in France, it is able to deliver a bill and/or
 	  receipt.</p>
 
-	  <p>Please
+	  <p class="mb-0">Please
 	  contact <a href="mailto:[email protected]">[email protected]</a>
 	  if you are a company interested in making a donation.</p>
 
docs/website/contribute.html +10 -10
index 8da371cf01..be86e639f3 100644
@@ -1,12 +1,12 @@
 <!--#include file="header.html" -->
 
 <div class="container">
-<div class="row nh">
-<div class="col-lg-10 col-lg-offset-1 col-md-12 col-sm-12 col-xs-12">
+<div class="row my-4">
+<div class="col-lg-10 offset-lg-1 col-md-12 col-sm-12 col-12">
 
-  <div class="panel panel-primary">
-    <div class="panel-heading">Contribute</div>
-    <div class="panel-body">
+  <div class="card mb-4">
+    <div class="card-header text-bg-primary rounded-top">Contribute</div>
+    <div class="card-body">
       <p>Buildroot is an open source project and we warmly welcome your
         contributions.<br />
 	There are different ways you can get involved:</p>
@@ -32,14 +32,14 @@
 	<a href="https://buildroot.org/manual.html#_contributing_to_buildroot">
 	  Contributing to buildroot</a> chapter in the Buildroot manual. Thanks for your help!</p>
 
-      <p>If you need any support yourself, have a look at <a href="./support.html">
+      <p class="mb-0">If you need any support yourself, have a look at <a href="./support.html">
 	  Support</a>.</p>
     </div>
   </div>
 
-  <div class="panel panel-primary">
-    <div class="panel-heading">Sponsor</div>
-    <div class="panel-body">
+  <div class="card mb-4">
+    <div class="card-header text-bg-primary rounded-top">Sponsor</div>
+    <div class="card-body">
       <p>Besides technical contributions, you can also support the project
         financially.<br />
 	There are various ways make a financial contribution:</p>
@@ -56,7 +56,7 @@
 	  branch of Buildroot.</li>
       </ul>
 
-      <p>All of these sponsors are thanked by listing them on the <a
+      <p class="mb-0">All of these sponsors are thanked by listing them on the <a
         href="./sponsors.html">sponsors page</a>.</p>
     </div>
   </div>
docs/website/css/lts.css +1 -276

279 lines not on this page · raw message

docs/website/css/main.css +20 -192

231 lines not on this page · raw message

docs/website/css/sponsors.css deleted +0 -40
deleted file mode 100644
index 889737eabd..0000000000
@@ -1,40 +0,0 @@
-.sponsors-container {
-  display: flex;
-  flex-wrap: wrap;
-  gap: 15px;
-  align-items: stretch;
-}
-
-.sponsor-entry {
-  flex: 0 0 calc(33.333% - 10px);
-  display: flex;
-  flex-direction: column;
-  min-width: 250px;
-}
-
-.sponsor-entry .panel {
-  flex: 1;
-  display: flex;
-  flex-direction: column;
-}
-
-.sponsor-entry .panel-body {
-  flex: 1;
-  display: flex;
-  flex-direction: column;
-}
-
-.sponsor-title {
-  display: flex;
-  align-items: center;
-  justify-content: center;
-  min-height: 150px;
-}
-
-.sponsor-title img {
-  max-height: 120px;
-}
-
-.sponsor-body {
-  flex: 1;
-}
docs/website/css/timeline.css +0 -7
index df58461ae2..4f33522fca 100644
@@ -43,13 +43,6 @@
 .timeline > li > .timeline-panel {
 	width: 46%;
 	float: left;
-	border: 1px solid #d4d4d4;
-	border-radius: 2px;
-	padding: 20px;
-	position: relative;
-	-webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
-	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
-	background-color: white;
 }
 
 .timeline > li > .timeline-panel:before {
docs/website/docs.html +26 -26

122 lines not on this page · raw message

docs/website/download.html +16 -18
index c51d58444e..6bbb7c8a1d 100644
@@ -1,12 +1,12 @@
 <!--#include file="header.html" -->
 
 <div class="container">
-<div class="row nh">
-<div class="col-lg-10 col-lg-offset-1 col-md-12 col-sm-12 col-xs-12">
+<div class="row my-4">
+<div class="col-lg-10 offset-lg-1 col-md-12 col-sm-12 col-12">
 
-  <div class="panel panel-primary">
-    <div class="panel-heading">Download</div>
-    <div class="panel-body">
+  <div class="card mb-4">
+    <div class="card-header text-bg-primary rounded-top">Download</div>
+    <div class="card-body">
       <table class="table">
         <tr>
           <td></td>
@@ -129,24 +129,22 @@
     </div>
   </div>
 
-  <div class="panel panel-primary">
-    <div class="panel-heading">Git repository</div>
-    <div class="panel-body">
+  <div class="card mb-4">
+    <div class="card-header text-bg-primary rounded-top">Git repository</div>
+    <div class="card-body">
 
       <p>The buildroot repository can be browsed online at
 	<a href="https://gitlab.com/buildroot.org/buildroot/">https://gitlab.com/buildroot.org/buildroot/</a>.</p>
 
       <p>To grab a copy of the repository use</p>
 
-      <div class="input-group" style="width: 100%;">
-	<input class="form-control" style="width: 85%;" id="giturl"
-	       value="git clone https://gitlab.com/buildroot.org/buildroot.git" type="text" readonly></input>
-	<span class="input-group-button">
-	  <button class="btn pull-right" type="button" data-clipboard-target="#giturl"
-		  data-toggle="tooltip" data-placement="bottom" data-trigger="manual" title="Copied!">
-	    <img class="clippy" src="images/clippy.svg" alt="Copy to clipboard" width="13">
-	  </button>
-	</span>
+      <div class="input-group">
+	<input class="form-control" id="giturl"
+	       value="git clone https://gitlab.com/buildroot.org/buildroot.git" type="text" readonly>
+	<button class="btn btn-secondary" type="button" data-clipboard-target="#giturl"
+		data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-trigger="manual" data-bs-title="Copied!">
+	  <img class="clippy" src="images/clippy.svg" alt="Copy to clipboard" width="13">
+	</button>
       </div><br>
 
       <p>If you are not already familiar with using Git, we recommend
@@ -160,7 +158,7 @@
 
       <pre>git pull</pre>
 
-      <p>Because you've only been granted anonymous access to the
+      <p class="mb-0">Because you've only been granted anonymous access to the
 	tree, you won't be able to push your changes to the
 	repo. Changes can instead be submitted for inclusion by
 	posting them to the buildroot mailing list.</p>
docs/website/footer.html +1 -1
index b93fa46ebb..44ef5db17e 100644
@@ -1,5 +1,5 @@
 	<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
-	<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
+	<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.8/js/bootstrap.bundle.min.js" integrity="sha512-HvOjJrdwNpDbkGJIG2ZNqDlVqMo77qbs4Me4cah0HoDrfhrbA+8SBlZn1KrvAQw7cILLPFJvdwIgphzQmMm+Pw==" crossorigin="anonymous"></script>
 	<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js" integrity="sha256-Daf8GuI2eLKHJlOWLRR/zRy9Clqcj4TUSumbxYH9kGI=" crossorigin="anonymous"></script>
 	<script src="https://cdnjs.cloudflare.com/ajax/libs/x2js/1.2.0/xml2json.min.js" integrity="sha256-RbFvov4fXA9DW/RzOAcIC0ZHIDmghGdsoug5slJHMMI=" crossorigin="anonymous"></script>
 	<script type="text/javascript" src="js/buildroot.js"></script>
docs/website/header.html +32 -37

79 lines not on this page · raw message

docs/website/index.html +82 -56

231 lines not on this page · raw message

docs/website/js/buildroot.js +2 -2
index b2975fb609..9b2d8e1f89 100644
@@ -70,7 +70,7 @@ function showTooltip(elem, msg) {
 let clipboard = new Clipboard('.btn');
 
 $(function () {
-  $('[data-toggle="tooltip"]').tooltip()
+  $('[data-bs-toggle="tooltip"]').tooltip()
 });
 
 clipboard.on('success', function(e) {
@@ -97,7 +97,7 @@ jQuery(document).ready(function($) {
     let url = window.location.href;
     // Get the basename of the URL
     url = url.split(/[\\/]/).pop();
-    $('.nav a[href="/' + url + '"]').parent().addClass('active');
+    $('.navbar-nav a.nav-link[href="/' + url + '"]').addClass('active bg-light');
 
     load_activity("/new.atom");
 
docs/website/lts.html +245 -180

554 lines not on this page · raw message

docs/website/news.html +1510 -1510

1,263 lines not on this page · raw message

docs/website/sponsors.html +237 -229

466 lines not on this page · raw message

docs/website/support.html +23 -23

46 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

Part of the diff is not shown here. View the raw message.

#5 lore raw

PATCH 5/9 website: bump jQuery to version 4.0.0

In reply to Angelo Compagnucci

jQuery 3.1.1 is affected by several known vulnerabilities, bump it to the latest version.

---
 docs/website/footer.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/website/footer.html +1 -1
index 44ef5db17e..d9f4f75196 100644
@@ -1,4 +1,4 @@
-	<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
+	<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/4.0.0/jquery.min.js" integrity="sha512-8LENNbXmzI/Gbj+OwXmqR6V4QaUAw0/porPzy1+dQoJqC0JPHedWoe0DDOTL2uHA5XXJyIsPtiMHH86pVlay6A==" crossorigin="anonymous"></script>
 	<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.8/js/bootstrap.bundle.min.js" integrity="sha512-HvOjJrdwNpDbkGJIG2ZNqDlVqMo77qbs4Me4cah0HoDrfhrbA+8SBlZn1KrvAQw7cILLPFJvdwIgphzQmMm+Pw==" crossorigin="anonymous"></script>
 	<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js" integrity="sha256-Daf8GuI2eLKHJlOWLRR/zRy9Clqcj4TUSumbxYH9kGI=" crossorigin="anonymous"></script>
 	<script src="https://cdnjs.cloudflare.com/ajax/libs/x2js/1.2.0/xml2json.min.js" integrity="sha256-RbFvov4fXA9DW/RzOAcIC0ZHIDmghGdsoug5slJHMMI=" crossorigin="anonymous"></script>
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw

Re: [Buildroot] [PATCH 5/9] website: bump jQuery to version 4.0.0

Quoted 7 lines · Angelo Compagnucci

jQuery 3.1.1 is affected by several known vulnerabilities, bump it to the latest version.

---
 docs/website/footer.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

This doesn't apply here.

docs/website/footer.html line 2

Quoted 9 lines
docs/website/footer.html +1 -1
index 44ef5db17e..d9f4f75196 100644
@@ -1,4 +1,4 @@
-	<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
+	<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/4.0.0/jquery.min.js" integrity="sha512-8LENNbXmzI/Gbj+OwXmqR6V4QaUAw0/porPzy1+dQoJqC0JPHedWoe0DDOTL2uHA5XXJyIsPtiMHH86pVlay6A==" crossorigin="anonymous"></script>
 	<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.8/js/bootstrap.bundle.min.js" integrity="sha512-HvOjJrdwNpDbkGJIG2ZNqDlVqMo77qbs4Me4cah0HoDrfhrbA+8SBlZn1KrvAQw7cILLPFJvdwIgphzQmMm+Pw==" crossorigin="anonymous"></script>

In master, we're using https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js

Are you sure your patch is based on master?

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#7 lore raw

Re: [Buildroot] [PATCH 5/9] website: bump jQuery to version 4.0.0

Il dom 1 nov 2026, 23:47 Thomas Petazzoni <[email protected]> ha scritto:

Quoted 11 lines · Angelo Compagnucci
Quoted 7 lines

jQuery 3.1.1 is affected by several known vulnerabilities, bump it to the latest version.

---
 docs/website/footer.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

This doesn't apply here.

This should be applied after patch 4 in the series, which requires a manual intervention from the mailing list administrator to go through the mailing list because it's too big and hot the limit.

It happened already in the past when I sent the new website originally.

Quoted 22 lines

docs/website/footer.html line 1

Quoted 7 lines
docs/website/footer.html +0 -1
index 44ef5db17e..d9f4f75196 100644
@@ -1,4 +1,4 @@
-     <script src="

https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>

docs/website/footer.html line 1

Quoted 1 line
docs/website/footer.html +1 -0
+     <script src="

https://cdnjs.cloudflare.com/ajax/libs/jquery/4.0.0/jquery.min.js"
integrity="sha512-8LENNbXmzI/Gbj+OwXmqR6V4QaUAw0/porPzy1+dQoJqC0JPHedWoe0DDOTL2uHA5XXJyIsPtiMHH86pVlay6A==" crossorigin="anonymous"></script>

docs/website/footer.html line 2

Quoted 1 line
docs/website/footer.html +0 -0
      <script src="

https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.8/js/bootstrap.bundle.min.js"
integrity="sha512-HvOjJrdwNpDbkGJIG2ZNqDlVqMo77qbs4Me4cah0HoDrfhrbA+8SBlZn1KrvAQw7cILLPFJvdwIgphzQmMm+Pw==" crossorigin="anonymous"></script>

In master, we're using
https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js

Quoted 8 lines

Are you sure your patch is based on master?

Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training
https://bootlin.com

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#8 lore raw

Re: [Buildroot] [PATCH 5/9] website: bump jQuery to version 4.0.0

Quoted 5 lines · Angelo Compagnucci

This should be applied after patch 4 in the series, which requires a manual intervention from the mailing list administrator to go through the mailing list because it's too big and hot the limit.

It happened already in the past when I sent the new website originally.

Ah indeed! I just approved the e-mail.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#9 lore raw

PATCH 6/9 website: fix the recent activity in buildroot.js

In reply to Angelo Compagnucci

The recent activity code is broken: commit notifications are not sent anymore to the mailing list, so the feed never contains "git commit" entries. This leaves the container variable undefined and the script fails on every page, so the recent discussions are not displayed either.

Rework it:
- load the recent commits from the GitLab API
- parse the mailing list Atom feed directly as XML, which allows dropping the x2js dependency
- only load the activity on pages having the matching containers

---
 docs/website/css/main.css    | 10 ----
 docs/website/footer.html     |  1 -
 docs/website/index.html      |  4 +-
 docs/website/js/buildroot.js | 88 ++++++++++++++++++++----------------
 4 files changed, 50 insertions(+), 53 deletions(-)
docs/website/css/main.css +0 -10
index 28d13d2fa3..ca11d11d45 100644
@@ -82,13 +82,3 @@ a {
 	-ms-filter: "FlipH";
 }
 
-.ellipsis p {
-	margin-bottom: 10px;
-	white-space: nowrap;
-	overflow: hidden;
-	text-overflow: ellipsis;
-}
-
-.panel-box p {
-	height: 1.5em;
-}
docs/website/footer.html +0 -1
index d9f4f75196..ee0a6d0c20 100644
@@ -1,7 +1,6 @@
 	<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/4.0.0/jquery.min.js" integrity="sha512-8LENNbXmzI/Gbj+OwXmqR6V4QaUAw0/porPzy1+dQoJqC0JPHedWoe0DDOTL2uHA5XXJyIsPtiMHH86pVlay6A==" crossorigin="anonymous"></script>
 	<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.8/js/bootstrap.bundle.min.js" integrity="sha512-HvOjJrdwNpDbkGJIG2ZNqDlVqMo77qbs4Me4cah0HoDrfhrbA+8SBlZn1KrvAQw7cILLPFJvdwIgphzQmMm+Pw==" crossorigin="anonymous"></script>
 	<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js" integrity="sha256-Daf8GuI2eLKHJlOWLRR/zRy9Clqcj4TUSumbxYH9kGI=" crossorigin="anonymous"></script>
-	<script src="https://cdnjs.cloudflare.com/ajax/libs/x2js/1.2.0/xml2json.min.js" integrity="sha256-RbFvov4fXA9DW/RzOAcIC0ZHIDmghGdsoug5slJHMMI=" crossorigin="anonymous"></script>
 	<script type="text/javascript" src="js/buildroot.js"></script>
 
 	<div style="text-align: center">
docs/website/index.html +2 -2
index 17bf092abb..c1a5d90483 100644
@@ -154,14 +154,14 @@
     <div class="col-sm-6">
       <div class="card mb-4">
 	<div class="card-header text-bg-primary rounded-top"><a class="link-light" href="https://gitlab.com/buildroot.org/buildroot/">Recent commits</a></div>
-	<div class="panel-box card-body ellipsis" id="commit-activity">
+	<div class="card-body pb-2" id="commit-activity">
 	</div>
       </div>
     </div>
     <div class="col-sm-6" >
       <div class="card mb-4">
 	<div class="card-header text-bg-primary rounded-top"><a class="link-light" href="https://lore.kernel.org/buildroot/">Recent discussions</a></div>
-	<div class="panel-box card-body ellipsis" id="mailing-list-activity">
+	<div class="card-body pb-2" id="mailing-list-activity">
 	</div>
       </div>
     </div>
docs/website/js/buildroot.js +48 -40

106 lines not on this page · raw message

Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#10 lore raw

PATCH 7/9 website: fix the copy tooltip and anchor scrolling in buildroot.js

In reply to Angelo Compagnucci

Show the "Copied!" tooltip of the git URL copy button using the Bootstrap 5 API and hide it after a while, as it otherwise stays displayed.

Also take the sticky navigation bar into account when scrolling to an anchor, so that the target is not hidden below it.

---
 docs/website/js/buildroot.js | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)
docs/website/js/buildroot.js +4 -11
index e115ca4810..3eb83d7bbf 100644
@@ -69,20 +69,13 @@ function google_analytics() {
     s.parentNode.insertBefore(ga, s);
 }
 
-function showTooltip(elem, msg) {
-    elem.setAttribute('class', 'btn tooltipped tooltipped-s');
-    elem.setAttribute('aria-label', msg);
-}
-
 let clipboard = new Clipboard('.btn');
 
-$(function () {
-  $('[data-bs-toggle="tooltip"]').tooltip()
-});
-
 clipboard.on('success', function(e) {
     e.clearSelection();
-    $(e.trigger).tooltip('show');
+    let tooltip = bootstrap.Tooltip.getOrCreateInstance(e.trigger);
+    tooltip.show();
+    setTimeout(function() { tooltip.hide(); }, 1500);
 });
 
 $(function() {
@@ -92,7 +85,7 @@ $(function() {
       target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
       if (target.length) {
         $('html,body').animate({
-          scrollTop: target.offset().top
+          scrollTop: target.offset().top - $('.navbar').outerHeight()
         }, 1000);
         return false;
       }
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#11 lore raw

PATCH 8/9 website/support: lay out the commercial support logos in a grid

In reply to Angelo Compagnucci

The commercial support logos were laid out with a <center> tag and inline styles, giving unaligned logos of different sizes.

Use a Bootstrap grid instead, showing bigger logos on two centered rows.

---
 docs/website/css/main.css |  1 -
 docs/website/support.html | 44 ++++++++++++++++++++++++++-------------
 2 files changed, 30 insertions(+), 15 deletions(-)
docs/website/css/main.css +0 -1
index ca11d11d45..3077c0de53 100644
@@ -81,4 +81,3 @@ a {
 	filter: FlipH;
 	-ms-filter: "FlipH";
 }
-
docs/website/support.html +30 -14

55 lines not on this page · raw message

Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#12 lore raw

PATCH 9/9 website/docs: make the PDF and ASCII manual icons clickable

In reply to Angelo Compagnucci

Only the HTML manual icon links to the manual, while the PDF and ASCII ones are plain images. Make them link to the stable version of the manual too, as the HTML one does.

---
 docs/website/docs.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
docs/website/docs.html +4 -4
index 036fe10b74..38f1996c4a 100644
@@ -35,10 +35,10 @@
 	  <div class="flip-container mx-auto" ontouchstart="this.classList.toggle('hover');">
 	    <div class="flipper">
 	      <div class="front">
-		<img src="images/pdf-icon.png" width="180" alt="">
+		<a href="/downloads/manual/manual.pdf"><img src="images/pdf-icon.png" width="180" alt=""></a>
 	      </div>
 	      <div class="back">
-		<img src="images/pdf-icon.png" width="180" alt="">
+		<a href="/downloads/manual/manual.pdf"><img src="images/pdf-icon.png" width="180" alt=""></a>
 	      </div>
 	    </div>
 	  </div>
@@ -54,10 +54,10 @@
 	  <div class="flip-container mx-auto" ontouchstart="this.classList.toggle('hover');">
 	    <div class="flipper">
 	      <div class="front">
-		<img src="images/text.png" width="180" alt="">
+		<a href="/downloads/manual/manual.text"><img src="images/text.png" width="180" alt=""></a>
 	      </div>
 	      <div class="back">
-		<img src="images/text.png" width="180" alt="">
+		<a href="/downloads/manual/manual.text"><img src="images/text.png" width="180" alt=""></a>
 	      </div>
 	    </div>
 	  </div>
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#13 lore raw
In reply to Angelo Compagnucci
Quoted 16 lines · Angelo Compagnucci

The LTS page used its own visual style (pixel and serif fonts, grid backgrounds, offset shadows) which looked out of place compared to the other pages of the website.

Rework it to use the website style:
- use the #headerwrap blue header from the main page, keeping a big title
- use Bootstrap primary panels for the sections, as done in the support and sponsors pages
- replace the big numbers with round badges and use the website fonts for the item titles
- use the website blue, font and panel shadow in the charts, widen the labels column of the weekly chart and allow the charts to scroll horizontally on small screens instead of overlapping
- add a contact button to the sponsor section

Quoted 1 line

Thanks a lot, entire series applied! It's really to see those improvements to the website, much appreciated!

Best regards,

Thomas Petazzoni

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#14 lore raw

Il mer 4 nov 2026, 20:57 Thomas Petazzoni <[email protected]> ha scritto:

Quoted 17 lines · Angelo Compagnucci
Quoted 16 lines

The LTS page used its own visual style (pixel and serif fonts, grid backgrounds, offset shadows) which looked out of place compared to the other pages of the website.

Rework it to use the website style:
- use the #headerwrap blue header from the main page, keeping a big title
- use Bootstrap primary panels for the sections, as done in the support and sponsors pages
- replace the big numbers with round badges and use the website fonts for the item titles
- use the website blue, font and panel shadow in the charts, widen the labels column of the weekly chart and allow the charts to scroll horizontally on small screens instead of overlapping
- add a contact button to the sponsor section

Quoted 5 lines
Quoted 1 line

Thanks a lot, entire series applied! It's really to see those improvements to the website, much appreciated!

Thanks for applying!

I just noticed a couple of nitpicks and I'm going to send some other changes soon!

Quoted 8 lines

Best regards,

Thomas Petazzoni
--
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training
https://bootlin.com

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot