Added file transfer from web to flask server

This commit is contained in:
Igor Nurullaev
2019-08-28 18:21:02 +03:00
parent 30ea2d6ab3
commit 6c3af9382d
7 changed files with 341 additions and 27 deletions

View File

@@ -1,19 +1,24 @@
html, body, .container {
html, body, .my-container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
body {
padding: 20px;
html {
height: calc(100% - 56px);
}
.my-container {
display: flex;
flex-direction: row;
width: 100%;
}
.table-container {
height: 100%;
width: 70%;
height: calc(100% - 40px);
width: calc(70% - 40px);
padding: 20px;
}
.button {
@@ -29,8 +34,18 @@ body {
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding: 0 0 15px 20px;
}
.action-container button {
margin: 10px;
.action-container .my-label {
margin-top: 20px;
}
.action-container .btn-group {
padding-top: 20px;
width: 100%;
}
.btn-group button {
width: 100%;
}

View File

@@ -0,0 +1,93 @@
.lds-spinner {
color: official;
display: inline-block;
position: relative;
width: 40px;
height: 40px;
}
.lds-spinner div {
transform-origin: 20px 20px;
animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
content: " ";
display: block;
position: absolute;
top: 5px;
left: 25px;
width: 3px;
height: 10px;
border-radius: 20%;
background: #fff;
}
.lds-spinner div:nth-child(1) {
transform: rotate(0deg);
animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
transform: rotate(30deg);
animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
transform: rotate(60deg);
animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
transform: rotate(90deg);
animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
transform: rotate(120deg);
animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
transform: rotate(150deg);
animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
transform: rotate(180deg);
animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
transform: rotate(210deg);
animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
transform: rotate(240deg);
animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
transform: rotate(270deg);
animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
transform: rotate(300deg);
animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
transform: rotate(330deg);
animation-delay: 0s;
}
@keyframes lds-spinner {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}