Skip to content

Commit 5aa4d34

Browse files
committed
fixing label
1 parent 5986297 commit 5aa4d34

File tree

8 files changed

+19
-18
lines changed

8 files changed

+19
-18
lines changed

MythicReactUI/src/components/pages/Login/InviteForm.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,16 @@ export function InviteForm(props){
8989
<img src={logo} height="400px" alt="Mythic logo"/>
9090

9191
<MythicTextField name='code' value={inviteCode} debounceDelay={0}
92-
onChange={onChangeText} width={31} required={true}/>
92+
onChange={onChangeText} width={31} required={true} showLabel={true}/>
9393
<MythicTextField name='username' value={username} onChange={onChangeText}
94-
width={31} debounceDelay={0}/>
94+
width={31} debounceDelay={0} showLabel={true}/>
9595
<MythicTextField name='password' type="password" onEnter={submit} value={password}
96-
onChange={onChangeText} width={31} debounceDelay={0} requiredValue={true}/>
96+
onChange={onChangeText} width={31} debounceDelay={0} requiredValue={true} showLabel={true}/>
9797
<MythicTextField name='passwordAgain' type="password" onEnter={submit} value={passwordAgain}
98-
onChange={onChangeText} width={31} debounceDelay={0} requiredValue={true}
98+
onChange={onChangeText} width={31} debounceDelay={0} requiredValue={true} showLabel={true}
9999
validate={checkPasswordsMatch} errorText={"Passwords do not match"}/>
100100
<MythicTextField name='email' value={email} onChange={onChangeText}
101-
width={31} debounceDelay={0} />
101+
width={31} debounceDelay={0} showLabel={true} />
102102
<Button type="submit" color="primary" onClick={submit} variant="contained"
103103
style={{}}>Register</Button>
104104

MythicReactUI/src/components/pages/Login/LoginForm.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ export function LoginForm(props){
206206
{requestField.length === 0 &&
207207
<>
208208
<MythicTextField name='username' value={username} onChange={onUsernameChange}
209-
width={31} debounceDelay={0}/>
209+
width={31} debounceDelay={0} showLabel={true}/>
210210
<MythicTextField name='password' type="password" onEnter={submit} value={password}
211-
onChange={onPasswordChange} width={31} debounceDelay={0}/>
211+
onChange={onPasswordChange} width={31} debounceDelay={0} showLabel={true}/>
212212
<Button type="submit" color="primary" onClick={submit} variant="contained"
213213
style={{}}>Login</Button>
214214
</>
@@ -218,7 +218,7 @@ export function LoginForm(props){
218218
{requestField.map(r => (
219219
<MythicTextField key={r.name} name={r.name} value={r.value} onChange={onUpdateText}
220220
type={r.name === "password" ? "password" : ""}
221-
width={31} debounceDelay={0}/>
221+
width={31} debounceDelay={0} showLabel={true}/>
222222
))}
223223
<Button type="submit" color="primary" onClick={submitNonIDP} variant="contained"
224224
style={{}}>Login via {selectedAuthOptionRef.current.idp}</Button>

MythicReactUI/src/components/pages/MITRE_ATTACK/MitreGrid.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function MitreGrid({entries, onGetCommands, onGetTasks, onGetCommandsFilt
2323
const [backdropOpen, setBackdropOpen] = React.useState(false);
2424

2525
return (
26-
<div style={{display: "flex", flexDirection: "column", width: "100%", height: "100%"}}>
26+
<div style={{display: "flex", flexDirection: "column", height: "100%"}}>
2727
<Paper elevation={5} style={{backgroundColor: theme.pageHeader.main, color: theme.pageHeaderText.main,
2828
marginBottom: "5px", marginRight: "5px"}} variant={"elevation"}>
2929
<Typography variant="h5" style={{textAlign: "left", display: "inline-block", marginLeft: "20px"}}>
@@ -41,9 +41,10 @@ export function MitreGrid({entries, onGetCommands, onGetTasks, onGetCommandsFilt
4141
</Paper>
4242

4343
<div style={{display: "flex", flexGrow: 1, overflow: "auto"}}>
44-
<Backdrop open={backdropOpen} style={{zIndex: 2, position: "absolute"}} invisible={false}>
44+
{backdropOpen && <Backdrop open={backdropOpen} style={{zIndex: 2, position: "absolute"}} invisible={false}>
4545
<CircularProgress color="inherit" />
4646
</Backdrop>
47+
}
4748
<MitreGridDisplay entries={entries} showCountGrouping={showCountGrouping} />
4849
</div>
4950
</div>
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"files": {
33
"main.css": "/new/static/css/main.602591e6.css",
4-
"main.js": "/new/static/js/main.71c22008.js",
4+
"main.js": "/new/static/js/main.54abceaa.js",
55
"static/media/mythic-red.png": "/new/static/media/mythic-red.203468a4e5240d239aa0.png",
66
"static/media/graphql.png": "/new/static/media/graphql.8f15978b39b0870a9f0e.png",
77
"static/media/Mythic_Logo.svg": "/new/static/media/Mythic_Logo.6842c911bebe36d6f83fc7ced4a2cd99.svg",
88
"static/media/mythic_red_small.svg": "/new/static/media/mythic_red_small.793b41cc7135cdede246661ec232976b.svg",
99
"index.html": "/new/index.html",
1010
"main.602591e6.css.map": "/new/static/css/main.602591e6.css.map",
11-
"main.71c22008.js.map": "/new/static/js/main.71c22008.js.map"
11+
"main.54abceaa.js.map": "/new/static/js/main.54abceaa.js.map"
1212
},
1313
"entrypoints": [
1414
"static/css/main.602591e6.css",
15-
"static/js/main.71c22008.js"
15+
"static/js/main.54abceaa.js"
1616
]
1717
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/new/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="apple-touch-icon" href="/new/logo192.png"/><link rel="manifest" href="/new/manifest.json"/><title>Mythic</title><script defer="defer" src="/new/static/js/main.71c22008.js"></script><link href="/new/static/css/main.602591e6.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/new/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="apple-touch-icon" href="/new/logo192.png"/><link rel="manifest" href="/new/manifest.json"/><title>Mythic</title><script defer="defer" src="/new/static/js/main.54abceaa.js"></script><link href="/new/static/css/main.602591e6.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

mythic-react-docker/mythic/public/static/js/main.71c22008.js renamed to mythic-react-docker/mythic/public/static/js/main.54abceaa.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mythic-react-docker/mythic/public/static/js/main.71c22008.js.map renamed to mythic-react-docker/mythic/public/static/js/main.54abceaa.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)