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
 
@@ -27,24 +27,27 @@ def paypal():
 
    return render_template('donate/paypal.html')
 

	
 

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

	
 

	
 
@donate_page.route('/flattr')
 
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'))
 
def received():
 

	
 
    current_app.logger.info('Handling received')
 
    form = DateForm()
 

	
 
    current_app.logger.debug('Creating choices')
 
    choices = [name for name in get_choices()]
 
    choices.sort()
 
    form.date.choices = [(name, name) for name in choices]
ennstatus/templates/base.html
Show inline comments
 
@@ -37,24 +37,25 @@
 
        <li>
 
          <a href="{{ url_for('root.services') }}">Services</a>
 
        </li>
 
        <li class="dropdown">
 
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">Donate <b class="caret"></b></a>
 
          <ul class="dropdown-menu">
 
            <li><a href="{{ url_for('donate.index') }}">Support us</a></li>
 
            <li><a href="{{ url_for('donate.wiretransfer') }}">Wiretransfer</a></li>
 
            <li><a href="{{ url_for('donate.snailmail') }}">Snailmail</a></li>
 
            <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>
 
        </li>
 
        <li>
 
          <a href="{{ url_for('root.partners') }}">Partners</a>
 
        </li>
 
        <li>
 
          <a href="{{ url_for('root.contact') }}">Contact</a>
 
        </li>
 
        <li>
 
          <a href="{{ url_for('root.abuse') }}">Abuse</a>
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">
 
    <blockquote>
 
      <p>"<em>Privacy is not something that I'm merely entitled to, it's an absolute prerequisite.</em>"</p>
 
      <small>Marlon Brando<cite>brainyquote</cite></small>
 
    </blockquote>
 

	
 
    <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
 
@@ -65,21 +65,21 @@
 
      <div class="thumbnail">
 
        <center>
 
          <a href="{{ url_for('donate.flattr') }}"><img src="{{ url_for('static', filename='images/Flattr_Logo.png') }}" width="135" height="135"></img></a>
 
          <h5>Flattr</h5>
 
          <p>Flattr us!</p>
 
          <a class="btn btn-info" href="{{ url_for('donate.flattr') }}">Take Action Now</a>
 
        </center>
 
      </div>
 
    </div>
 
    <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>
 
        </center>
 
      </div>
 
    </div>
 
  </div>
 
{% endblock %}
0 comments (0 inline, 0 general)