forked from p15670423/monkey
Improved dir structure of run monkey page
This commit is contained in:
parent
46de8000c1
commit
b3759e60ec
|
@ -1,12 +1,12 @@
|
||||||
import React, {useEffect, useState} from 'react';
|
import React, {useEffect, useState} from 'react';
|
||||||
import InlineSelection from '../../ui-components/inline-selection/InlineSelection';
|
import InlineSelection from '../../../ui-components/inline-selection/InlineSelection';
|
||||||
import DropdownSelect from '../../ui-components/DropdownSelect';
|
import DropdownSelect from '../../../ui-components/DropdownSelect';
|
||||||
import {OS_TYPES} from './OsTypes';
|
import {OS_TYPES} from '../utils/OsTypes';
|
||||||
import GenerateLocalWindowsCmd from './commands/local_windows_cmd';
|
import GenerateLocalWindowsCmd from '../commands/local_windows_cmd';
|
||||||
import GenerateLocalWindowsPowershell from './commands/local_windows_powershell';
|
import GenerateLocalWindowsPowershell from '../commands/local_windows_powershell';
|
||||||
import GenerateLocalLinuxWget from './commands/local_linux_wget';
|
import GenerateLocalLinuxWget from '../commands/local_linux_wget';
|
||||||
import GenerateLocalLinuxCurl from './commands/local_linux_curl';
|
import GenerateLocalLinuxCurl from '../commands/local_linux_curl';
|
||||||
import CommandDisplay from './CommandDisplay';
|
import CommandDisplay from '../utils/CommandDisplay';
|
||||||
|
|
||||||
|
|
||||||
const LocalManualRunOptions = (props) => {
|
const LocalManualRunOptions = (props) => {
|
|
@ -1,13 +1,13 @@
|
||||||
import React, {useEffect, useState} from 'react';
|
import React, {useEffect, useState} from 'react';
|
||||||
import NextSelectionButton from '../../ui-components/inline-selection/NextSelectionButton';
|
import NextSelectionButton from '../../ui-components/inline-selection/NextSelectionButton';
|
||||||
import LocalManualRunOptions from './LocalManualRunOptions';
|
import LocalManualRunOptions from './RunManually/LocalManualRunOptions';
|
||||||
import AuthComponent from '../../AuthComponent';
|
import AuthComponent from '../../AuthComponent';
|
||||||
import {faLaptopCode} from '@fortawesome/free-solid-svg-icons/faLaptopCode';
|
import {faLaptopCode} from '@fortawesome/free-solid-svg-icons/faLaptopCode';
|
||||||
import InlineSelection from '../../ui-components/inline-selection/InlineSelection';
|
import InlineSelection from '../../ui-components/inline-selection/InlineSelection';
|
||||||
import {cloneDeep} from 'lodash';
|
import {cloneDeep} from 'lodash';
|
||||||
import {faExpandArrowsAlt} from '@fortawesome/free-solid-svg-icons';
|
import {faExpandArrowsAlt} from '@fortawesome/free-solid-svg-icons';
|
||||||
import RunOnIslandButton from './RunOnIslandButton';
|
import RunOnIslandButton from './RunOnIslandButton';
|
||||||
import AWSRunButton from './AWSRunButton';
|
import AWSRunButton from './RunOnAWS/AWSRunButton';
|
||||||
|
|
||||||
function RunOptions(props) {
|
function RunOptions(props) {
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {OS_TYPES} from '../OsTypes';
|
import {OS_TYPES} from '../utils/OsTypes';
|
||||||
|
|
||||||
|
|
||||||
export default function generateLocalLinuxCurl(ip, osType) {
|
export default function generateLocalLinuxCurl(ip, osType) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {OS_TYPES} from '../OsTypes';
|
import {OS_TYPES} from '../utils/OsTypes';
|
||||||
|
|
||||||
|
|
||||||
export default function generateLocalLinuxWget(ip, osType) {
|
export default function generateLocalLinuxWget(ip, osType) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {OS_TYPES} from '../OsTypes';
|
import {OS_TYPES} from '../utils/OsTypes';
|
||||||
|
|
||||||
|
|
||||||
export default function generateLocalWindowsCmd(ip, osType) {
|
export default function generateLocalWindowsCmd(ip, osType) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {OS_TYPES} from '../OsTypes';
|
import {OS_TYPES} from '../utils/OsTypes';
|
||||||
|
|
||||||
|
|
||||||
export default function generateLocalWindowsPowershell(ip, osType) {
|
export default function generateLocalWindowsPowershell(ip, osType) {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import InlineSelection from '../../ui-components/inline-selection/InlineSelection';
|
import InlineSelection from '../../../ui-components/inline-selection/InlineSelection';
|
||||||
import LocalManualRunOptions from './LocalManualRunOptions';
|
import LocalManualRunOptions from '../RunManually/LocalManualRunOptions';
|
||||||
|
|
||||||
function InterfaceSelection(props) {
|
function InterfaceSelection(props) {
|
||||||
return InlineSelection(getContents, props, LocalManualRunOptions)
|
return InlineSelection(getContents, props, LocalManualRunOptions)
|
Loading…
Reference in New Issue