Changeset - 601aed05195d
[Not reviewed]
version_5
0 2 1
kahpa - 10 years ago 2015-10-07 21:48:38

added mirrors page
3 files changed with 29 insertions and 1 deletions:
0 comments (0 inline, 0 general)
ennstatus/root/views.py
Show inline comments
 
@@ -52,7 +52,11 @@ def membership():
 

	
 
    return render_template('root/membership.html', form=form)
 

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

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

	
ennstatus/templates/base.html
Show inline comments
 
@@ -53,7 +53,7 @@
 
                <li><a>Statistics</a></li>
 
              </ul>
 
            </li>
 
            <li><a>Mirrors</a></li>
 
            <li><a href="{{ url_for('root.mirrors') }}">Mirrors</a></li>
 
            <li><a href="https://wiki.enn.lu">Wiki</a></li>
 
            <li><a>About Ennstatus</a></li>
 
          </ul>
ennstatus/templates/root/mirrors.html
Show inline comments
 
new file 100644
 
{% extends "base.html" %}
 

	
 
{% set title = "Partners" %}
 

	
 
{% block content %}
 
  <div class="col-md-4 text-center">
 
    <img src="{{ url_for('static', filename='images/Services.png') }}" class="img-rounded" alt="Partners" width="160"></img>
 
    <h3>Mirrors</h3>
 
  </div>
 
  <div class="col-md-8">
 
    <h2>Mirrors</h2>
 
    <p class="lead">In addition to our Tor relays we are providing mirrors for some popular services.</p>
 
    <dl>
 
      <dt><a href="http://torproject.lu" target="_blank">torproject.lu</a></dt>
 
      <dd>This is a mirror of the the Tor Project's main website torproject.org</dd>
 
      <br>
 
      <dt><a href="http://tails.c3l.lu/" target="_blank">tails.enn.lu</a></dt>
 
      <dd>A Tails Download mirror. Tails is a live operating system, that you can start on almost any computer from a DVD, USB stick, or SD card. It aims at preserving your privacy and anonymity. <a href="https://tails.boum.org/" target="blank">Learn more about Tails</a></dd>
 
      <br>
 
      <dt><a href="https://globe.enn.lu/" target="_blank">globe.enn.lu</a></dt>
 
      <dd>Globe is a Tor relay and bridge explorer.</dd>
 
    </dl>
 
  </div>
 
{% endblock %}
0 comments (0 inline, 0 general)