mirror of
https://github.com/NovaOSS/nova-web.git
synced 2024-11-25 17:33:57 +01:00
Small improvements
This commit is contained in:
parent
25cbdb233e
commit
1c48174d47
|
@ -4,12 +4,12 @@
|
|||
<h1>Our finances - transparency is key!</h1>
|
||||
<p>
|
||||
<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>
|
||||
<b>As of: </b> <span id="as-of">Loading...</span>
|
||||
<b>As of: </b> <span id="lastUpdateDisplay">Loading...</span>
|
||||
<script>
|
||||
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>
|
||||
</p>
|
||||
|
||||
|
@ -22,12 +22,18 @@
|
|||
|
||||
<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>From donations, we received a total of</b>.</p></div>
|
||||
<div class="featured__facts box"><p>The average donation has an amount of <b>{{ finances.donations_avg }} USD</b>.
|
||||
The largest donation is <b>{{ finances.donations_max }} USD</b>.</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>
|
||||
We have received <b>{{ finances.donations_num }} donations</b> so far,
|
||||
totaling <b>{{ finances.donations_total }} USD</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"> -->
|
||||
|
||||
<h2>Expenses</h2>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<a href="https://discord.nova-oss.com" target="_blank">
|
||||
<button class="special">
|
||||
<i class="bi bi-discord"></i>
|
||||
Join 3,600+ members
|
||||
Join 3,800+ members
|
||||
</button>
|
||||
</a>
|
||||
<!-- <a href="/login">
|
||||
|
|
Loading…
Reference in a new issue