wip: initial

This commit is contained in:
2023-06-07 12:41:06 +02:00
commit a8272393f9
10 changed files with 346 additions and 0 deletions

0
templates/.gitkeep Normal file
View File

29
templates/index.html Normal file
View File

@@ -0,0 +1,29 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Image factory providing automatically resized and re-encoded images.">
<meta name="author" content="Yannik Schmidt">
<meta name="title" content="Image Factory">
<meta property="og:type" content="website" />
<meta property="og:title" content="Image Factory" />
<meta property="og:description" content="Image Factory developed by Yannik Schmidt" />
<meta property="og:url" content="/" />
</head>
<body>
<div class="dev-info">
Image Factory for internal use,
developed by <a href="https://potaris.de">Yannik Schmidt</a><br>
Availiable on
<a href="https://github.com/FAUSheppy/python-flask-picture-factory">FAUSheppy GitHub</a>
</div>
<p>
Public Images List:
</p>
<div class="overview">
<p>
{% for path in paths %}
{{ path }}<br>
{% endfor %}
</p>
</div>
</body>

8
templates/upload.html Normal file
View File

@@ -0,0 +1,8 @@
<html>
<body>
<form action="/upload" method="POST" enctype="multipart/form-data">
<input type="file" name="file []" multiple=""/>
<input type="submit"/>
</form>
</body>
</html>