Skip to content

Commit

Permalink
#22 added guides to create storage and storage workers
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominux committed Dec 20, 2023
1 parent da90a6b commit 9904c3b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
16 changes: 14 additions & 2 deletions ui/src/pages/StorageWorkers/StorageWorkerCreateForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ import Typography from '@suid/material/Typography'
import { createSignal, mapArray, onMount } from 'solid-js'
import { useNavigate } from '@solidjs/router'
import Stack from '@suid/material/Stack'
import ChevronLeftIcon from '@suid/icons-material/ChevronLeft'
import MenuItem from '@suid/material/MenuItem'
import IconButton from '@suid/material/IconButton'
import HelpOutlineIcon from '@suid/icons-material/HelpOutline'
import ChevronLeftIcon from '@suid/icons-material/ChevronLeft'

import API from '../../api'
import { alertStore } from '../../components/AlertStack'
Expand Down Expand Up @@ -73,7 +75,17 @@ const StorageWorkerCreateForm = () => {
'& > :not(style)': { my: 1.5 },
}}
>
<Typography variant="h5">Register new storage worker</Typography>
<Typography variant="h5">
Register new storage worker
<a
href="https://github.com/Dominux/Pentaract/wiki/Creating-storage-workers"
target="_blank"
>
<IconButton color="warning" sx={{ py: 0 }}>
<HelpOutlineIcon />
</IconButton>
</a>
</Typography>
<Divider />
<TextField
id="name"
Expand Down
14 changes: 13 additions & 1 deletion ui/src/pages/Storages/StorageCreateForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import Typography from '@suid/material/Typography'
import { createSignal } from 'solid-js'
import { useNavigate } from '@solidjs/router'
import Stack from '@suid/material/Stack'
import IconButton from '@suid/material/IconButton'
import HelpOutlineIcon from '@suid/icons-material/HelpOutline'
import ChevronLeftIcon from '@suid/icons-material/ChevronLeft'

import API from '../../api'
Expand Down Expand Up @@ -79,7 +81,17 @@ const StorageCreateForm = () => {
'& > :not(style)': { my: 1.5 },
}}
>
<Typography variant="h5">Register new storage</Typography>
<Typography variant="h5">
Register new storage
<a
href="https://github.com/Dominux/Pentaract/wiki/Creating-storages"
target="_blank"
>
<IconButton color="warning" sx={{ py: 0 }}>
<HelpOutlineIcon />
</IconButton>
</a>
</Typography>
<Divider />
<TextField
id="name"
Expand Down

0 comments on commit 9904c3b

Please sign in to comment.