mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 11:36:16 +00:00
Image upload added
Added temporary fix to loading images on the home page Fix api.py for requesting images Minor tweaks to default theme
This commit is contained in:
parent
367bb2bcc5
commit
44a6712b6e
8 changed files with 71 additions and 70 deletions
|
@ -1,13 +1,17 @@
|
|||
{% extends 'layout.html' %}
|
||||
|
||||
{% block header %}
|
||||
<img src="{{ url_for('static', filename='images/leaves.jpg') }}" alt="leaves" onload="imgFade(this)" style="display: none;"/>
|
||||
<img src="/uploads/original/{{ fileName }}" alt="leaves" onload="imgFade(this)" style="display: none;"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="app">
|
||||
<div class="image__container">
|
||||
<img class="image__item" src="/uploads/original/{{ fileName }}" onload="imgFade(this)" style="display:none;"/>
|
||||
<img
|
||||
class="image__item"
|
||||
src="/uploads/original/{{ fileName }}"
|
||||
onload="imgFade(this)" style="display:none;"
|
||||
/>
|
||||
</div>
|
||||
<div class="image__info">
|
||||
<h2>{{ fileName }}</h2>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue