Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -415,6 +415,7 @@ HTML_CONTENT = """
|
|
415 |
.btn, .small-btn {
|
416 |
font-size: 0.9rem;
|
417 |
padding: 10px 20px;
|
|
|
418 |
}
|
419 |
|
420 |
.file-types {
|
@@ -423,7 +424,8 @@ HTML_CONTENT = """
|
|
423 |
|
424 |
.modal-content, .history-modal-content {
|
425 |
width: 95%;
|
426 |
-
margin:
|
|
|
427 |
}
|
428 |
|
429 |
.history-item {
|
@@ -433,6 +435,32 @@ HTML_CONTENT = """
|
|
433 |
|
434 |
.history-item-actions {
|
435 |
margin-top: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
436 |
}
|
437 |
}
|
438 |
</style>
|
@@ -442,7 +470,7 @@ HTML_CONTENT = """
|
|
442 |
<h1>Radd PRO Uploader</h1>
|
443 |
<form id="uploadForm">
|
444 |
<div id="dropZone" class="drop-zone">
|
445 |
-
|
446 |
<label for="file" class="btn">Choose File</label>
|
447 |
<p>or drag and drop file here/paste image</p>
|
448 |
</div>
|
|
|
415 |
.btn, .small-btn {
|
416 |
font-size: 0.9rem;
|
417 |
padding: 10px 20px;
|
418 |
+
margin: 0.25rem;
|
419 |
}
|
420 |
|
421 |
.file-types {
|
|
|
424 |
|
425 |
.modal-content, .history-modal-content {
|
426 |
width: 95%;
|
427 |
+
margin: 5% auto;
|
428 |
+
padding: 15px;
|
429 |
}
|
430 |
|
431 |
.history-item {
|
|
|
435 |
|
436 |
.history-item-actions {
|
437 |
margin-top: 10px;
|
438 |
+
flex-wrap: wrap;
|
439 |
+
}
|
440 |
+
|
441 |
+
.history-item-name {
|
442 |
+
font-size: 0.9rem;
|
443 |
+
}
|
444 |
+
|
445 |
+
.drop-zone {
|
446 |
+
padding: 15px;
|
447 |
+
}
|
448 |
+
|
449 |
+
.drop-zone p {
|
450 |
+
font-size: 0.9rem;
|
451 |
+
}
|
452 |
+
|
453 |
+
.result-link {
|
454 |
+
font-size: 0.9rem;
|
455 |
+
}
|
456 |
+
|
457 |
+
.link-buttons {
|
458 |
+
flex-direction: column;
|
459 |
+
align-items: stretch;
|
460 |
+
}
|
461 |
+
|
462 |
+
.link-buttons .small-btn {
|
463 |
+
margin: 0.25rem 0;
|
464 |
}
|
465 |
}
|
466 |
</style>
|
|
|
470 |
<h1>Radd PRO Uploader</h1>
|
471 |
<form id="uploadForm">
|
472 |
<div id="dropZone" class="drop-zone">
|
473 |
+
<input type="file" name="file" id="file" class="file-input" accept=".zip,.mp4,.txt,.mp3,image/*,.pdf" required>
|
474 |
<label for="file" class="btn">Choose File</label>
|
475 |
<p>or drag and drop file here/paste image</p>
|
476 |
</div>
|