Files
Burer e161237894
Docker Build and Push / build-and-push (push) Successful in 47s
fix/ascii-and-http (#14)
- Restored broken download tooltips that showed raw template placeholders instead of rendered values
- Simplified `autobuild.py` by removing unnecessary fallback/parsing complexity and reducing helper overhead
- Audited non-ASCII characters and get rid of Unicode “gremlins” that are not supported by WebView
- Converted hardcoded external template links to protocol-relative `//...` URLs so they follow the current site scheme

Reviewed-on: #14
Reviewed-by: Gleb Zaharov <risdeveau@lair.moe>
Co-authored-by: Burer <burer@kolibrios.org>
Co-committed-by: Burer <burer@kolibrios.org>
2026-04-04 17:01:36 +00:00

138 lines
5.0 KiB
HTML

<!doctype html>
<html lang="{{ lang }}" onmouseup="dropdown_hide()">
{% include 'tmpl/_header.htm' %}
<body onkeydown="checkkey(event)">
{% include 'tmpl/_lang-dropdown.htm' %}
{% include 'tmpl/_menu.htm' %}
<div id="article">
<h1>{{ _('downloads:header') }}</h1>
<table>
<tr class="tr-margin-bot">
<td colspan="3"><hr /></td>
</tr>
<tr class="tr-margin-bot tr-header">
<td class="td-image" width="40">
<img src="{{ url_for('static', filename='img/icons/i_kolibrios.png') }}" alt="kolibrios">
</td>
<td class="td-description">
{{ _('downloads:version') }} <b>{{ autobuild_vers }}</b>
</td>
<td class="td-languages">
{{ _('downloads:date') }} <b>{{ autobuild_date }}</b>
</td>
</tr>
<tr class="tr-margin-bot">
<td colspan="3"><hr /></td>
</tr>
{% for ext, alt in (
('img', 'floppy'),
('iso', 'cd'),
('distr', 'universal'),
('raw', 'uefi')
) %}
<tr class="tr-margin-bot">
<td class="td-image" width="40">
<img src="{{ url_for('static', filename='img/icons/i_%s.png' % alt) }}" alt="{{ alt }}">
</td>
<td class="td-description">
{{ _('downloads:%s-descr' % ext) }}
{% if ext == 'raw' %}
<span class="beta">BETA</span>
{% endif %}
</td>
<td class="td-languages">
{% for l, lang in (
('en_US', 'English'),
('ru_RU', 'Русский'),
('es_ES', 'Español')
) %}
<a href="//builds.kolibrios.org/{{ l }}/latest-{{ ext }}.7z"
title="{{ autobuild_vers }}, {{ autobuild_sizes[l][ext] }}"
class="button">
{{ lang }}
{% if l == 'en_US' %}
<img src="{{ url_for('static', filename='img/flags/en.png') }}" alt="{{ lang }}">
{% elif l == 'ru_RU' %}
<img src="{{ url_for('static', filename='img/flags/ru.png') }}" alt="{{ lang }}">
{% elif l == 'es_ES' %}
<img src="{{ url_for('static', filename='img/flags/es.png') }}" alt="{{ lang }}">
{% endif %}</a>
{% endfor %}
</td>
</tr>
{% endfor %}
<tr>
<td colspan="3"><hr /></td>
</tr>
</table>
<table>
<tr class="tr-margin-top">
<td class="td-description td-info" colspan="2">
<div role="button" class="help-button"
onclick="alert('{{ _('downloads:download_help') }}');">
<img src="{{ url_for('static', filename='img/icons/i_info.png') }}" alt="Info">
<u>{{ _('downloads:download_choice') }}</u>
</div>
</td>
<td class="td-languages">
<a href="//archive.kolibrios.org/{{ g.locale | e }}/">
{{ _('downloads:prev_rev') }}
</a>
<a href="//builds.kolibrios.org/">
{{ _('downloads:all_rev') }}
</a>
</td>
</tr>
</table>
<p>
{{ _(
'downloads:download_description',
kolibrios="<b>{0}</b>".format(_('title:index')),
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 }}
</p>
<p class="p-warn">
<img src="{{ url_for('static', filename='img/icons/i_warn.png') }}" alt="Warn">{{ _(
'downloads:download_warn',
kolibrios="<b>{0}</b>".format(_('title:index'))
) | safe }}
</p>
<h1>{{ _('screenshots:header') }}</h1>
<div id="screen" onclick="next()">
<div id="show">
{% for i in range(1, 7) %}
<img
id="slide{{ i }}"
src="{{ url_for('static', filename='img/screenshots/%d.png' % i ) }}"
{% if i == 1 %}class="visible"{% endif %}
alt="{{ _('screenshots:%d' % i) }}"
>
{% endfor %}
</div>
</div>
<div id="carousel"></div>
<div id="dots"></div>
</div>
{% include 'tmpl/_footer.htm' %}
</body>
</html>