Adding donate page to the navbar

This commit is contained in:
Sander Ferdinand 2018-10-25 23:01:07 +02:00
parent e94176215c
commit e3252d0071
No known key found for this signature in database
GPG key ID: 7BBC83D7A8810AAB
5 changed files with 9 additions and 10 deletions

View file

@ -238,8 +238,8 @@ def proposals(status, page, cat):
proposals=proposals, status=status, cat=cat))
@app.route('/fund')
def devfund():
@app.route('/donate')
def donate():
from funding.bin.daemon import Daemon
from funding.factory import cache, db_session

View file

@ -647,11 +647,6 @@ ul.b {
font-size:14px;
}
.page_devfund .tx_item {
padding-left: .85rem;
padding-right: .85rem;
}
.container>.content h1,
.container>.content h2,
.container>.content h3,

View file

@ -4,7 +4,8 @@
<div class="container api_documentation">
<div class="row" style="margin-bottom:4px;">
<div class="col-lg-8">
<h3>API documentation</h3>
<h2>API documentation</h2>
<hr>
<p>
Requests are made using standard HTTP and responses are returned in JSON format.
</p>

View file

@ -6,7 +6,7 @@
<div class="col-lg-8">
<h2>Development Fund</h2>
<p>
Ongoing development is supported by donations and sponsorships.
Ongoing development is supported by donations and sponsorships *cough*.
</p>
</div>
</div>
@ -15,7 +15,7 @@
<hr>
<h3>Donating Wownero</h3>
<p>
Donations may be sent to: <code style="word-wrap: break-word">Wo3MWeKwtA918DU4c69hVSNgejdWFCRCuWjShRY66mJkU2Hv58eygJWDJS1MNa2Ge5M1WjUkGHuLqHkweDxwZZU42d16v94mP</code>
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"/>

View file

@ -25,6 +25,9 @@
<li class="nav-item">
<a class="nav-link" href="/about">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/donate">Donate</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/api">API</a>
</li>