mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-01-31 18:28:30 +00:00
Michał
99c1d81869
Remove useless extra checks in metadata parser Add Flask-Caching, need to test how helpfull this is
45 lines
1.4 KiB
HTML
45 lines
1.4 KiB
HTML
{% extends 'layout.html' %}
|
|
|
|
{% block header %}
|
|
<div class="banner">
|
|
<img src="{{ url_for('static', filename='images/bg.svg') }}" onload="imgFade(this)" style="opacity:0;"/>
|
|
<span></span>
|
|
|
|
<div class="banner__content">
|
|
{% block banner_subtitle%}{% endblock %}
|
|
<h1>Groups</h1>
|
|
<p>gwa gwa</p>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
{% block nav_groups %}navigation-item__selected{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="gallery">
|
|
{% for group in groups %}
|
|
<a id="group-{{ group['id'] }}" class="gallery__item" href="/group/{{ group['id'] }}">
|
|
<span class="gallery__item-info">
|
|
<p>{{ group['id'] }}</p>
|
|
<h2><span class="time">{{ group['created_at'] }}</span></h2>
|
|
</span>
|
|
<img
|
|
class="gallery__item-group"
|
|
data-src="{{ group['file_name'] }}"
|
|
onload="imgFade(this)"
|
|
style="opacity:0;"
|
|
/>
|
|
</a>
|
|
{% endfor %}
|
|
</div>
|
|
<form action="/group" method="post" enctype="multipart/form-data">
|
|
<input type="text" name="name" placeholder="name">
|
|
<input type="text" name="description" placeholder="description">
|
|
<button type="submit">Submit</button>
|
|
</form>
|
|
{% endblock %}
|
|
|
|
{% block script %}
|
|
<script>
|
|
|
|
</script>
|
|
{% endblock %} |