change processing page progress, and ui change in results
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { useState, useEffect } from "react";
|
import { useState, useEffect } from "react";
|
||||||
import { useNavigate} from "react-router-dom";
|
import { useNavigate} from "react-router-dom";
|
||||||
import { Typography, Container, Paper, Box, LinearProgress } from "@mui/material";
|
import { Typography, Container, Paper, Box, LinearProgress, CircularProgress } from "@mui/material";
|
||||||
import StepperComponent from "../components/StepperComponent";
|
import StepperComponent from "../components/StepperComponent";
|
||||||
import { useMediaContext } from "../contexts/MediaContext";
|
import { useMediaContext } from "../contexts/MediaContext";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
@@ -255,11 +255,11 @@ function ProcessingPage() {
|
|||||||
</Typography>
|
</Typography>
|
||||||
|
|
||||||
<Box sx={{ mt: 4, mb: 2 }}>
|
<Box sx={{ mt: 4, mb: 2 }}>
|
||||||
<LinearProgress
|
<CircularProgress
|
||||||
variant="determinate"
|
variant="determinate"
|
||||||
value={progress}
|
value={progress}
|
||||||
sx={{ height: 10, borderRadius: 5 }}
|
sx={{ width: 80, height: 80 }}
|
||||||
/>
|
/>
|
||||||
<Typography variant="body2" color="textSecondary" sx={{ mt: 1 }}>
|
<Typography variant="body2" color="textSecondary" sx={{ mt: 1 }}>
|
||||||
{Math.round(progress)}% Complete
|
{Math.round(progress)}% Complete
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ function ResultsPage() {
|
|||||||
<Grid item xs={12} sm={6}>
|
<Grid item xs={12} sm={6}>
|
||||||
<Card sx={{ height: '100%' }}>
|
<Card sx={{ height: '100%' }}>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<Typography variant="h6" gutterBottom>
|
<Typography gutterBottom>
|
||||||
File Details
|
File Details
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography variant="body2" color="textSecondary">
|
<Typography variant="body2" color="textSecondary">
|
||||||
|
|||||||
Reference in New Issue
Block a user