Can upload ISO files
This commit is contained in:
		
							
								
								
									
										18
									
								
								virtweb_frontend/src/widgets/VirtWebPaper.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								virtweb_frontend/src/widgets/VirtWebPaper.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
import { Paper, Typography } from "@mui/material";
 | 
			
		||||
import { PropsWithChildren } from "react";
 | 
			
		||||
 | 
			
		||||
export function VirtWebPaper(
 | 
			
		||||
  p: { label: string } & PropsWithChildren
 | 
			
		||||
): React.ReactElement {
 | 
			
		||||
  return (
 | 
			
		||||
    <Paper elevation={2} style={{ padding: "10px" }}>
 | 
			
		||||
      <Typography
 | 
			
		||||
        variant="subtitle1"
 | 
			
		||||
        style={{ marginBottom: "10px", fontWeight: "bold" }}
 | 
			
		||||
      >
 | 
			
		||||
        {p.label}
 | 
			
		||||
      </Typography>
 | 
			
		||||
      {p.children}
 | 
			
		||||
    </Paper>
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								virtweb_frontend/src/widgets/VirtWebRouteContainer.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								virtweb_frontend/src/widgets/VirtWebRouteContainer.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
import { Typography } from "@mui/material";
 | 
			
		||||
import { PropsWithChildren } from "react";
 | 
			
		||||
 | 
			
		||||
export function VirtWebRouteContainer(
 | 
			
		||||
  p: {
 | 
			
		||||
    label: string;
 | 
			
		||||
  } & PropsWithChildren
 | 
			
		||||
): React.ReactElement {
 | 
			
		||||
  return (
 | 
			
		||||
    <div style={{ margin: "50px" }}>
 | 
			
		||||
      <Typography variant="h4" style={{ marginBottom: "20px" }}>
 | 
			
		||||
        {p.label}
 | 
			
		||||
      </Typography>
 | 
			
		||||
 | 
			
		||||
      {p.children}
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user