rename AdditionalConsole to SendCommand

This commit is contained in:
Gasuge 2024-05-05 03:02:30 +02:00
parent e2b6f81326
commit 76b8f5c2b5
3 changed files with 4 additions and 4 deletions

View file

@ -904,7 +904,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD="
PLACE_REACT "$Components_Server_Terminal_AdditionalPowerButtons" "Server/Terminal/AdditionalPowerButtons.tsx" "$OldComponents_Server_Terminal_AdditionalPowerButtons" PLACE_REACT "$Components_Server_Terminal_AdditionalPowerButtons" "Server/Terminal/AdditionalPowerButtons.tsx" "$OldComponents_Server_Terminal_AdditionalPowerButtons"
PLACE_REACT "$Components_Server_Terminal_BeforeInformation" "Server/Terminal/BeforeInformation.tsx" "$OldComponents_Server_Terminal_BeforeInformation" PLACE_REACT "$Components_Server_Terminal_BeforeInformation" "Server/Terminal/BeforeInformation.tsx" "$OldComponents_Server_Terminal_BeforeInformation"
PLACE_REACT "$Components_Server_Terminal_AfterInformation" "Server/Terminal/AfterInformation.tsx" "$OldComponents_Server_Terminal_AfterInformation" PLACE_REACT "$Components_Server_Terminal_AfterInformation" "Server/Terminal/AfterInformation.tsx" "$OldComponents_Server_Terminal_AfterInformation"
PLACE_REACT "$Components_Server_Terminal_AdditionalConsole" "Server/Terminal/AdditionalConsole.tsx" "$OldComponents_Server_Terminal_AdditionalConsole" PLACE_REACT "$Components_Server_Terminal_SendCommand" "Server/Terminal/SendCommand.tsx" "$OldComponents_Server_Terminal_SendCommand"
PLACE_REACT "$Components_Server_Terminal_AfterContent" "Server/Terminal/AfterContent.tsx" "$OldComponents_Server_Terminal_AfterContent" PLACE_REACT "$Components_Server_Terminal_AfterContent" "Server/Terminal/AfterContent.tsx" "$OldComponents_Server_Terminal_AfterContent"
PLACE_REACT "$Components_Server_Files_Browse_BeforeContent" "Server/Files/Browse/BeforeContent.tsx" "$OldComponents_Server_Files_Browse_BeforeContent" PLACE_REACT "$Components_Server_Files_Browse_BeforeContent" "Server/Files/Browse/BeforeContent.tsx" "$OldComponents_Server_Files_Browse_BeforeContent"
@ -1587,7 +1587,7 @@ if [[ ( $2 == "-r" ) || ( $2 == "-remove" ) ]]; then VCMD="y"
REMOVE_REACT "$Components_Server_Terminal_AdditionalPowerButtons" "Server/Terminal/AdditionalPowerButtons.tsx" REMOVE_REACT "$Components_Server_Terminal_AdditionalPowerButtons" "Server/Terminal/AdditionalPowerButtons.tsx"
REMOVE_REACT "$Components_Server_Terminal_BeforeInformation" "Server/Terminal/BeforeInformation.tsx" REMOVE_REACT "$Components_Server_Terminal_BeforeInformation" "Server/Terminal/BeforeInformation.tsx"
REMOVE_REACT "$Components_Server_Terminal_AfterInformation" "Server/Terminal/AfterInformation.tsx" REMOVE_REACT "$Components_Server_Terminal_AfterInformation" "Server/Terminal/AfterInformation.tsx"
REMOVE_REACT "$Components_Server_Terminal_AdditionalConsole" "Server/Terminal/AdditionalConsole.tsx" REMOVE_REACT "$Components_Server_Terminal_SendCommand" "Server/Terminal/SendCommand.tsx"
REMOVE_REACT "$Components_Server_Terminal_AfterContent" "Server/Terminal/AfterContent.tsx" REMOVE_REACT "$Components_Server_Terminal_AfterContent" "Server/Terminal/AfterContent.tsx"
REMOVE_REACT "$Components_Server_Files_Browse_BeforeContent" "Server/Files/Browse/BeforeContent.tsx" REMOVE_REACT "$Components_Server_Files_Browse_BeforeContent" "Server/Files/Browse/BeforeContent.tsx"

View file

@ -16,7 +16,7 @@ import { SocketEvent, SocketRequest } from '@/components/server/events';
import classNames from 'classnames'; import classNames from 'classnames';
import { ChevronDoubleRightIcon } from '@heroicons/react/solid'; import { ChevronDoubleRightIcon } from '@heroicons/react/solid';
import AdditionalConsole from '@/blueprint/components/Server/Terminal/AdditionalConsole'; import SendCommand from '@/blueprint/components/Server/Terminal/SendCommand';
import 'xterm/css/xterm.css'; import 'xterm/css/xterm.css';
import styles from './style.module.css'; import styles from './style.module.css';
@ -223,7 +223,7 @@ export default () => {
> >
<ChevronDoubleRightIcon className={'w-4 h-4'} /> <ChevronDoubleRightIcon className={'w-4 h-4'} />
</div> </div>
<AdditionalConsole /> <SendCommand />
</div> </div>
)} )}
</div> </div>