Fix non-HTTP urls, fix spacing and styles for WebView
This commit is contained in:
+1
-1
@@ -19,5 +19,5 @@ def render_localized_template(lang, template_name):
|
||||
template_name,
|
||||
year=date.today().year,
|
||||
),
|
||||
remove_empty_space=True,
|
||||
remove_empty_space=False,
|
||||
)
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
{{ _(
|
||||
'downloads:download_description',
|
||||
kolibrios="<b>{0}</b>".format(_('title:index')),
|
||||
zip="<a href='//www.7-zip.org' target='_blank'>7zip</a>",
|
||||
zip="<a href='https://7-zip.org' target='_blank'>7zip</a>",
|
||||
gpl="<a href='//www.gnu.org/licenses/gpl-2.0.html' target='_blank'>GPLv2</a>",
|
||||
git="<a href='//git.kolibrios.org'>{0}</a>".format(_('downloads:git-server'))
|
||||
) | safe }}
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
</p>
|
||||
|
||||
{% if g.locale == 'ru' %}
|
||||
<iframe src="//www.youtube.com/embed/IEi25wYyj20" allowfullscreen="true"></iframe>
|
||||
<iframe src="https://www.youtube.com/embed/IEi25wYyj20" allowfullscreen="true"></iframe>
|
||||
{% else %}
|
||||
<iframe src="//www.youtube.com/embed/SATYQyIcimM" allowfullscreen="true"></iframe>
|
||||
<iframe src="https://www.youtube.com/embed/SATYQyIcimM" allowfullscreen="true"></iframe>
|
||||
{% endif %}
|
||||
|
||||
<p>
|
||||
@@ -19,7 +19,7 @@
|
||||
'article:p2',
|
||||
kolibrios="<b>{0}</b>"
|
||||
.format(_('menu:kolibrios')),
|
||||
fasm="<a href='//www.flatassembler.net' target='_blank'>FASM</a>"
|
||||
fasm="<a href='//flatassembler.net' target='_blank'>FASM</a>"
|
||||
) | safe }}
|
||||
</p>
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<nav id="menu">
|
||||
<a href="{{ url_for('index', lang=g.locale) }}" class="{% if request.endpoint == 'index' %}a-sel{% endif %}">
|
||||
<a href="{{ url_for('index', lang=g.locale) }}"{% if request.endpoint == 'index' %} class="a-sel"{% endif %}>
|
||||
{% if current == 'index' %}
|
||||
<font bg="lightblue">{{ _('menu:kolibrios') }}</font>
|
||||
{% else %}
|
||||
{{ _('menu:kolibrios') }}
|
||||
{% endif %}
|
||||
</a>
|
||||
|
||||
<a href="{{ url_for('download', lang=g.locale) }}" class="{% if request.endpoint == 'download' %}a-sel{% endif %}">
|
||||
|
||||
<a href="{{ url_for('download', lang=g.locale) }}"{% if request.endpoint == 'download' %} class="a-sel"{% endif %}>
|
||||
{% if current == 'download' %}
|
||||
<font bg="lightblue">{{ _('menu:download') }}</font>
|
||||
{% else %}
|
||||
@@ -16,9 +16,11 @@
|
||||
</a>
|
||||
|
||||
<a href="//board.kolibrios.org">{{ _('menu:forum') }}</a>
|
||||
|
||||
<a href="//wiki.kolibrios.org/wiki/Main_Page/{{ g.locale }}">{{ _('menu:wiki') }}</a>
|
||||
|
||||
<a href="//git.kolibrios.org">Git</a>
|
||||
|
||||
|
||||
<button onclick="dropdown_show(this)" id="lang-butt">
|
||||
<img src="{{ url_for('static', filename='img/flags/%s.png' % g.locale) }}" alt="{{ g.locale }}">
|
||||
</button>
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
<p class="p-socials">
|
||||
<a href="//t.me/kolibrios_news" target="_blank">
|
||||
<a href="https://t.me/kolibrios_news" target="_blank">
|
||||
<img src="{{ url_for('static', filename='img/icons/i_telegram.png') }}" alt="Telegram">Telegram
|
||||
</a>
|
||||
<br />
|
||||
<a href="//discord.com/invite/FeB2NvE6bF" target="_blank">
|
||||
<a href="https://discord.com/invite/FeB2NvE6bF" target="_blank">
|
||||
<img src="{{ url_for('static', filename='img/icons/i_discord.png') }}" alt="Discord">Discord
|
||||
</a>
|
||||
<br />
|
||||
<a href="//www.facebook.com/groups/kolibrios/" target="_blank">
|
||||
<a href="https://facebook.com/groups/kolibrios/" target="_blank">
|
||||
<img src="{{ url_for('static', filename='img/icons/i_facebook.png') }}" alt="Facebook">Facebook
|
||||
</a>
|
||||
<br />
|
||||
<a href="//www.reddit.com/r/KolibriOS/" target="_blank">
|
||||
<a href="https://reddit.com/r/KolibriOS/" target="_blank">
|
||||
<img src="{{ url_for('static', filename='img/icons/i_reddit.png') }}" alt="Reddit">Reddit
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p class="p-socials">
|
||||
<a href="//matrix.to/#/#kolibrios:lair.moe" target="_blank">
|
||||
<a href="https://matrix.to/#/#kolibrios:lair.moe" target="_blank">
|
||||
<img src="{{ url_for('static', filename='img/icons/i_matrix.png') }}" alt="Matrix">Matrix
|
||||
</a>
|
||||
<br />
|
||||
|
||||
Reference in New Issue
Block a user