Skip to content
Snippets Groups Projects
Commit a24470a9 authored by kpcyrd's avatar kpcyrd Committed by kpcyrd
Browse files

Show a simple loading indicator

parent 46c980e2
No related branches found
No related tags found
1 merge request!9Use the dashboard endpoint for stats
......@@ -50,6 +50,9 @@ class Header extends React.Component {
<p>For more information read the <a href="https://reproducible-builds.org/">Reproducible Builds website</a> or join the <a href="ircs://libera.chat/archlinux-reproducible">#archlinux-reproducible</a> IRC channel on <a href="https://libera.chat/">libera.chat</a>.</p>
<br/>
<ul className="repo-summary">
{!fetchFailed && suites.length == 0 &&
<p><b>Loading...</b></p>
}
{!fetchFailed && suites.length > 0 &&
<li key="overall">Arch Linux is <span className="has-text-weight-bold">{ overallStats.percentage }%</span> reproducible with <span className="bad has-text-weight-bold">{ overallStats.bad } bad</span> <span className="unknown has-text-weight-bold">{ overallStats.unknown } unknown</span> and <span className="good has-text-weight-bold">{ overallStats.good } good</span> packages.</li>
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment