diff --git a/src/rupload/app.py b/src/rupload/app.py index f45689a..27b2489 100644 --- a/src/rupload/app.py +++ b/src/rupload/app.py @@ -57,7 +57,10 @@ UPLOAD_PAGE = """ width: 100%; max-width: 500px; } + .container-images { + filter: invert(1); + } h1 { font-size: 24px; margin-bottom: 20px; @@ -133,7 +136,7 @@ UPLOAD_PAGE = """
Click here to see uploaded files (non-image) at the bottom of this page.

Uploaded images:

-
+
[images_html]

Uploaded files:

@@ -189,7 +192,7 @@ def create_images_html(url, image_paths): images_html = "" for image_path in image_paths: path = url.rstrip("/") + "/" + image_path.name - images_html += f'{image_path.name}' + images_html += f'{image_path.name}\n' return images_html @@ -197,7 +200,7 @@ def create_files_html(url, file_paths): files_html = "" for file_path in file_paths: path = url.rstrip("/") + "/" + file_path.name - files_html += f'{file_path.name} ({format_size(file_path.stat().st_size)})
' + files_html += f'{file_path.name} ({format_size(file_path.stat().st_size)})\n
\n' return files_html