revert browser newux changes (#5714)

This commit is contained in:
Kanagaraj M
2018-03-27 01:19:12 +05:30
committed by Dee Koder
parent 35e64573fa
commit 19451e374a
186 changed files with 4507 additions and 16033 deletions

View File

@@ -57,17 +57,18 @@ export class UploadModal extends React.Component {
"..."
return (
<div className="alert alert-info alert--upload animated fadeInUp ">
<button
type="button"
className="close close--alt"
onClick={showAbortModal}
/>
<div>{text}</div>
<div className="alert alert-info progress animated fadeInUp ">
<button type="button" className="close" onClick={showAbortModal}>
<span>×</span>
</button>
<div className="text-center">
<small>{text}</small>
</div>
<ProgressBar now={percent} />
<div>
{humanize.filesize(totalLoaded)} (
{percent.toFixed(2)} %)
<div className="text-center">
<small>
{humanize.filesize(totalLoaded)} ({percent.toFixed(2)} %)
</small>
</div>
</div>
)