Spaces:
Sleeping
Sleeping
WebashalarForML
commited on
Commit
•
b4245e6
1
Parent(s):
ab691f9
Update templates/index.html
Browse files- templates/index.html +11 -10
templates/index.html
CHANGED
@@ -109,16 +109,17 @@
|
|
109 |
<input type="submit" value="Upload your Images" class="btn btn-outline-primary" />
|
110 |
</form>
|
111 |
|
112 |
-
{% if
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
|
|
122 |
{% endif %}
|
123 |
</div>
|
124 |
|
|
|
109 |
<input type="submit" value="Upload your Images" class="btn btn-outline-primary" />
|
110 |
</form>
|
111 |
|
112 |
+
{% if uploaded_files %}
|
113 |
+
<h4 class="mt-4">Uploaded Files:</h4>
|
114 |
+
<ul class="list-group">
|
115 |
+
{% for file in uploaded_files %}
|
116 |
+
<li class="list-group-item d-flex justify-content-between align-items-center"
|
117 |
+
style="background-color: #3a4149; color: #e0e0e0;">
|
118 |
+
{{ file }}
|
119 |
+
<a href="{{ url_for('remove_file', filename=file) }}" class="remove-file" title="Remove File">×</a>
|
120 |
+
</li>
|
121 |
+
{% endfor %}
|
122 |
+
</ul>
|
123 |
{% endif %}
|
124 |
</div>
|
125 |
|