diff --git a/nerfactory/viewer/app/src/index.scss b/nerfactory/viewer/app/src/index.scss index f6ae3c53f..b218899e5 100644 --- a/nerfactory/viewer/app/src/index.scss +++ b/nerfactory/viewer/app/src/index.scss @@ -104,8 +104,8 @@ $sidebar-width: 100% !default; } .StatusPanel .StatusPanel-play-button { - width: 90%; - margin: 10px; + width: 100%; + padding: 10px; } .StatusPanel .StatusPanel-button-group { @@ -139,16 +139,13 @@ $sidebar-width: 100% !default; // ------------------------------------ // Landing Modal styling -// .LandingModal { -// display: block; -// } .LandingModal-box { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); - width: 400px; // 400 + width: 600px; // 400 background-color: $base-color2; border: 2px solid #000; // box-shadow: 24px 24px; diff --git a/nerfactory/viewer/app/src/modules/LandingModal/LandingModal.jsx b/nerfactory/viewer/app/src/modules/LandingModal/LandingModal.jsx index 3726daa55..56f1adbde 100644 --- a/nerfactory/viewer/app/src/modules/LandingModal/LandingModal.jsx +++ b/nerfactory/viewer/app/src/modules/LandingModal/LandingModal.jsx @@ -1,6 +1,17 @@ +/* eslint-disable react/jsx-props-no-spreading */ import * as React from 'react'; -import { Box, Button, Modal, Typography } from '@mui/material'; +import { + Box, + Button, + Modal, + Typography, + Tabs, + Tab, + Chip, + Link, +} from '@mui/material'; +import ContentCopyRoundedIcon from '@mui/icons-material/ContentCopyRounded'; import WebSocketUrlField from '../WebSocketUrlField'; @@ -8,14 +19,66 @@ interface LandingModalProps { initial_state: object; } +interface TabPanelProps { + children: React.ReactNode; + index: number; + value: number; +} + +function TabPanel(props: TabPanelProps) { + const { children, value, index, ...other } = props; + + return ( +
{text_1}
+{text_intro}
You can enter your WebSocket URL in the Status Panel or here:
{text_2}
++ If you are using a remote server, make sure to forward the port. + This can be accomplished by running the following command on + this machine. +
+ ++ SSH must be set up on the remote machine. Then run the + following on this machine: +
++ SSH must be set up on the remote machine. Then run the + following on this machine: +
++ SSH must be set up on the remote machine. Then run the + following on this machine in PowerShell: +
++ If OpenSSH is not installed, refer to this{' '} + + guide + + . +
+