organiced some icons index separating gifs banners
Before Width: | Height: | Size: 125 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 7.2 MiB After Width: | Height: | Size: 7.2 MiB |
Before Width: | Height: | Size: 438 KiB After Width: | Height: | Size: 438 KiB |
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 272 KiB |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
@ -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>
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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)
|
||||
|
|