Changeset - 8e2e82e62a72
[Not reviewed]
default
0 2 0
Dennis Fink - 10 years ago 2014-12-09 02:46:59
dennis.fink@c3l.lu
Started new member page
2 files changed with 11 insertions and 1 deletions:
0 comments (0 inline, 0 general)
ennstatus/root/views.py
Show inline comments
 
@@ -29,12 +29,17 @@ def partners():
 

	
 
@root_page.route('/bridgeprogram')
 
def bridgeprogram():
 
    return render_template('root/bridgeprogram.html')
 

	
 

	
 
@root_page.route('/member')
 
def member():
 
    return render_template('root/member.html')
 

	
 

	
 
@root_page.route('/contact', methods=('GET', 'POST'))
 
def contact():
 

	
 
    current_app.logger.info('Handling contact')
 
    form = BPMForm()
 
    country_choices = [choice[0] for choice in form.country.choices]
ennstatus/templates/base.html
Show inline comments
 
@@ -27,13 +27,13 @@
 
        <span class="icon-bar"></span>
 
        <span class="icon-bar"></span>
 
      </button>
 
      <a class="navbar-brand" href="{{ url_for('root.index') }}">Enn.lu</a>
 
    </div>
 
    <div class="navbar-collapse collapse">
 
      <ul class="nav navbar-nav">
 
      <ul class="nav navbar-nav navbar-left">
 
        <li>
 
          <a href="http://wiki.enn.lu/doku.php?id=news">News</a>
 
        </li>
 
        <li>
 
          <a href="{{ url_for('root.about') }}">About</a>
 
        </li>
 
@@ -91,12 +91,17 @@
 
            <li><a href="{{ url_for('stats.worldmap', server_type='exit') }}">Exit nodes</a></li>
 
            <li><a href="{{ url_for('stats.worldmap', server_type='relay') }}">Relay nodes</a></li>
 
            <li><a href="{{ url_for('stats.worldmap', server_type='bridge') }}">Bridge nodes</a></li>
 
          </ul>
 
        </li>
 
      </ul>
 
      <ul class="nav navbar-nav navbar-right">
 
        <li class="bg-success">
 
          <a href="{{ url_for('root.member') }}">Become a member</a>
 
        </li>
 
      </ul>
 
    </div>
 
  </div>
 
  {% endblock %}
 
  <div class="row" id="content">
 
  {% block content %}
 
  {% endblock %}
0 comments (0 inline, 0 general)