feat/flask: images cleanup

- delete obsolete images
- resort images by folders
- add proper alt= parameters and standartized closing to <img> tags
This commit is contained in:
2025-06-01 18:51:44 +03:00
committed by Sweetbread
parent 838380254f
commit 25d68524b7
27 changed files with 11 additions and 11 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 472 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 499 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 813 B

View File

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 B

View File

@@ -1 +0,0 @@
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" x1="66.67%" x2="41.67%" y1="16.67%" y2="75%"><stop offset="0" stop-color="#37aee2"/><stop offset="1" stop-color="#1e96c8"/></linearGradient><linearGradient id="b" x1="65.97%" x2="85.12%" y1="43.69%" y2="80.24%"><stop offset="0" stop-color="#eff7fc"/><stop offset="1" stop-color="#fff"/></linearGradient><circle cx="8" cy="8" fill="url(#a)" r="8"/><path d="m6.53333333 11.6666667c-.25917333 0-.21513333-.09786-.30452-.3446334l-.76214666-2.50830663 5.86666663-3.48039334" fill="#c8daea"/><path d="m6.53333333 11.6666667c.2 0 .28836667-.0914667.4-.2l1.06666667-1.0372-1.33053333-.80233337" fill="#a9c9dd"/><path d="m6.66933333 9.62733333 3.224 2.38193337c.36789997.2029933.63342667.0978933.72506667-.3415667l1.3123333-6.1842c.13436-.53868-.20534-.783-.5572933-.62321333l-7.706 2.9714c-.52600667.21098-.52294.50444-.09588.6352l1.97753333.61722 4.57819997-2.88833334c.2161267-.13106.4144867-.06059933.25168.08389334" fill="url(#b)"/></svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -1,5 +1,5 @@
<div id="footer">
<img src="{{ url_for('static', filename='img/logo.png') }}" />
<img src="{{ url_for('static', filename='img/logo.png') }}" alt="KolibriOS">
<p>
&copy; 2004{{ year }} <br />
{{ locale['footer']['team'] }}

View File

@@ -2,7 +2,7 @@
<table>
<tr>
<td valign="top" width="128">
<img src="{{ url_for('static', filename='img/logo.png') }}" alt="Banner Image" />
<img src="{{ url_for('static', filename='img/logo.png') }}" alt="KolibriOS">
</td>
<td valign="top">
<h1>{{ locale['git']['header'] }}</h1>
@@ -12,7 +12,7 @@
</p>
</td>
<td valign="top" width="128">
<img src="{{ url_for('static', filename='img/icons/gitea.png') }}" alt="Banner Image" />
<img src="{{ url_for('static', filename='img/gitea.png') }}" alt="Gitea">
</td>
</tr>
</table>

View File

@@ -9,7 +9,7 @@
<img
src="{{ url_for('static', filename='img/flags/%s.png' % lang_code) }}"
alt="{{ lang_code }}"
/>
>
{{ lang_name }}
</a>
</font>
@@ -18,7 +18,7 @@
<img
src="{{ url_for('static', filename='img/flags/%s.png' % lang_code) }}"
alt="{{ lang_code }}"
/>
>
{{ lang_name }}
</a>
{%- endif %}

View File

@@ -1,17 +1,17 @@
<p class="p-socials">
<a href="https://t.me/kolibrios_news" target="_blank">
<img src="{{ url_for('static', filename='img/icons/i_telegram.png') }}" />Telegram
<img src="{{ url_for('static', filename='img/icons/i_telegram.png') }}" alt="Telegram">Telegram
</a>
<br />
<a href="https://discord.com/invite/FeB2NvE6bF" target="_blank">
<img src="{{ url_for('static', filename='img/icons/i_discord.png') }}" />Discord
<img src="{{ url_for('static', filename='img/icons/i_discord.png') }}" alt="Discord">Discord
</a>
<br />
<a href="https://www.facebook.com/groups/kolibrios/" target="_blank">
<img src="{{ url_for('static', filename='img/icons/i_facebook.png') }}" />Facebook
<img src="{{ url_for('static', filename='img/icons/i_facebook.png') }}" alt="Facebook">Facebook
</a>
<br />
<a href="https://www.reddit.com/r/KolibriOS/" target="_blank">
<img src="{{ url_for('static', filename='img/icons/i_reddit.png') }}" />Reddit
<img src="{{ url_for('static', filename='img/icons/i_reddit.png') }}" alt="Reddit">Reddit
</a>
</p>

View File

@@ -82,7 +82,8 @@
id="slide{{ i }}"
src="{{ url_for('static', filename='img/screenshots/%d.png' % i ) }}"
{% if i == 1 %}class="visible"{% endif %}
alt="{{ locale['screenshots']['%d' % i] }}" >
alt="{{ locale['screenshots']['%d' % i] }}"
>
{% endfor %}
</div>
</div>