commit
d42932b3d9
@ -0,0 +1,50 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
|
||||
<div class="container page_devfund">
|
||||
<div class="row">
|
||||
<div class="col-lg-8">
|
||||
<h2>Development Fund</h2>
|
||||
<p>
|
||||
Ongoing development is supported by donations and sponsorships *cough*.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row content">
|
||||
<div class="col-lg-8">
|
||||
<hr>
|
||||
<h3>Donating Wownero</h3>
|
||||
<p>
|
||||
Donations may be send to: <code style="word-wrap: break-word">Wo3MWeKwtA918DU4c69hVSNgejdWFCRCuWjShRY66mJkU2Hv58eygJWDJS1MNa2Ge5M1WjUkGHuLqHkweDxwZZU42d16v94mP</code>
|
||||
</p>
|
||||
<img style="margin-bottom:20px;" src="/api/1/qr?address=Wo3MWeKwtA918DU4c69hVSNgejdWFCRCuWjShRY66mJkU2Hv58eygJWDJS1MNa2Ge5M1WjUkGHuLqHkweDxwZZU42d16v94mP"/>
|
||||
|
||||
<h3>View-only wallet</h3>
|
||||
<p>
|
||||
<code style="word-wrap: break-word">e62e40bfd5ca7e3a7f199602a3c97df511780489e1c1861884b00c28abaea406</code>
|
||||
</p>
|
||||
<h3>Donations</h3>
|
||||
<p>
|
||||
Current balance: <code>{{ txs_in['sum']|round(4) }} WOW</code>
|
||||
</p>
|
||||
<p>
|
||||
50 most recent donations:
|
||||
</p>
|
||||
{% from 'proposal/macros/transaction.html' import tx_item %}
|
||||
|
||||
<ul class="list-group">
|
||||
{% for tx in txs_in['txs'] %}
|
||||
{{ tx_item(tx) }}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% include 'sidebar.html' %}
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
{% endblock %}
|
@ -0,0 +1,28 @@
|
||||
{% macro tx_item(tx) %}
|
||||
<li class="list-group-item tx_item">
|
||||
<span class="datetime">
|
||||
{{tx['datetime'].strftime('%Y-%m-%d %H:%M')}}
|
||||
</span>
|
||||
|
||||
<span class="height">
|
||||
<b>Blockheight</b>: {{tx['height']}}</span>
|
||||
<br>
|
||||
|
||||
<a target="_blank" href="https://explore.wownero.com/tx/{{tx['txid']}}">{{tx['txid'][:32]}}...</a>
|
||||
<span class="amount{% if tx['type'] == 'in' %} in{% endif %}">
|
||||
{% if tx['type'] == 'in' %}
|
||||
+
|
||||
{% else %}
|
||||
-
|
||||
{% endif %}
|
||||
|
||||
{{tx['amount_human']|round(3)}} WOW
|
||||
|
||||
{% if 'amount_usd' in tx %}
|
||||
<small style="color: black">
|
||||
➞ $ {{tx['amount_usd']}}
|
||||
</small>
|
||||
{% endif %}
|
||||
</span>
|
||||
</li>
|
||||
{% endmacro %}
|
Loading…
Reference in new issue