fix: typos and small ui improvements
This commit is contained in:
parent
0aae7ac1ff
commit
a710a1b33a
17 changed files with 102 additions and 109 deletions
|
|
@ -0,0 +1,38 @@
|
||||||
|
import { makeStyles } from '@material-ui/core'
|
||||||
|
import React from 'react'
|
||||||
|
|
||||||
|
import { ActionButton } from 'src/components/buttons'
|
||||||
|
import { ReactComponent as InverseLinkIcon } from 'src/styling/icons/action/external link/white.svg'
|
||||||
|
import { ReactComponent as LinkIcon } from 'src/styling/icons/action/external link/zodiac.svg'
|
||||||
|
import { spacer, primaryColor } from 'src/styling/variables'
|
||||||
|
|
||||||
|
const useStyles = makeStyles({
|
||||||
|
actionButton: {
|
||||||
|
marginBottom: spacer * 4
|
||||||
|
},
|
||||||
|
actionButtonLink: {
|
||||||
|
textDecoration: 'none',
|
||||||
|
color: primaryColor
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
const SupportLinkButton = ({ link, label }) => {
|
||||||
|
const classes = useStyles()
|
||||||
|
return (
|
||||||
|
<a
|
||||||
|
className={classes.actionButtonLink}
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
href={link}>
|
||||||
|
<ActionButton
|
||||||
|
className={classes.actionButton}
|
||||||
|
color="primary"
|
||||||
|
Icon={LinkIcon}
|
||||||
|
InverseIcon={InverseLinkIcon}>
|
||||||
|
{label}
|
||||||
|
</ActionButton>
|
||||||
|
</a>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default SupportLinkButton
|
||||||
|
|
@ -6,6 +6,7 @@ import IDButton from './IDButton'
|
||||||
import IconButton from './IconButton'
|
import IconButton from './IconButton'
|
||||||
import Link from './Link'
|
import Link from './Link'
|
||||||
import SimpleButton from './SimpleButton'
|
import SimpleButton from './SimpleButton'
|
||||||
|
import SupportLinkButton from './SupportLinkButton'
|
||||||
|
|
||||||
export {
|
export {
|
||||||
Button,
|
Button,
|
||||||
|
|
@ -15,5 +16,6 @@ export {
|
||||||
FeatureButton,
|
FeatureButton,
|
||||||
IconButton,
|
IconButton,
|
||||||
IDButton,
|
IDButton,
|
||||||
AddButton
|
AddButton,
|
||||||
|
SupportLinkButton
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -133,20 +133,20 @@ const WizardStep = ({
|
||||||
|
|
||||||
{lastStep && (
|
{lastStep && (
|
||||||
<div className={classes.disclaimer}>
|
<div className={classes.disclaimer}>
|
||||||
<Info2 className={classes.title}>Cashout Bill Count</Info2>
|
<Info2 className={classes.title}>Cash-out Bill Count</Info2>
|
||||||
<P>
|
<P>
|
||||||
<WarningIcon className={classes.disclaimerIcon} />
|
<WarningIcon className={classes.disclaimerIcon} />
|
||||||
When enabling cash out, your bill count will be automatically set to
|
When enabling cash-out, your bill count will be automatically set to
|
||||||
zero. Make sure you physically put cash inside the cashboxes to
|
zero. Make sure you physically put cash inside the cash cassettes to
|
||||||
allow the machine to dispense it to your users. If you already did,
|
allow the machine to dispense it to your users. If you already did,
|
||||||
make sure you set the correct cash out bill count for this machine
|
make sure you set the correct cash-out bill count for this machine
|
||||||
on your Cashboxes tab under Maintenance.
|
on your Cash Cassettes tab under Maintenance.
|
||||||
</P>
|
</P>
|
||||||
|
|
||||||
<Info2 className={classes.title}>Default Commissions</Info2>
|
<Info2 className={classes.title}>Default Commissions</Info2>
|
||||||
<P>
|
<P>
|
||||||
<WarningIcon className={classes.disclaimerIcon} />
|
<WarningIcon className={classes.disclaimerIcon} />
|
||||||
When enabling cash out, default commissions will be set. To change
|
When enabling cash-out, default commissions will be set. To change
|
||||||
commissions for this machine, please go to the Commissions tab under
|
commissions for this machine, please go to the Commissions tab under
|
||||||
Settings where you can set exceptions for each of the available
|
Settings where you can set exceptions for each of the available
|
||||||
cryptocurrencies.
|
cryptocurrencies.
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ import { NumberInput } from 'src/components/inputs/formik'
|
||||||
import TitleSection from 'src/components/layout/TitleSection'
|
import TitleSection from 'src/components/layout/TitleSection'
|
||||||
import { fromNamespace } from 'src/utils/config'
|
import { fromNamespace } from 'src/utils/config'
|
||||||
|
|
||||||
import styles from './Cashboxes.styles.js'
|
import styles from './CashCassettes.styles.js'
|
||||||
|
|
||||||
const useStyles = makeStyles(styles)
|
const useStyles = makeStyles(styles)
|
||||||
|
|
||||||
|
|
@ -60,7 +60,7 @@ const RESET_CASHOUT_BILLS = gql`
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const Cashboxes = () => {
|
const CashCassettes = () => {
|
||||||
const classes = useStyles()
|
const classes = useStyles()
|
||||||
|
|
||||||
const { data } = useQuery(GET_MACHINES_AND_CONFIG)
|
const { data } = useQuery(GET_MACHINES_AND_CONFIG)
|
||||||
|
|
@ -136,7 +136,7 @@ const Cashboxes = () => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<TitleSection title="Cashboxes" />
|
<TitleSection title="Cash Cassettes" />
|
||||||
|
|
||||||
<EditableTable
|
<EditableTable
|
||||||
name="cashboxes"
|
name="cashboxes"
|
||||||
|
|
@ -150,4 +150,4 @@ const Cashboxes = () => {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Cashboxes
|
export default CashCassettes
|
||||||
|
|
@ -3,7 +3,6 @@ import { makeStyles } from '@material-ui/core'
|
||||||
import classnames from 'classnames'
|
import classnames from 'classnames'
|
||||||
import { Form, Formik, Field as FormikField } from 'formik'
|
import { Form, Formik, Field as FormikField } from 'formik'
|
||||||
import gql from 'graphql-tag'
|
import gql from 'graphql-tag'
|
||||||
import { parsePhoneNumberFromString } from 'libphonenumber-js'
|
|
||||||
import * as R from 'ramda'
|
import * as R from 'ramda'
|
||||||
import React, { useState } from 'react'
|
import React, { useState } from 'react'
|
||||||
import * as Yup from 'yup'
|
import * as Yup from 'yup'
|
||||||
|
|
@ -12,7 +11,7 @@ import ErrorMessage from 'src/components/ErrorMessage'
|
||||||
import PromptWhenDirty from 'src/components/PromptWhenDirty'
|
import PromptWhenDirty from 'src/components/PromptWhenDirty'
|
||||||
import { Link } from 'src/components/buttons'
|
import { Link } from 'src/components/buttons'
|
||||||
import Switch from 'src/components/inputs/base/Switch'
|
import Switch from 'src/components/inputs/base/Switch'
|
||||||
import { TextInput, NumberInput } from 'src/components/inputs/formik'
|
import { TextInput } from 'src/components/inputs/formik'
|
||||||
import { P, H4, Info3, Label1, Label2, Label3 } from 'src/components/typography'
|
import { P, H4, Info3, Label1, Label2, Label3 } from 'src/components/typography'
|
||||||
import { ReactComponent as EditIcon } from 'src/styling/icons/action/edit/enabled.svg'
|
import { ReactComponent as EditIcon } from 'src/styling/icons/action/edit/enabled.svg'
|
||||||
import { ReactComponent as WarningIcon } from 'src/styling/icons/warning-icon/comet.svg'
|
import { ReactComponent as WarningIcon } from 'src/styling/icons/warning-icon/comet.svg'
|
||||||
|
|
@ -125,20 +124,13 @@ const ContactInfo = ({ wizard }) => {
|
||||||
|
|
||||||
const info =
|
const info =
|
||||||
data?.config && fromNamespace(namespaces.OPERATOR_INFO, data.config)
|
data?.config && fromNamespace(namespaces.OPERATOR_INFO, data.config)
|
||||||
const locale = data?.config && fromNamespace(namespaces.LOCALE, data.config)
|
|
||||||
|
|
||||||
if (!info) return null
|
if (!info) return null
|
||||||
|
|
||||||
const validationSchema = Yup.object().shape({
|
const validationSchema = Yup.object().shape({
|
||||||
active: Yup.boolean(),
|
active: Yup.boolean(),
|
||||||
name: Yup.string(),
|
name: Yup.string(),
|
||||||
phone: Yup.string().test(
|
phone: Yup.string(),
|
||||||
'phone',
|
|
||||||
'Please enter a valid phone number',
|
|
||||||
function(phone) {
|
|
||||||
return parsePhoneNumberFromString(phone, locale.country).isValid()
|
|
||||||
}
|
|
||||||
),
|
|
||||||
email: Yup.string()
|
email: Yup.string()
|
||||||
.email('Please enter a valid email address')
|
.email('Please enter a valid email address')
|
||||||
.required(),
|
.required(),
|
||||||
|
|
@ -156,14 +148,8 @@ const ContactInfo = ({ wizard }) => {
|
||||||
{
|
{
|
||||||
name: 'phone',
|
name: 'phone',
|
||||||
label: 'Phone number',
|
label: 'Phone number',
|
||||||
value:
|
value: info.phone,
|
||||||
info.phone && locale.country
|
component: TextInput
|
||||||
? parsePhoneNumberFromString(
|
|
||||||
info.phone,
|
|
||||||
locale.country
|
|
||||||
).formatInternational()
|
|
||||||
: '',
|
|
||||||
component: NumberInput
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'email',
|
name: 'email',
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ const ReceiptPrinting = memo(({ wizard }) => {
|
||||||
<H4>Receipt options</H4>
|
<H4>Receipt options</H4>
|
||||||
</div>
|
</div>
|
||||||
<div className={classes.rowWrapper}>
|
<div className={classes.rowWrapper}>
|
||||||
<P>Share information?</P>
|
<P>Enable receipt printing?</P>
|
||||||
<div className={classes.switchWrapper}>
|
<div className={classes.switchWrapper}>
|
||||||
<Switch
|
<Switch
|
||||||
checked={receiptPrintingConfig.active}
|
checked={receiptPrintingConfig.active}
|
||||||
|
|
@ -71,7 +71,7 @@ const ReceiptPrinting = memo(({ wizard }) => {
|
||||||
</div>
|
</div>
|
||||||
<BooleanPropertiesTable
|
<BooleanPropertiesTable
|
||||||
editing={wizard}
|
editing={wizard}
|
||||||
title={'Visible on the receipt (optionals)'}
|
title={'Visible on the receipt (options)'}
|
||||||
data={receiptPrintingConfig}
|
data={receiptPrintingConfig}
|
||||||
elements={[
|
elements={[
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ import TextInputFormik from 'src/components/inputs/formik/TextInput'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
code: 'itbit',
|
code: 'itbit',
|
||||||
name: 'Itbit',
|
name: 'itBit',
|
||||||
title: 'Itbit (Exchange)',
|
title: 'itBit (Exchange)',
|
||||||
elements: [
|
elements: [
|
||||||
{
|
{
|
||||||
code: 'userId',
|
code: 'userId',
|
||||||
|
|
|
||||||
|
|
@ -20,13 +20,13 @@ export default {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
code: 'fromNumber',
|
code: 'fromNumber',
|
||||||
display: 'From Number',
|
display: 'Twilio Number (international format)',
|
||||||
component: TextInputFormik,
|
component: TextInputFormik,
|
||||||
face: true
|
face: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
code: 'toNumber',
|
code: 'toNumber',
|
||||||
display: 'To Number',
|
display: 'Notifications Number (international format)',
|
||||||
component: TextInputFormik,
|
component: TextInputFormik,
|
||||||
face: true
|
face: true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ const DetailsRow = ({ it: tx }) => {
|
||||||
const fiat = Number.parseFloat(tx.fiat)
|
const fiat = Number.parseFloat(tx.fiat)
|
||||||
const crypto = toUnit(new BigNumber(tx.cryptoAtoms), tx.cryptoCode)
|
const crypto = toUnit(new BigNumber(tx.cryptoAtoms), tx.cryptoCode)
|
||||||
const commissionPercentage = Number.parseFloat(tx.commissionPercentage, 2)
|
const commissionPercentage = Number.parseFloat(tx.commissionPercentage, 2)
|
||||||
const commission = fiat * commissionPercentage
|
const commission = Number(fiat * commissionPercentage).toFixed(2)
|
||||||
const exchangeRate = Number(fiat / crypto).toFixed(3)
|
const exchangeRate = Number(fiat / crypto).toFixed(3)
|
||||||
const displayExRate = `1 ${tx.cryptoCode} = ${exchangeRate} ${tx.fiatCode}`
|
const displayExRate = `1 ${tx.cryptoCode} = ${exchangeRate} ${tx.fiatCode}`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -95,9 +95,9 @@ const Triggers = () => {
|
||||||
</Label2>
|
</Label2>
|
||||||
<Tooltip width={304}>
|
<Tooltip width={304}>
|
||||||
<P>
|
<P>
|
||||||
The "Reject reused addresses" option means that all addresses
|
This option requires a user to scan a different cryptocurrency
|
||||||
that are used once will be automatically rejected if there's an
|
address if they attempt to scan one that had been previously
|
||||||
attempt to use them again on a new transaction.
|
used for a transaction in your network
|
||||||
</P>
|
</P>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import React, { useState } from 'react'
|
||||||
|
|
||||||
import InfoMessage from 'src/components/InfoMessage'
|
import InfoMessage from 'src/components/InfoMessage'
|
||||||
import Tooltip from 'src/components/Tooltip'
|
import Tooltip from 'src/components/Tooltip'
|
||||||
import { Button } from 'src/components/buttons'
|
import { Button, SupportLinkButton } from 'src/components/buttons'
|
||||||
import { RadioGroup } from 'src/components/inputs'
|
import { RadioGroup } from 'src/components/inputs'
|
||||||
import { H1, H4, P } from 'src/components/typography'
|
import { H1, H4, P } from 'src/components/typography'
|
||||||
import FormRenderer from 'src/pages/Services/FormRenderer'
|
import FormRenderer from 'src/pages/Services/FormRenderer'
|
||||||
|
|
@ -109,7 +109,7 @@ function Twilio({ doContinue }) {
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
You’ll need an SMS service for cash-out transactions and for any
|
You’ll need an SMS service for cash-out transactions and for any
|
||||||
complaince triggers
|
compliance triggers
|
||||||
</P>
|
</P>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
@ -123,9 +123,12 @@ function Twilio({ doContinue }) {
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<InfoMessage className={classes.info}>
|
<InfoMessage className={classes.info}>
|
||||||
Before configuring Twilio, create an account and phone number to use
|
To set up Twilio please read the instructions from our support portal.
|
||||||
the Admin.
|
|
||||||
</InfoMessage>
|
</InfoMessage>
|
||||||
|
<SupportLinkButton
|
||||||
|
link="https://support.lamassu.is/hc/en-us/articles/115001203951-Twilio-for-SMS"
|
||||||
|
label="Twilio for SMS"
|
||||||
|
/>
|
||||||
|
|
||||||
{selected === 'enable' && (
|
{selected === 'enable' && (
|
||||||
<>
|
<>
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ const AllSet = ({ data: currentData, doContinue }) => {
|
||||||
<>
|
<>
|
||||||
<H4 className={error && classes.error}>All set</H4>
|
<H4 className={error && classes.error}>All set</H4>
|
||||||
<P>
|
<P>
|
||||||
This are your wallet settings. You can later edit these and add
|
These are your wallet settings. You can later edit these and add
|
||||||
additional coins.
|
additional coins.
|
||||||
</P>
|
</P>
|
||||||
<EditableTable
|
<EditableTable
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import { makeStyles } from '@material-ui/core'
|
||||||
import gql from 'graphql-tag'
|
import gql from 'graphql-tag'
|
||||||
import React, { useState } from 'react'
|
import React, { useState } from 'react'
|
||||||
|
|
||||||
import { Link, Button } from 'src/components/buttons'
|
import { SupportLinkButton, Button } from 'src/components/buttons'
|
||||||
import { RadioGroup } from 'src/components/inputs'
|
import { RadioGroup } from 'src/components/inputs'
|
||||||
import { P, H4 } from 'src/components/typography'
|
import { P, H4 } from 'src/components/typography'
|
||||||
import FormRenderer from 'src/pages/Services/FormRenderer'
|
import FormRenderer from 'src/pages/Services/FormRenderer'
|
||||||
|
|
@ -69,17 +69,12 @@ const Blockcypher = ({ addData }) => {
|
||||||
<>
|
<>
|
||||||
<H4 className={error && classes.error}>Blockcypher</H4>
|
<H4 className={error && classes.error}>Blockcypher</H4>
|
||||||
<P>
|
<P>
|
||||||
If you are enabling cash-out services,{' '}
|
If you are enabling cash-out services, create a Blockcypher account.
|
||||||
<Link>
|
|
||||||
<a
|
|
||||||
className={classes.actionButtonLink}
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
href="https://support.lamassu.is/hc/en-us/articles/115001209472-Blockcypher">
|
|
||||||
create a Blockcypher account.
|
|
||||||
</a>
|
|
||||||
</Link>
|
|
||||||
</P>
|
</P>
|
||||||
|
<SupportLinkButton
|
||||||
|
link="https://support.lamassu.is/hc/en-us/articles/115001209472-Blockcypher"
|
||||||
|
label="Configuring Blockcypher"
|
||||||
|
/>
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
labelClassName={classes.radioLabel}
|
labelClassName={classes.radioLabel}
|
||||||
className={classes.radioGroup}
|
className={classes.radioGroup}
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,11 @@ import gql from 'graphql-tag'
|
||||||
import * as R from 'ramda'
|
import * as R from 'ramda'
|
||||||
import React, { useState } from 'react'
|
import React, { useState } from 'react'
|
||||||
|
|
||||||
import { Button, ActionButton } from 'src/components/buttons'
|
import { Button, SupportLinkButton } from 'src/components/buttons'
|
||||||
import { RadioGroup } from 'src/components/inputs'
|
import { RadioGroup } from 'src/components/inputs'
|
||||||
import { H4, Info3 } from 'src/components/typography'
|
import { H4, Info3 } from 'src/components/typography'
|
||||||
import FormRenderer from 'src/pages/Services/FormRenderer'
|
import FormRenderer from 'src/pages/Services/FormRenderer'
|
||||||
import schema from 'src/pages/Services/schemas'
|
import schema from 'src/pages/Services/schemas'
|
||||||
import { ReactComponent as InverseLinkIcon } from 'src/styling/icons/action/external link/white.svg'
|
|
||||||
import { ReactComponent as LinkIcon } from 'src/styling/icons/action/external link/zodiac.svg'
|
|
||||||
import { ReactComponent as WarningIcon } from 'src/styling/icons/warning-icon/comet.svg'
|
import { ReactComponent as WarningIcon } from 'src/styling/icons/warning-icon/comet.svg'
|
||||||
|
|
||||||
import styles from './Shared.styles'
|
import styles from './Shared.styles'
|
||||||
|
|
@ -102,24 +100,15 @@ const ChooseExchange = ({ data: currentData, addData }) => {
|
||||||
<div className={classes.infoMessage}>
|
<div className={classes.infoMessage}>
|
||||||
<WarningIcon />
|
<WarningIcon />
|
||||||
<Info3>
|
<Info3>
|
||||||
Make sure you set up {selected} to enter the necessary information
|
Make sure you set up {schema[selected].name} to enter the
|
||||||
below. Please follow the instructions on our support page if you
|
necessary information below. Please follow the instructions on our
|
||||||
haven’t.
|
support page if you haven’t.
|
||||||
</Info3>
|
</Info3>
|
||||||
</div>
|
</div>
|
||||||
<ActionButton
|
<SupportLinkButton
|
||||||
className={classes.actionButton}
|
link={supportArticles[selected]}
|
||||||
color="primary"
|
label={`${schema[selected].name} trading`}
|
||||||
Icon={LinkIcon}
|
/>
|
||||||
InverseIcon={InverseLinkIcon}>
|
|
||||||
<a
|
|
||||||
className={classes.actionButtonLink}
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
href={supportArticles[selected]}>
|
|
||||||
{selected} trading
|
|
||||||
</a>
|
|
||||||
</ActionButton>
|
|
||||||
|
|
||||||
<H4 noMargin>Enter exchange information</H4>
|
<H4 noMargin>Enter exchange information</H4>
|
||||||
<FormRenderer
|
<FormRenderer
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,12 @@ import gql from 'graphql-tag'
|
||||||
import * as R from 'ramda'
|
import * as R from 'ramda'
|
||||||
import React, { useState } from 'react'
|
import React, { useState } from 'react'
|
||||||
|
|
||||||
import { Button, ActionButton } from 'src/components/buttons'
|
import { Button, SupportLinkButton } from 'src/components/buttons'
|
||||||
import { RadioGroup } from 'src/components/inputs'
|
import { RadioGroup } from 'src/components/inputs'
|
||||||
import { H4, Info3 } from 'src/components/typography'
|
import { H4, Info3 } from 'src/components/typography'
|
||||||
import FormRenderer from 'src/pages/Services/FormRenderer'
|
import FormRenderer from 'src/pages/Services/FormRenderer'
|
||||||
import schema from 'src/pages/Services/schemas'
|
import schema from 'src/pages/Services/schemas'
|
||||||
import bitgo from 'src/pages/Services/schemas/singlebitgo'
|
import bitgo from 'src/pages/Services/schemas/singlebitgo'
|
||||||
import { ReactComponent as InverseLinkIcon } from 'src/styling/icons/action/external link/white.svg'
|
|
||||||
import { ReactComponent as LinkIcon } from 'src/styling/icons/action/external link/zodiac.svg'
|
|
||||||
import { ReactComponent as WarningIcon } from 'src/styling/icons/warning-icon/comet.svg'
|
import { ReactComponent as WarningIcon } from 'src/styling/icons/warning-icon/comet.svg'
|
||||||
|
|
||||||
import styles from './Shared.styles'
|
import styles from './Shared.styles'
|
||||||
|
|
@ -103,19 +101,10 @@ const ChooseWallet = ({ data: currentData, addData }) => {
|
||||||
our support portal.
|
our support portal.
|
||||||
</Info3>
|
</Info3>
|
||||||
</div>
|
</div>
|
||||||
<a
|
<SupportLinkButton
|
||||||
className={classes.actionButtonLink}
|
link="https://support.lamassu.is/hc/en-us/articles/115001209552-Setting-up-your-node-wallets"
|
||||||
target="_blank"
|
label="Support article"
|
||||||
rel="noopener noreferrer"
|
/>
|
||||||
href="https://support.lamassu.is/hc/en-us/articles/115001209552-Setting-up-your-node-wallets">
|
|
||||||
<ActionButton
|
|
||||||
className={classes.actionButton}
|
|
||||||
color="primary"
|
|
||||||
Icon={LinkIcon}
|
|
||||||
InverseIcon={InverseLinkIcon}>
|
|
||||||
Support article
|
|
||||||
</ActionButton>
|
|
||||||
</a>
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{!isConfigurable(selected) && (
|
{!isConfigurable(selected) && (
|
||||||
|
|
@ -133,19 +122,10 @@ const ChooseWallet = ({ data: currentData, addData }) => {
|
||||||
page if you haven’t.
|
page if you haven’t.
|
||||||
</Info3>
|
</Info3>
|
||||||
</div>
|
</div>
|
||||||
<a
|
<SupportLinkButton
|
||||||
className={classes.actionButtonLink}
|
link="https://support.lamassu.is/hc/en-us/articles/360024455592-Setting-up-BitGo"
|
||||||
target="_blank"
|
label="Support article"
|
||||||
rel="noopener noreferrer"
|
/>
|
||||||
href="https://support.lamassu.is/hc/en-us/articles/360024455592-Setting-up-BitGo">
|
|
||||||
<ActionButton
|
|
||||||
className={classes.actionButton}
|
|
||||||
color="primary"
|
|
||||||
Icon={LinkIcon}
|
|
||||||
InverseIcon={InverseLinkIcon}>
|
|
||||||
Support article
|
|
||||||
</ActionButton>
|
|
||||||
</a>
|
|
||||||
<H4 noMargin>Enter wallet information</H4>
|
<H4 noMargin>Enter wallet information</H4>
|
||||||
<FormRenderer
|
<FormRenderer
|
||||||
value={accounts.bitgo}
|
value={accounts.bitgo}
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import { Customers, CustomerProfile } from 'src/pages/Customers'
|
||||||
import Funding from 'src/pages/Funding'
|
import Funding from 'src/pages/Funding'
|
||||||
import Locales from 'src/pages/Locales'
|
import Locales from 'src/pages/Locales'
|
||||||
import MachineLogs from 'src/pages/MachineLogs'
|
import MachineLogs from 'src/pages/MachineLogs'
|
||||||
import Cashboxes from 'src/pages/Maintenance/Cashboxes'
|
import CashCassettes from 'src/pages/Maintenance/CashCassettes'
|
||||||
import MachineStatus from 'src/pages/Maintenance/MachineStatus'
|
import MachineStatus from 'src/pages/Maintenance/MachineStatus'
|
||||||
import Notifications from 'src/pages/Notifications/Notifications'
|
import Notifications from 'src/pages/Notifications/Notifications'
|
||||||
import OperatorInfo from 'src/pages/OperatorInfo/OperatorInfo'
|
import OperatorInfo from 'src/pages/OperatorInfo/OperatorInfo'
|
||||||
|
|
@ -44,10 +44,10 @@ const tree = [
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
key: 'cashboxes',
|
key: 'cash_cassettes',
|
||||||
label: 'Cashboxes',
|
label: 'Cash Cassettes',
|
||||||
route: '/maintenance/cashboxes',
|
route: '/maintenance/cash-cassettes',
|
||||||
component: Cashboxes
|
component: CashCassettes
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'funding',
|
key: 'funding',
|
||||||
|
|
@ -57,7 +57,7 @@ const tree = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'logs',
|
key: 'logs',
|
||||||
label: 'Machine logs',
|
label: 'Machine Logs',
|
||||||
route: '/maintenance/logs',
|
route: '/maintenance/logs',
|
||||||
component: MachineLogs
|
component: MachineLogs
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue