fixup! wip: rewrite to flask

This commit is contained in:
2025-03-22 19:23:32 +03:00
parent c5d2d6237b
commit 9aad4e26cd
7 changed files with 156 additions and 177 deletions
-141
View File
@@ -1,141 +0,0 @@
<!DOCTYPE html>
<html lang="en" onmouseup="dropdown_hide()">
<head>
<meta charset="utf-8" />
<title>KolibriOS</title>
<link rel="icon" type="image/x-icon" href="../favicon.ico" />
<meta name="description" content="KolibriOS official site" />
<meta name="keywords"
content="kolibri, kolibrios, колибри, колибриос, colibri, operating system, assembler, калибри, fasm, alternate, open source" />
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<script src="../script.js"></script>
</head>
<body onkeydown="checkkey(event)">
<div id="lang-dropdown">
<div>
<font bg="#90EE90">
<a href="../en/index.htm" class="a-sel"><img src="../i/fl/en.png" alt="en" />English</a>
</font>
<a href="../de/index.htm"><img src="../i/fl/de.png" alt="de" />Deutsch</a>
<a href="../es/index.htm"><img src="../i/fl/es.png" alt="es" />Español</a>
<a href="../fr/index.htm"><img src="../i/fl/fr.png" alt="fr" />Français</a>
<a href="../it/index.htm"><img src="../i/fl/it.png" alt="it" />Italiano</a>
<a href="../nl/index.htm"><img src="../i/fl/nl.png" alt="nl" />Nederlands</a>
<a href="../ru/index.htm"><img src="../i/fl/ru.png" alt="ru" />Русский</a>
</div>
</div>
<nav id="menu">
<a href="../en/index.htm" class="a-sel">
<font bg="lightblue">KolibriOS</font>
</a>
<a href="../en/download.htm">Download</a>
<a href="http://board.kolibrios.org">Forum</a>
<a href="http://wiki.kolibrios.org/index.php?title=Main_Page&amp;setlang=en">Wiki</a>
<a href="https://git.kolibrios.org">Git</a>
<button onclick="dropdown_show(this)" id="lang-butt">
<img src="../i/fl/en.png" alt="en" />
</button>
</nav>
<div id="article">
<a id="banner" href="https://git.kolibrios.org" target="_blank">
<table>
<tr>
<td valign="top" width="128">
<img src="../i/logo.png" alt="Banner Image" />
</td>
<td valign="top">
<h1>KolibriOS moved to Git!</h1>
<p>
Check our new developers-friendly infrastructure
</p>
<p class="p-link">
<a href="https://git.kolibrios.org">https://git.kolibrios.org</a>
</p>
</td>
<td valign="top" width="128">
<img src="../i/banners/gitea.png" alt="Banner Image" />
</td>
</tr>
</table>
</a>
<p>
<b>KolibriOS</b> is a tiny yet incredibly powerful and fast operating system.
It requires only a few megabyte disk space and 12 MB of RAM to run,
but features a rich set of applications that include word processor, image
viewer, graphical editor, web browser and over 30 exciting games.
It also has full FAT12/16/32 support is implemented, as well as read-only
support for NTFS, exFAT, ISO9660 and Ext2/3/4 and boasts an extensive set of
<a href="http://wiki.kolibrios.org/wiki/Hardware_Support">drivers</a>
for popular sound, network and graphics cards.
</p>
<iframe src="https://www.youtube.com/embed/SATYQyIcimM" allowfullscreen="true"></iframe>
<p>
Have you ever dreamed of a system that boots in less than few seconds from
power-on to working GUI? About applications that start instantly, immediately
after clicking an icon, without annoying hourglass pointers?
This speed is achieved since the core parts of <b>KolibriOS</b>
(kernel and drivers) are written entirely in
<a href="http://www.flatassembler.net" target="_blank">FASM</a>
assembly language!
Try <b>KolibriOS</b> and compare it with such heavyweights as Windows and Linux.
</p>
<p>
<b>KolibriOS</b> has forked off from MenuetOS in 2004, and is run under
independent development since then.
Your <a href="http://board.kolibrios.org">feedback</a> is very much
appreciated, and your
<a href="https://git.kolibrios.org/KolibriOS/kolibrios">help</a>
is even more welcome.
</p>
<p class="p-subscription">
<b>
We hope you will enjoy it!<br />
KolibriOS Team
</b>
</p>
<p class="p-socials">
<a href="https://t.me/kolibrios_news" target="_blank">
<img src="../i/i_telegram.png" />Telegram
</a>
<br />
<a href="https://discord.com/invite/FeB2NvE6bF" target="_blank">
<img src="../i/i_discord.png" />Discord
</a>
<br />
<a href="https://www.facebook.com/groups/kolibrios/" target="_blank">
<img src="../i/i_facebook.png" />Facebook
</a>
<br />
<a href="https://www.reddit.com/r/KolibriOS/" target="_blank">
<img src="../i/i_reddit.png" />Reddit
</a>
</p>
</div>
<div id="footer">
<img src="../i/logo.png" />
<p>
&copy; 2004
<script>document.write("&thinsp;&ndash;&thinsp;" + new Date().getFullYear());</script>
<br />
KolibriOS Team
</p>
</div>
</body>
</html>
+67 -9
View File
@@ -10,19 +10,28 @@ wiki = Вики
description = Официальный сайт KolibriOS
team = Команда КолибриОС
img-descr = Образ дискеты
iso-descr = Образ LiveCD
distr-descr = Универсальный образ Flash/Multi-boot
raw-descr = Гибридный UEFI/BIOS образ
prev_rev = Предыдущие выпуски
all_rev = Все ночные сборки
screenshots = Скриншоты
download_help = Для новичка лучше всего подойдет LiveCD.\n
\n
По сравнению с LiveCD преимущество универсального образа в том, что вы можете сохранить изменения, сделанные в KolibriOS.\n
\n
download_choice = Какой выбрать?
download_help = Для новичка лучше всего подойдет LiveCD.\n \
\n\
По сравнению с LiveCD преимущество универсального образа в том, что вы можете сохранить изменения, сделанные в KolibriOS.\n\
\n\
Гибридный образ включает поддержку технологии UEFI, которая используется для загрузки системы на новых компьютерах и ноутбуках.
download_description[] = На этой странице вы можете скачать ночные сборки дистрибутива.
download_description[0] = На этой странице вы можете скачать ночные сборки дистрибутива.
Это означает, что они всегда содержат последние изменения в системе и,
следовательно, могут быть нестабильными. Все файлы сжаты с помощью
download_description[] = распространяется под лицензией
download_description[] = а исходный код доступен на нашем
download_description[] = Git-сервере
download_description[1] = распространяется под лицензией
download_description[2] = а исходный код доступен на нашем
download_description[3] = Git-сервере
[ru.title]
@@ -35,4 +44,53 @@ download_page = KolibriOS - Загрузка
3 = Файловые менеджеры
4 = Сетевые приложения
5 = Игры
6 = Инструменты разработчика
6 = Инструменты разработчика
[en]
language = English
kolibrios = KolibriOS
download = download
downloading = Downloads
forum = Forum
wiki = Wiki
description =
team = KolibriOS Team
img-descr = Floppy disk image
iso-descr = LiveCD image
distr-descr = Universal Flash/Multi-boot image
raw-descr = Hybrid UEFI/BIOS image
prev_rev = Previous releases
all_rev = All nightly builds
screenshots = Screenshots
download_choice = Which to choose?
download_help = For a beginner, the LiveCD is best.\n\
\n\
Compared to a LiveCD, the advantage of a universal image is that you can save changes made in KolibriOS.\n\
\n\
Hybrid image includes support for UEFI technology, which is used to boot the system on new computers and laptops.
download_description[0] = On this page you can download the nightly builds distribution, which means
that they always contain the most recent changes in the system and can,
therefore, be unstable. All files are compressed with
download_description[1] = is distributed under under
download_description[2] = license, its source code is available on our
download_description[3] = Git server
[en.title]
index = KolibriOS
download_page = KolibriOS - Download
[en.screenshots]
1 = KolibriOS desktop
2 = Demos
3 = File managers
4 = Network programs
5 = Games
6 = Developer and debug tools
+65
View File
@@ -0,0 +1,65 @@
{% extends 'tmpl/index.htm' %}
{% block content %}
<a id="banner" href="https://git.kolibrios.org" target="_blank">
<table>
<tr>
<td valign="top" width="128">
<img src="{{ url_for('static', filename='img/logo.png') }}" alt="Banner Image" />
</td>
<td valign="top">
<h1>KolibriOS moved to Git!</h1>
<p>
Check our new developers-friendly infrastructure
</p>
<p class="p-link">
<a href="https://git.kolibrios.org">https://git.kolibrios.org</a>
</p>
</td>
<td valign="top" width="128">
<img src="{{ url_for('static', filename='img/icons/gitea.png') }}" alt="Banner Image" />
</td>
</tr>
</table>
</a>
<p>
<b>KolibriOS</b> is a tiny yet incredibly powerful and fast operating system.
It requires only a few megabyte disk space and 12 MB of RAM to run,
but features a rich set of applications that include word processor, image
viewer, graphical editor, web browser and over 30 exciting games.
It also has full FAT12/16/32 support is implemented, as well as read-only
support for NTFS, exFAT, ISO9660 and Ext2/3/4 and boasts an extensive set of
<a href="http://wiki.kolibrios.org/wiki/Hardware_Support">drivers</a>
for popular sound, network and graphics cards.
</p>
<iframe src="https://www.youtube.com/embed/SATYQyIcimM" allowfullscreen="true"></iframe>
<p>
Have you ever dreamed of a system that boots in less than few seconds from
power-on to working GUI? About applications that start instantly, immediately
after clicking an icon, without annoying hourglass pointers?
This speed is achieved since the core parts of <b>KolibriOS</b>
(kernel and drivers) are written entirely in
<a href="http://www.flatassembler.net" target="_blank">FASM</a>
assembly language!
Try <b>KolibriOS</b> and compare it with such heavyweights as Windows and Linux.
</p>
<p>
<b>KolibriOS</b> has forked off from MenuetOS in 2004, and is run under
independent development since then.
Your <a href="http://board.kolibrios.org">feedback</a> is very much
appreciated, and your
<a href="https://git.kolibrios.org/KolibriOS/kolibrios">help</a>
is even more welcome.
</p>
<p class="p-subscription">
<b>
We hope you will enjoy it!<br />
KolibriOS Team
</b>
</p>
{% endblock %}
+7
View File
@@ -56,4 +56,11 @@
<a href="https://git.kolibrios.org/KolibriOS/kolibrios">помощь</a>
ценится ещё больше.
</p>
<p class="p-subscription">
<b>
Надеемся, вам понравится! <br/>
Команда КолибриОС
</b>
</p>
{% endblock %}
+7
View File
@@ -0,0 +1,7 @@
<div id="footer">
<img src="{{ url_for('static', filename='img/logo.png') }}" />
<p>
&copy; 2004-{{ year }} <br />
{{ locale[lang]['team'] }}
</p>
</div>
+9 -19
View File
@@ -20,7 +20,7 @@
) %}
<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">{{ locale[lang]['%s-descr' % s] }}</td>
<td class="td-description">{{ locale[lang]['%s-descr' % ext] }}</td>
<td class="td-date">$autobuild_date_ru</td>
<td class="td-languages">
{% for l, lang in (
@@ -43,26 +43,24 @@
<td class="td-description" colspan="2">
<div role="button" class="help-button"
onclick="alert('{{ locale[lang]['download_help']}}');">
Какой выбрать?
{{ locale[lang]['download_choice'] }}
</div>
<td class="td-date">
<a href="//archive.kolibrios.org/ru/">Предыдущие выпуски</a>
<a href="//archive.kolibrios.org/ru/">{{ locale[lang]['prev_rev'] }}</a>
</td>
<td class="td-languages">
<a href="//builds.kolibrios.org/">Все ночные сборки</a>
<a href="//builds.kolibrios.org/">{{ locale[lang]['all_rev'] }}</a>
</td>
</tr>
</table>
<p>
На этой странице вы можете скачать ночные сборки дистрибутива.
Это означает, что они всегда содержат последние изменения в системе и,
следовательно, могут быть нестабильными. Все файлы сжаты с помощью
{{ locale[lang]['download_description[0]'] }}
<a href='http://www.7-zip.org' target='_blank'>7zip</a>.
<b>КолибриОС</b> распространяется под лицензией
<b>{{ locale[lang]['kolibrios'] }}</b> {{ locale[lang]['download_description[1]'] }}
<a href='http://www.gnu.org/licenses/gpl-2.0.html' target='_blank'>GPLv2</a>,
а исходный код доступен на нашем
<a href='https://git.kolibrios.org'>Git-сервере</a>.
{{ locale[lang]['download_description[2]'] }}
<a href='https://git.kolibrios.org'>{{ locale[lang]['download_description[3]'] }}</a>.
</p>
@@ -83,15 +81,7 @@
<div id="dots"></div>
</div>
<div id="footer">
<img src="{{ url_for('static', filename='img/logo.png') }}" />
<p>
&copy; 2004<script>document.write("&thinsp;&ndash;&thinsp;" + new Date().getFullYear());</script>
<br />
Команда КолибриОС
</p>
</div>
{% include 'tmpl/_footer.htm' %}
</body>
</html>
+1 -8
View File
@@ -15,14 +15,7 @@
{% include 'tmpl/_socials.htm' %}
</div>
<div id="footer">
<img src="{{ url_for('static', filename='img/logo.png') }}" />
<p>
&copy; 2004-{{ year }} <br />
{{ locale[lang]['team'] }}
</p>
</div>
{% include 'tmpl/_footer.htm' %}
</body>
</html>