organiced some icons index separating gifs banners

This commit is contained in:
Alie 2023-06-07 19:55:25 +02:00
parent f0595645aa
commit 387914e0c1
22 changed files with 37 additions and 25 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

View File

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

View File

Before

Width:  |  Height:  |  Size: 7.2 MiB

After

Width:  |  Height:  |  Size: 7.2 MiB

View File

Before

Width:  |  Height:  |  Size: 438 KiB

After

Width:  |  Height:  |  Size: 438 KiB

View File

Before

Width:  |  Height:  |  Size: 272 KiB

After

Width:  |  Height:  |  Size: 272 KiB

View File

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en">
{% include "head.html" %}
{% include "head.html" %}
<body id="about">
<div class="centercubeplease">
<h1>So hey, you want to know more about me. Here u have!</h1>
@ -52,27 +52,26 @@
<h2 id="where">Where to contact me</h2>
<div class="centerade">
<a href="xmpp:bizcochito@fai.st">
<img
style="border: 0px; height: 36px; width: auto"
src="https://xmpp.org/images/logos/xmpp-logo.svg"
alt="XMPP" />
</a>
<a href="mailto:bizcochito@anartist.org">
<img
style="border: 0px; height: 36px; width: auto"
src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/%28at%29.svg/170px-%28at%29.svg.png"
alt="Personal Mail" />
</a>
<a href="https://awoo.fai.st/MeDueleLaTeta">
<img
style="border: 0px; height: 36px; width: auto"
src="https://upload.wikimedia.org/wikipedia/commons/9/93/Fediverse_logo_proposal.svg"
alt="Pleroma" />
</a>
<a href="xmpp:bizcochito@fai.st">
<img
style="border: 0px; height: 36px; width: auto"
src="https://xmpp.org/images/logos/xmpp-logo.svg"
alt="XMPP" />
</a>
<a href="mailto:bizcochito@anartist.org">
<img
style="border: 0px; height: 36px; width: auto"
src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/%28at%29.svg/170px-%28at%29.svg.png"
alt="Personal Mail" />
</a>
<a href="https://awoo.fai.st/MeDueleLaTeta">
<img
style="border: 0px; height: 36px; width: auto"
src="https://upload.wikimedia.org/wikipedia/commons/9/93/Fediverse_logo_proposal.svg"
alt="Pleroma" />
</a>
</div>
</div>
</div>
<a href="/">IDK return back</a>
</div>
</body>

View File

@ -12,12 +12,22 @@
<li><a href="about/">About me</a></li>
<li><a href="book/">Signbook</a></li>
</ul>
<h2>-Banners</h2>
<div class="img">
{% for gif in banger_list %}
<img
style="max-height: 50px; width: auto"
src="{% static "icons/banner/" %}{{gif.name}}"
alt="{{gif.url}}"
/>
{% endfor %}
</div>
<h2>-Funni gifs</h2>
<div class="img">
{% for gif in gif_list %}
<img
style="max-height: 50px; width: auto"
src="{% static "gif/" %}{{gif.name}}"
src="{% static "icons/gif/" %}{{gif.name}}"
alt="{{gif.url}}"
/>
{% endfor %}

View File

@ -22,7 +22,9 @@ def index(request):
# Get list of 81x33 icons
banner_list = image_dict_from_name_list(os.listdir(os.path.join(os.path.dirname(os.path.dirname(__file__)), "webpage", "static/icons/88x31/")))
# Get list of funni gifs
gif_list = image_dict_from_name_list(os.listdir(os.path.join(os.path.dirname(os.path.dirname(__file__)), "webpage", "static/gif/")))
gif_list = image_dict_from_name_list(os.listdir(os.path.join(os.path.dirname(os.path.dirname(__file__)), "webpage", "static/icons/gif/")))
# Get list of banners
banger_list = image_dict_from_name_list(os.listdir(os.path.join(os.path.dirname(os.path.dirname(__file__)), "webpage", "static/icons/banner/")))
if not ad or not banner_list or not gif_list:
return HttpResponseNotFound()
else:
@ -30,7 +32,8 @@ def index(request):
"title": "THE INDEX",
"ad": ad,
"banner_list": banner_list,
"gif_list": gif_list
"gif_list": gif_list,
"banger_list": banger_list,
}
return render(request,
"index.html", context)