Move the file upload code in a separate file

This commit is contained in:
yflory
2017-06-13 11:21:26 +02:00
parent a58162a617
commit 803bad1421
8 changed files with 299 additions and 60 deletions

View File

@@ -77,7 +77,7 @@ body {
z-index: 10000;
display: block;
}
#status {
#uploadStatus {
display: none;
width: 80vw;
margin-top: 50px;
@@ -85,24 +85,24 @@ body {
border: 1px solid black;
border-collapse: collapse;
}
#status tr:nth-child(1) {
#uploadStatus tr:nth-child(1) {
background-color: #ccc;
border: 1px solid #999;
}
#status tr:nth-child(1) td {
#uploadStatus tr:nth-child(1) td {
text-align: center;
}
#status td {
#uploadStatus td {
border-left: 1px solid #BBB;
border-right: 1px solid #BBB;
padding: 0 10px;
}
#status .upProgress {
#uploadStatus .upProgress {
width: 200px;
position: relative;
text-align: center;
}
#status .progressContainer {
#uploadStatus .progressContainer {
position: absolute;
width: 0px;
left: 5px;
@@ -110,9 +110,9 @@ body {
bottom: 1px;
background-color: rgba(0, 0, 255, 0.3);
}
#status .upCancel {
#uploadStatus .upCancel {
text-align: center;
}
#status .fa.cancel {
#uploadStatus .fa.cancel {
color: #ff0073;
}