Commit 655d2cbc authored by Pili Guerra's avatar Pili Guerra
Browse files

Add Tools section to Onion Services landing page. Fixes #66.

parent 9a126f1f
[onionshare]
link = https://onionshare.org/
image = /static/images/onions/png/onionshare.png
label = OnionShare
active = True
[securedrop]
link = https://securedrop.org
image = /static/images/onions/png/securedrop.png
label = SecureDrop
active = True
[globaleaks]
link = https://www.globaleaks.org/
image =/static/images/onions/png/globaleaks.png
label= GlobaLeaks
active = True
......@@ -50,6 +50,23 @@
</div>
</div>
{% endfor %}
</div>
<div class="row py-5 text-center mx-auto">
<h2 class="display-4 text-primary text-center mx-auto">{{ _('Tools') }}</h2>
</div>
<div class="row mx-auto d-flex flex-wrap align-items-center">
{% for id, item in bag('onion-tools').items() %}
{% if item.active == "True" %}
<div class="col-4">
<div class="card h-50 border-0">
<a href="{{ item.link }}"><img class="card-img-top h-100 w-50 mx-auto d-block" src="{{ item.image|asseturl }}"></a>
<div class="card-body">
<p class="card-text text-primary text-center"><a href="{{ item.link }}">{{ item.label }}</a></p>
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
<div class="row py-5 text-center mx-auto">
<h2 class="display-4 text-primary text-center mx-auto my-3">{{ _('Learn More') }}</h2>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment