File tree 1 file changed +2
-19
lines changed
1 file changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -74,26 +74,9 @@ <h1>Upload Files</h1>
74
74
method ="post "
75
75
enctype ="multipart/form-data ">
76
76
< label for ="file "> File</ label >
77
- < input type ="file " name ="file " id ="file " multiple accept =" .gz " required />
77
+ < input type ="file " name ="file " id ="file " multiple required />
78
78
< input id ="upload-btn " type ="submit " value ="Upload " />
79
- {% with messages = get_flashed_messages() %}
80
- {% if messages %}
81
- {% for message in messages %}
82
- < p > {{ message }}</ p >
83
- {% endfor %}
84
- {% endif %}
85
- {% endwith %}
86
- {% if download %}
87
- < a id ="download-link " href ="/download "> Download file</ a >
88
- {% endif %}
89
79
</ form >
90
- {% if processed_files %}
91
- < ul id ="downloaded-files-list ">
92
- {% for file in processed_files %}
93
- < li > < a href ="/download/{{ file }} "> {{ file }}</ a > </ li >
94
- {% endfor %}
95
- </ ul >
96
- {% endif %}
97
- < script src ="/download.js "> </ script >
80
+
98
81
</ body >
99
82
</ html >
You can’t perform that action at this time.
0 commit comments