diff --git a/src/Header.js b/src/Header.js index 148afc8f08a82f3bc26d4ccee62832d83fcb9ca0..94a418578edd98fc6ad52e38a1481c8e4cb00a9d 100644 --- a/src/Header.js +++ b/src/Header.js @@ -44,7 +44,7 @@ class Header extends React.Component { <p>Welcome to the official experimental Arch Linux <a href="https://github.com/kpcyrd/rebuilderd">rebuilderd</a> instance, this page shows the results of verification builds of official Arch Linux packages in the repositories in an effort to be fully reproducible. For more information read the <a href="https://reproducible-builds.org/">Reproducible Builds website</a> or join the <a href="ircs://chat.freenode.net/archlinux-reproducible">#archlinux-reproducible</a> IRC channel on <a href="https://freenode.net/">Freenode</a>.</p> <br/> {!fetchFailed && suitesStats.map(function(repo, index) { - return <p key={ index }><a href={"#" + repo.name }>[{ repo.name }]</a> repository is { repo.percentage }% reproducible with { repo.bad } bad and { repo.unknown } unknown packages.</p>; + return <p key={ index }><a href={"#" + repo.name }>[{ repo.name }]</a> repository is <span className="bold">{ repo.percentage }%</span> reproducible with <span className="bad">{ repo.bad } bad</span> <span className="unknown">{ repo.unknown } unknown</span> and <span className="good">{ repo.good } good</span> packages.</p>; })} </div> </div> diff --git a/src/style.scss b/src/style.scss index f6088af41dc17552dec3d389aba21903d08f104b..33c0d6e9a089fe7ad45ae46f5e11d300c81559a4 100644 --- a/src/style.scss +++ b/src/style.scss @@ -14,6 +14,24 @@ $link: #212952; @import "../node_modules/bulma/sass/layout/section.sass"; @import "../node_modules/bulma/sass/grid/tiles.sass"; +.bold { + font-weight: bold; +} + +.good { + color: rgb(0, 256, 0); + font-weight: bold; +} + +.bad { + color: rgb(207, 0, 0); + font-weight: bold; +} + +.unknown { + color: rgb(255, 164, 5); + font-weight: bold; +} ul { @include tablet { @@ -25,7 +43,7 @@ ul { } /* bulma has no 4k option */ - @media (min-width: 2000px) { + @media (min-width: 2000px) { columns: 8; } }