Skip to content

Commit

Permalink
added breadcrumbs to pipelines pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jandsonrj committed Mar 6, 2024
1 parent 0c8b122 commit 66d3dc0
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.organizeImports": "explicit"
},
"python.analysis.typeCheckingMode": "basic",
"files.eol": "\n",
Expand Down
11 changes: 10 additions & 1 deletion frontend/pages/pz_pipelines.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import Grid from '@mui/material/Grid'
import Typography from '@mui/material/Typography'
import Link from '@mui/material/Link'
import Breadcrumbs from '@mui/material/Breadcrumbs'
import React from 'react'
import { Grid, Typography } from '@mui/material'
import SpeczCatalogs from '../components/SpeczCatalogs'
import TrainingSetMaker from '../components/TrainingSetMaker'

Expand All @@ -13,6 +16,12 @@ function PZPipelines() {
mb={10}
mt={-12}
>
<Breadcrumbs aria-label="breadcrumb" sx={{ ml: -30 }}>
<Link color="inherit" href="/">
Home
</Link>
<Typography color="textPrimary">Pipelines</Typography>
</Breadcrumbs>
Photo-z Server Pipelines
</Typography>

Expand Down
11 changes: 11 additions & 0 deletions frontend/pages/specz_catalogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import Card from '@mui/material/Card'
import CardContent from '@mui/material/CardContent'
import Grid from '@mui/material/Grid'
import IconButton from '@mui/material/IconButton'
import Link from '@mui/material/Link'
import Breadcrumbs from '@mui/material/Breadcrumbs'
import MenuItem from '@mui/material/MenuItem'
import Paper from '@mui/material/Paper'
import Select from '@mui/material/Select'
Expand Down Expand Up @@ -71,6 +73,15 @@ function SpeczCatalogs() {
<Paper style={styles.root}>
<CardContent>
<Grid container spacing={3}>
<Breadcrumbs aria-label="breadcrumb">
<Link color="inherit" href="/">
Home
</Link>
<Link color="inherit" href="pz_pipelines">
Pipelines
</Link>
<Typography color="textPrimary">Combine Spec-z Catalogs</Typography>
</Breadcrumbs>
<Grid item xs={12}>
<Typography variant="h4" mb={3} textAlign={'center'}>
Combine Spec-z Catalogs
Expand Down
11 changes: 11 additions & 0 deletions frontend/pages/training_set_maker.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import Button from '@mui/material/Button'
import Card from '@mui/material/Card'
import CardContent from '@mui/material/CardContent'
import Grid from '@mui/material/Grid'
import Breadcrumbs from '@mui/material/Breadcrumbs'
import Link from '@mui/material/Link'
import IconButton from '@mui/material/IconButton'
import MenuItem from '@mui/material/MenuItem'
import Paper from '@mui/material/Paper'
Expand Down Expand Up @@ -77,6 +79,15 @@ function TrainingSetMaker() {
<Paper style={styles.root}>
<CardContent>
<Grid container spacing={3}>
<Breadcrumbs aria-label="breadcrumb">
<Link color="inherit" href="/">
Home
</Link>
<Link color="inherit" href="pz_pipelines">
Pipelines
</Link>
<Typography color="textPrimary">Training Set Maker</Typography>
</Breadcrumbs>
<Grid item xs={12}>
<Typography variant="h4" mb={3} textAlign={'center'}>
Training Set Maker
Expand Down

0 comments on commit 66d3dc0

Please sign in to comment.