Small improvements

This commit is contained in:
nsde 2023-09-23 23:17:48 +02:00
parent 25cbdb233e
commit 1c48174d47
2 changed files with 16 additions and 10 deletions

View file

@ -4,12 +4,12 @@
<h1>Our finances - transparency is key!</h1> <h1>Our finances - transparency is key!</h1>
<p> <p>
<b>Warning</b> - no guarantees can be made that this information is 100% accurate. <b>Warning</b> - no guarantees can be made that this information is 100% accurate.
Crypto currency prices are updated once every hour. Crypto currency prices are being updated once every hour.
<br> <br>
<b>As of: </b> <span id="as-of">Loading...</span> <b>As of: </b> <span id="lastUpdateDisplay">Loading...</span>
<script> <script>
const unix_timestamp = {{ finances.last_update }}; const unix_timestamp = {{ finances.last_update }};
document.getElementById("as-of").innerHTML = new Date(unix_timestamp * 1000).toLocaleString(); lastUpdateDisplay.innerText = new Date(unix_timestamp * 1000).toLocaleString();
</script> </script>
</p> </p>
@ -22,11 +22,17 @@
<h2>Donations</h2> <h2>Donations</h2>
<div class="featured__facts box"><p>We have received <b>{{ finances.donations_num }} donations</b> so far, totaling <b>{{ finances.donations_total }} USD</p></div> <div class="featured__facts box"><p>
<div class="featured__facts box"><p>From donations, we received a total of</b>.</p></div> We have received <b>{{ finances.donations_num }} donations</b> so far,
<div class="featured__facts box"><p>The average donation has an amount of <b>{{ finances.donations_avg }} USD</b>. totaling <b>{{ finances.donations_total }} USD</b>.
The largest donation is <b>{{ finances.donations_max }} USD</b>.</div> </p></div>
<div class="featured__facts box"><p>Most people donated in <b>{{ finances.most_used_donation_currency }}</b>.</p></div> <div class="featured__facts box"><p>
The average donation has an amount of <b>{{ finances.donations_avg }} USD</b>.
Most people used <b>{{ finances.most_used_donation_currency }}</b> to donate.
</p></div>
<div class="featured__facts box"><p>
The largest donation is <b>{{ finances.donations_max }} USD</b>.
</p></div>
<!-- <img src="{{ finances.donations_chart_url }} alt="Donations chart"> --> <!-- <img src="{{ finances.donations_chart_url }} alt="Donations chart"> -->

View file

@ -7,7 +7,7 @@
<a href="https://discord.nova-oss.com" target="_blank"> <a href="https://discord.nova-oss.com" target="_blank">
<button class="special"> <button class="special">
<i class="bi bi-discord"></i> <i class="bi bi-discord"></i>
Join 3,600+ members Join 3,800+ members
</button> </button>
</a> </a>
<!-- <a href="/login"> <!-- <a href="/login">