forked from I2P_Developers/i2p.www
update to new website
This commit is contained in:
@@ -1,17 +1,37 @@
|
||||
{% macro footer_div(pos, url, name, icon) -%}
|
||||
<div class='aside {{ pos }}'>
|
||||
<div id="footermenu" class="first">
|
||||
<ul>
|
||||
<li><a href="{{ get_url('downloads_list') }}"><div class="footeritem"><span>{{ _('Downloads') }}</span></div></a></li>
|
||||
<li><a href="{{ site_url('faq') }}"><div class="footeritem"><span>{{ _('FAQ') }}</span></div></a></li>
|
||||
<li><a href="{{ site_url('docs') }}"><div class="footeritem"><span>{{ _('Documentation') }}</span></div></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="footermenu" class="second">
|
||||
<ul>
|
||||
<li><a href="{{ site_url('contact') }}"><div class="footeritem"><span>{{ _('Contact Us') }}</span></div></a></li>
|
||||
<li><a href="http://{{ i2pconv('i2pforum.i2p') }}/"><div class="footeritem"><span>{{ _('Forums') }}</span></div></a></li>
|
||||
<li><a href="https://reddit.com/r/i2p"><div class="footeritem"><span>Reddit</span></div></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="footermenu" class="third">
|
||||
<ul>
|
||||
<li><a href="{{ site_url('get-involved') }}"><div class="footeritem"><span>{{ _('Get involved!') }}</span></div></a></li>
|
||||
<li><a href="{{ site_url('get-involved/donate') }}"><div class="footeritem"><span>{{ _('Donate') }}</span></div></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!--{% macro footer_div(pos, url, name) -%}
|
||||
<div class='{{ pos }}'>
|
||||
<a href="{{ url }}">
|
||||
<img src="{{ url_for('static', filename=icon) }}" height="128px" alt="{{ name }}" title="{{ name }}" />
|
||||
<h1>{{ name }}</h1>
|
||||
</a>
|
||||
</div>
|
||||
{%- endmacro %}
|
||||
{% macro footer_download(pos, type, name, icon) -%}
|
||||
{{ footer_div(pos, '%s#%s' % (get_url('downloads_list'), type), name, icon) }}
|
||||
{% macro footer_download(pos, type, name) -%}
|
||||
{{ footer_div(pos, '%s#%s' % (get_url('downloads_list'), type), name) }}
|
||||
{%- endmacro %}
|
||||
{{ footer_download('first', 'windows', 'Windows', 'images/download/windows.png') }}
|
||||
{{ footer_download('second', 'mac', 'Mac OS X', 'images/download/mac-osx.png') }}
|
||||
{{ footer_download('third', 'unix', 'Linux / BSD / Solaris', 'images/download/freebsd-tux.png') }}
|
||||
{{ footer_div('fourth', get_url('downloads_debian'), 'Debian / Ubuntu', 'images/download/debian-ubuntu.png') }}
|
||||
{{ footer_download('fifth', 'android', 'Android', 'images/download/android.png') }}
|
||||
{{ footer_div('sixth', site_url('get-involved/donate'), _('Donate'), 'images/itoopie.png') }}
|
||||
{{ footer_download('first', 'windows', 'Windows') }}
|
||||
{{ footer_download('second', 'mac', 'Mac OS X') }}
|
||||
{{ footer_download('third', 'unix', 'Linux / BSD / Solaris') }}
|
||||
{{ footer_div('fourth', get_url('downloads_debian'), 'Debian / Ubuntu') }}
|
||||
{{ footer_download('fifth', 'android', 'Android') }}
|
||||
{{ footer_div('sixth', site_url('get-involved/donate'), _('Donate')) }}-->
|
||||
|
Reference in New Issue
Block a user