Skip to content

Commit

Permalink
style: bar should be yellow if not full
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed May 15, 2024
1 parent c8038e5 commit e376f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output/about/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ We also attempt to filter out notes for deleted tweets and non-English tweets.
{% assign perc_fetched = site.data.meta.total_fetched | times: 100 | divided_by: site.data.meta.total_notes %}

<div class="progress" style="max-width: 500px;" role="progressbar">
<div class="progress-bar text-bg-success" style="width: {{ perc_fetched }}%">{{ perc_fetched }}% ({{ site.data.meta.total_fetched }} / {{ site.data.meta.total_notes }})</div>
<div class="progress-bar text-bg-{% if perc_fetched == 100 %}success{% else %}warning{% endif %}" style="width: {{ perc_fetched }}%">{{ perc_fetched }}% ({{ site.data.meta.total_fetched }} / {{ site.data.meta.total_notes }})</div>
</div>

{{ perc_fetched }}% of the notes shown have an indexed tweet.
Expand Down

0 comments on commit e376f6b

Please sign in to comment.