fix: big wizard fixes
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
BIN
new-lamassu-admin/public/assets/wizard/fullexample.locale.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 160 KiB |
BIN
new-lamassu-admin/public/assets/wizard/fullexample.wallet.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 80 KiB |
|
|
@ -1,4 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<svg width="12" height="12" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
||||||
<rect width="12" height="12" rx="3" ry="3" fill="#ff7311"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 250 B |
|
|
@ -1,4 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<svg width="12" height="12" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
||||||
<rect width="12" height="12" rx="3" ry="3" fill="#ff584a"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 250 B |
|
|
@ -66,9 +66,7 @@ const GET_DATA = gql`
|
||||||
|
|
||||||
const Main = () => {
|
const Main = () => {
|
||||||
const classes = useStyles()
|
const classes = useStyles()
|
||||||
const { data, loading } = useQuery(GET_DATA, {
|
const { data, loading } = useQuery(GET_DATA)
|
||||||
notifyOnNetworkStatusChange: true
|
|
||||||
})
|
|
||||||
|
|
||||||
if (loading) {
|
if (loading) {
|
||||||
return <></>
|
return <></>
|
||||||
|
|
@ -79,7 +77,7 @@ const Main = () => {
|
||||||
return (
|
return (
|
||||||
<div className={classes.root}>
|
<div className={classes.root}>
|
||||||
<Router>
|
<Router>
|
||||||
{wizardStep && <Wizard wizardStep={wizardStep} />}
|
{wizardStep > 0 && <Wizard wizardStep={wizardStep} />}
|
||||||
<Header tree={tree} />
|
<Header tree={tree} />
|
||||||
<main className={classes.wrapper}>
|
<main className={classes.wrapper}>
|
||||||
<Routes />
|
<Routes />
|
||||||
|
|
|
||||||
|
|
@ -91,6 +91,7 @@ const ETable = ({
|
||||||
|
|
||||||
const onReset = () => {
|
const onReset = () => {
|
||||||
setAdding(false)
|
setAdding(false)
|
||||||
|
setEditingId(null)
|
||||||
setEditing && setEditing(false)
|
setEditing && setEditing(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ const STEPS = [
|
||||||
{
|
{
|
||||||
id: 'wallet',
|
id: 'wallet',
|
||||||
Component: Wallet,
|
Component: Wallet,
|
||||||
exImage: '/fullexample.wallet.png',
|
exImage: '/assets/wizard/fullexample.wallet.png',
|
||||||
subtitle: 'Wallet settings',
|
subtitle: 'Wallet settings',
|
||||||
text: `Your wallet settings are the first step for this wizard. We'll start
|
text: `Your wallet settings are the first step for this wizard. We'll start
|
||||||
by setting one of cryptocurrency to get you up and running, but you
|
by setting one of cryptocurrency to get you up and running, but you
|
||||||
|
|
@ -68,7 +68,7 @@ const STEPS = [
|
||||||
{
|
{
|
||||||
id: 'locale',
|
id: 'locale',
|
||||||
Component: Locale,
|
Component: Locale,
|
||||||
exImage: '/fullexample.locale.png',
|
exImage: '/assets/wizard/fullexample.locale.png',
|
||||||
subtitle: 'Locales',
|
subtitle: 'Locales',
|
||||||
text: `From the Locales page, you can define some important default settings
|
text: `From the Locales page, you can define some important default settings
|
||||||
of your machines. These values will be the default values of all
|
of your machines. These values will be the default values of all
|
||||||
|
|
@ -80,7 +80,7 @@ const STEPS = [
|
||||||
{
|
{
|
||||||
id: 'twilio',
|
id: 'twilio',
|
||||||
Component: Twilio,
|
Component: Twilio,
|
||||||
exImage: '/fullexample.twilio.png',
|
exImage: '/assets/wizard/fullexample.twilio.png',
|
||||||
subtitle: 'Twilio (SMS service)',
|
subtitle: 'Twilio (SMS service)',
|
||||||
text: (
|
text: (
|
||||||
<>
|
<>
|
||||||
|
|
@ -95,7 +95,7 @@ const STEPS = [
|
||||||
{
|
{
|
||||||
id: 'commissions',
|
id: 'commissions',
|
||||||
Component: Commissions,
|
Component: Commissions,
|
||||||
exImage: '/fullexample.commissions.png',
|
exImage: '/assets/wizard/fullexample.commissions.png',
|
||||||
subtitle: 'Commissions',
|
subtitle: 'Commissions',
|
||||||
text: `From the Commissions page, you can define all the commissions of your
|
text: `From the Commissions page, you can define all the commissions of your
|
||||||
machines. The values set here will be default values of all machines
|
machines. The values set here will be default values of all machines
|
||||||
|
|
@ -107,7 +107,7 @@ const STEPS = [
|
||||||
// {
|
// {
|
||||||
// id: 'notifications',
|
// id: 'notifications',
|
||||||
// Component: Notifications,
|
// Component: Notifications,
|
||||||
// exImage: '/fullexample.notifications.png',
|
// exImage: '/assets/wizard/fullexample.notifications.png',
|
||||||
// subtitle: 'Notifications',
|
// subtitle: 'Notifications',
|
||||||
// text: `Your notification settings will allow customize what notifications you
|
// text: `Your notification settings will allow customize what notifications you
|
||||||
// get and where. You can later override all default balance alerts setup
|
// get and where. You can later override all default balance alerts setup
|
||||||
|
|
@ -116,7 +116,7 @@ const STEPS = [
|
||||||
// {
|
// {
|
||||||
// id: 'operatorInfo',
|
// id: 'operatorInfo',
|
||||||
// Component: WizardOperatorInfo,
|
// Component: WizardOperatorInfo,
|
||||||
// exImage: '/fullexample.operatorinfo.png',
|
// exImage: '/assets/wizard/fullexample.operatorinfo.png',
|
||||||
// subtitle: 'Operator info',
|
// subtitle: 'Operator info',
|
||||||
// text: `Your contact information is important for your customer to be able
|
// text: `Your contact information is important for your customer to be able
|
||||||
// to contact you in case there’s a problem with one of your machines.
|
// to contact you in case there’s a problem with one of your machines.
|
||||||
|
|
|
||||||