Changeset - 5edeacb940e8
[Not reviewed]
default
0 4 0
Dennis Fink - 11 years ago 2014-01-21 19:09:24
dennis.fink@c3l.lu
added bpm as donate option
4 files changed with 8 insertions and 4 deletions:
0 comments (0 inline, 0 general)
ennstatus/donate/views.py
Show inline comments
 
@@ -36,6 +36,9 @@ def bitcoin():
 
def flattr():
 
    return render_template('donate/flattr.html')
 

	
 
@donate_page.route('/bpm')
 
def bpm():
 
    return render_template('donate/bpm.html')
 

	
 
@donate_page.route('/received',
 
                   methods=('GET', 'POST'))
ennstatus/templates/base.html
Show inline comments
 
@@ -46,6 +46,7 @@
 
            <li><a href="{{ url_for('donate.paypal') }}">PayPal</a></li>
 
            <li><a href="{{ url_for('donate.bitcoin') }}">Bitcoin</a></li>
 
            <li><a href="{{ url_for('donate.flattr') }}">Flattr</a></li>
 
            <li><a href="{{ url_for('donate.bpm') }}">BPM</a></li>
 
            <li class="divider"></li>
 
            <li><a href="{{ url_for('donate.received') }}">Received Donations</a></li>
 
          </ul>
ennstatus/templates/donate/bpm.html
Show inline comments
 
{% extends "base.html" %}
 

	
 
{% set title = "Donate - Flattr" %}
 
{% set title = "Donate - BPM" %}
 

	
 
{% block content %}
 
  <div class="col-md-4 text-center">
 
    <img src="{{ url_for('static', filename='images/bpm.gif') }}" class="img-rounded" alt="BPM"></img>
 
    <img src="{{ url_for('static', filename='images/BPM.gif') }}" class="img-rounded" alt="BPM"></img>
 
    <h2>BPM Points</h2>
 
  </div>
 
  <div class="col-md-8">
 
@@ -15,7 +15,7 @@
 

	
 
    <p>We accept <strong>BPM</strong> points as they will be used for our BPM Parcel Station. The parcel station is used for receiving and sending mails and packages around the world!</p>
 
    <div class="alert-info text-center">
 
	    <a href="mailto:info@fvde.lu">Mail us your BPM voucher code!</a>
 
	    <a href="mailto:info@enn.lu">Mail us your BPM voucher code!</a>
 
    </div>
 
  </div>
 
{% endblock %}
ennstatus/templates/donate/index.html
Show inline comments
 
@@ -74,7 +74,7 @@
 
    <div class="col-md-4">
 
      <div class="thumbnail">
 
        <center>
 
          <a href="{{ url_for('root.contact') }}"><img src="{{ url_for('static', filename='images/BPM.gif') }}" width="135" height="135"></img></a>
 
          <a href="{{ url_for('donate.bpm') }}"><img src="{{ url_for('static', filename='images/BPM.gif') }}" width="135" height="135"></img></a>
 
          <h5>BPM Points</h5>
 
          <p>For our parcel station!</p>
 
          <a class="btn btn-info" href="{{ url_for('donate.bpm') }}">Take Action Now</a>
0 comments (0 inline, 0 general)