From e03639064d50662a39a4a2fa3d811146cfadcd2f Mon Sep 17 00:00:00 2001 From: meeh <meeh@mail.i2p> Date: Sat, 20 Jul 2019 02:11:02 +0000 Subject: [PATCH] Improving the navigation for browser pages --- i2p2www/pages/site/browser/_front.html | 8 ++++---- i2p2www/pages/site/browser/download.html | 15 ++++++++------- i2p2www/pages/site/browser/faq.html | 7 +++++-- i2p2www/pages/site/browser/intro.html | 5 +++-- 4 files changed, 20 insertions(+), 15 deletions(-) diff --git a/i2p2www/pages/site/browser/_front.html b/i2p2www/pages/site/browser/_front.html index 1e5c2310d..ae9bd3196 100644 --- a/i2p2www/pages/site/browser/_front.html +++ b/i2p2www/pages/site/browser/_front.html @@ -3,11 +3,11 @@ {% block content_nav %} <ol> <li style="list-style: none; display: inline"> -<h4>{{ _('General') }}</h4> +<h4>{{ _('Navigation') }}</h4> </li> -<li>{% trans intro=get_url('browser_intro') %}<a href="{{ intro }}">Introduction</a>{% endtrans %}</li> -<li>{% trans download=get_url('browser_download') %}<a href="{{ download }}">The downloads</a>{% endtrans %}</li> -<li>{% trans faq=get_url('browser_faq') %}<a href="{{ faq }}">I2P Browser FAQ</a>{% endtrans %}</li> +<li style="list-style: none;">{% trans intro=get_url('browser_intro') %}<a href="{{ intro }}">Introduction</a>{% endtrans %}</li> +<li style="list-style: none;">{% trans download=get_url('browser_download') %}<a href="{{ download }}">The downloads</a>{% endtrans %}</li> +<li style="list-style: none;">{% trans faq=get_url('browser_faq') %}<a href="{{ faq }}">I2P Browser FAQ</a>{% endtrans %}</li> </ol> {% endblock %} diff --git a/i2p2www/pages/site/browser/download.html b/i2p2www/pages/site/browser/download.html index c02f8310e..ed6b6830d 100644 --- a/i2p2www/pages/site/browser/download.html +++ b/i2p2www/pages/site/browser/download.html @@ -5,11 +5,15 @@ {% block content_nav %} <ol> <li style="list-style: none; display: inline"> - <h4>{{ _('Variants') }}</h4> + <h4>{{ _('Navigation') }}</h4> </li> - <li><a href="#windows">{% trans %}Windows{% endtrans %}</a></li> - <li><a href="#macosx">{% trans %}Mac OS X{% endtrans %}</a></li> - <li><a href="#linux">{% trans %}Linux{% endtrans %}</a></li> + <li style="list-style: none;">{% trans browser_main=get_url('browser_frontpage') %}<a href="{{ browser_main }}">Back to browser front page</a>{% endtrans %}</li> + <li style="list-style: none; display: inline"> + <h4>{{ _('Platforms') }}</h4> + </li> + <li style="list-style: none;"><a href="#windows">{% trans %}Windows{% endtrans %}</a></li> + <li style="list-style: none;"><a href="#macosx">{% trans %}Mac OS X{% endtrans %}</a></li> + <li style="list-style: none;"><a href="#linux">{% trans %}Linux{% endtrans %}</a></li> </ol> {% endblock %} @@ -20,9 +24,6 @@ <section id="download"> <h1>{{ _('I2P Browser download page') }}</h1> - <i>{% trans browser_main=get_url('browser_frontpage') %}<a href="{{ browser_main }}">Back to browser front page</a>{% endtrans %}</i> - - <p>{% trans -%} The Invisible Internet browser is a fork of TorBrowser/Mozilla Firefox ESR that comes preconfigured with proxy settings, NoScript and i2pbutton which contains some security/privacy improvements like a drag and drop filter and diff --git a/i2p2www/pages/site/browser/faq.html b/i2p2www/pages/site/browser/faq.html index bdfac094f..374767297 100644 --- a/i2p2www/pages/site/browser/faq.html +++ b/i2p2www/pages/site/browser/faq.html @@ -2,6 +2,11 @@ {% block title %}{{ _('The I2P Browser') }}{% endblock %} {% block content_nav %} <ol> + + <li style="list-style: none; display: inline"> + <h4>{{ _('Navigation') }}</h4> + </li> + <li style="list-style: none;">{% trans browser_main=get_url('browser_frontpage') %}<a href="{{ browser_main }}">Back to browser front page</a>{% endtrans %}</li> <li style="list-style: none; display: inline"> <h4>{{ _('Browser FAQs') }}</h4> </li> @@ -19,8 +24,6 @@ {% block content %} <h2>Browser FAQs</h2> -<i>{% trans browser_main=get_url('browser_frontpage') %}<a href="{{ browser_main }}">Back to browser front page</a>{% endtrans %}</i> - <h3 id="what"> <span class="permalink"> diff --git a/i2p2www/pages/site/browser/intro.html b/i2p2www/pages/site/browser/intro.html index 256388fa5..a4ed131f0 100644 --- a/i2p2www/pages/site/browser/intro.html +++ b/i2p2www/pages/site/browser/intro.html @@ -3,8 +3,9 @@ {% block content_nav %} <ol> <li style="list-style: none; display: inline"> -<h4>{{ _('General') }}</h4> +<h4>{{ _('Navigation') }}</h4> </li> +<li style="list-style: none;">{% trans browser_main=get_url('browser_frontpage') %}<a href="{{ browser_main }}">Back to browser front page</a>{% endtrans %}</li> </ol> {% endblock %} @@ -13,7 +14,7 @@ <h1>The I2P Browser Introduction</h1> -<i>{% trans browser_main=get_url('browser_frontpage') %}<a href="{{ browser_main }}">Back to browser front page</a>{% endtrans %}</i> + TBA. -- GitLab