# HG changeset patch # User Dennis Fink # Date 2015-10-22 22:35:56 # Node ID bc7143dbc60f6f87627daa32dd669f28c7976a1a # Parent 041a255ca6ce927b8dca21eef624db1585a72db7 # Parent bd7608fb3d38e341b2c9ef17e13bc1e4e95adc29 Merge feature-responsive diff --git a/ennstatus/static/css/ennstatus.css b/ennstatus/static/css/ennstatus.css --- a/ennstatus/static/css/ennstatus.css +++ b/ennstatus/static/css/ennstatus.css @@ -166,3 +166,27 @@ a, a:hover, a:active, a:visited { .checkbox label, .radio label { padding-left: 12px; } + +.btn { + margin-top: 5px; + margin-bottom: 5px; +} + +.highlighted-label { + font-size: 24px; + margin-bottom: 10px; + font-weight: 500; + line-height: 1.1; + box-sizing: border-box; + display: inline-block; +} + +.highlighted-label-big { + font-size: 30px; + margin-bottom: 10px; + font-weight: 500; + line-height: 1.1; + box-sizing: border-box; + display: inline-block; + +} diff --git a/ennstatus/templates/donate/index.html b/ennstatus/templates/donate/index.html --- a/ennstatus/templates/donate/index.html +++ b/ennstatus/templates/donate/index.html @@ -23,16 +23,18 @@ {% endblock %} {% block content %} -
- WhoIs -

Support us!

+
+ WhoIs +
+

Support us!

+

Take action for a #FreeInternet! Support us today!

As a non-profit organization we are 100% community funded. Donations from our members and supporters will be used to power Tor nodes, print flyers and posters or cover administrative charges.

-

Donation history - Adopt a Tor Bridge

+ Donation history + Adopt a Tor Bridge
diff --git a/ennstatus/templates/donate/received.html b/ennstatus/templates/donate/received.html --- a/ennstatus/templates/donate/received.html +++ b/ennstatus/templates/donate/received.html @@ -6,6 +6,8 @@ {% block content %}

Received Donations

+
+
{% if csv_file %}

{{ '-'.join([year, month]) }}

@@ -18,15 +20,15 @@ {{ form.hidden_tag() }}
{{ form.year.label }} - {{ form.year(class_="form-control") }} + {{ form.year(class_="form-control input-sm") }} {{ form.month.label }} - {{ form.month(class_="form-control") }} + {{ form.month(class_="form-control input-sm") }} +
-
+
-
{% if csv_file %} {{ macros.create_donations_table(csv_file) }} diff --git a/ennstatus/templates/root/about.html b/ennstatus/templates/root/about.html --- a/ennstatus/templates/root/about.html +++ b/ennstatus/templates/root/about.html @@ -3,12 +3,6 @@ {% set title = "Who we are" %} {% block content %} - -

Who we are

Organization

diff --git a/ennstatus/templates/root/abuse.html b/ennstatus/templates/root/abuse.html --- a/ennstatus/templates/root/abuse.html +++ b/ennstatus/templates/root/abuse.html @@ -3,10 +3,6 @@ {% set title = "Abuse" %} {% block content %} -

Abuse handling

We take our mission very seriously and carefully examine abuse cases.

diff --git a/ennstatus/templates/root/contact.html b/ennstatus/templates/root/contact.html --- a/ennstatus/templates/root/contact.html +++ b/ennstatus/templates/root/contact.html @@ -3,9 +3,11 @@ {% set title = "Contact" %} {% block content %} -
- WhoIs -

Contact

+
+ WhoIs +
+

Contact

+

General

diff --git a/ennstatus/templates/root/index.html b/ennstatus/templates/root/index.html --- a/ennstatus/templates/root/index.html +++ b/ennstatus/templates/root/index.html @@ -8,8 +8,8 @@ {% endblock %} {% block content %} -
- FVDE_Logo +
+ FVDE_Logo
@@ -17,8 +17,9 @@

Luxembourg based non-profit organization defending civil rights on the internet.

We provide high-bandwidth Tor nodes all over the world to protect online privacy, anonymity, freedom of speech and fight censorship!

-

Become a Member Donate - @FrennVunDerEnn

+ Become a Member + Donate + @FrennVunDerEnn
@@ -38,8 +39,8 @@
-

-

+ -

+

@@ -74,7 +75,7 @@

By bouncing your communications around a distributed network of relays run by volunteers all around the world, it prevents somebody watching your Internet connection from learning what sites you visit, and it prevents the sites you visit from learning your physical location.

-

Learn more about Tor

+ Learn more about Tor
{% endblock %} diff --git a/ennstatus/templates/root/member.html b/ennstatus/templates/root/member.html --- a/ennstatus/templates/root/member.html +++ b/ennstatus/templates/root/member.html @@ -3,9 +3,11 @@ {% set title = "Member" %} {% block content %} -
- Partners -

Join

+
+ Partners +
+

Join

+

Membership

diff --git a/ennstatus/templates/root/mirrors.html b/ennstatus/templates/root/mirrors.html --- a/ennstatus/templates/root/mirrors.html +++ b/ennstatus/templates/root/mirrors.html @@ -11,9 +11,11 @@ {% endif %} {% block content %} -
- Partners -

Mirrors

+
+ Partners +
+

Mirrors

+

Mirrors

diff --git a/ennstatus/templates/root/partners.html b/ennstatus/templates/root/partners.html --- a/ennstatus/templates/root/partners.html +++ b/ennstatus/templates/root/partners.html @@ -3,9 +3,11 @@ {% set title = "Partners" %} {% block content %} -
- Partners -

Partners

+
+ Partners +
+

Partners

+

Partners

diff --git a/ennstatus/templates/status/macros.html b/ennstatus/templates/status/macros.html --- a/ennstatus/templates/status/macros.html +++ b/ennstatus/templates/status/macros.html @@ -55,46 +55,48 @@ {% set headers = ('#', 'Name', 'Tor Status', 'Country', 'Fingerprint', 'OBFS', 'FTEProxy', 'Flashproxy', 'meek', 'Last Updated ') %} {% endif %}

{{ server_type|title }}

- - - - {% for name in headers %} - +
+
{{ name|safe }}
+ + + {% for name in headers %} + + {% endfor %} + + + + {% for server in servers|sort(attribute='name')|sort(attribute='country') %} + + + {% if server_type in ('exit', 'relay') %} + + + + {% else %} + + {% endif %} + + + + {% if server_type == 'bridge' %} + + + + + {% endif %} + + {% endfor %} - - - - {% for server in servers|sort(attribute='name')|sort(attribute='country') %} - - - {% if server_type in ('exit', 'relay') %} - - - - {% else %} - - {% endif %} - - - - {% if server_type == 'bridge' %} - - - - - {% endif %} - - - {% endfor %} - -
{{ name|safe }}
{{ loop.index }}{{ create_name(server.name) }}{{ server.ip }}{{ server.ip6 or 'N/A' }} + {% if server.name in config['ENNSTATUS_BRIDGE_PROGRAM'] %} + {{ server.name }} + {% else %} + {{ server.name }} + {% endif %} + {{ colorize_status(server.status) }}{{ create_country(server.country) }}{{ create_fingerprint(server.fingerprint, server.type) }}{{ colorize_obfs(server.obfs) }}{{ colorize_obfs(server.fteproxy) }}{{ colorize_obfs(server.flashproxy) }}{{ colorize_obfs(server.meek) }}{{ create_date(server.last_updated) }} +
{{ loop.index }}{{ create_name(server.name) }}{{ server.ip }}{{ server.ip6 or 'N/A' }} - {% if server.name in config['ENNSTATUS_BRIDGE_PROGRAM'] %} - {{ server.name }} - {% else %} - {{ server.name }} - {% endif %} - {{ colorize_status(server.status) }}{{ create_country(server.country) }}{{ create_fingerprint(server.fingerprint, server.type) }}{{ colorize_obfs(server.obfs) }}{{ colorize_obfs(server.fteproxy) }}{{ colorize_obfs(server.flashproxy) }}{{ colorize_obfs(server.meek) }}{{ create_date(server.last_updated) }} -
+ + +
{% if server_type == 'bridge' %}