- }/>
+ }/>
diff --git a/frontend/src/components/MakerPage.js b/frontend/src/components/MakerPage.js
index b98490b9..c6e2aad6 100644
--- a/frontend/src/components/MakerPage.js
+++ b/frontend/src/components/MakerPage.js
@@ -1,5 +1,5 @@
import React, { Component } from 'react';
-import { Paper, Button , Grid, Typography, TextField, Select, FormHelperText, MenuItem, FormControl, Radio, FormControlLabel, RadioGroup, dividerClasses} from "@mui/material"
+import { Tooltip, Paper, Button , Grid, Typography, TextField, Select, FormHelperText, MenuItem, FormControl, Radio, FormControlLabel, RadioGroup, dividerClasses} from "@mui/material"
import { Link } from 'react-router-dom'
import getFlags from './getFlags'
@@ -184,6 +184,7 @@ export default class MakerPage extends Component {
+
+ />
+
+
+
}
@@ -246,6 +250,8 @@ export default class MakerPage extends Component {
labelPlacement="Top"
onClick={this.handleClickRelative}
/>
+
+
}
@@ -253,6 +259,7 @@ export default class MakerPage extends Component {
labelPlacement="Top"
onClick={this.handleClickExplicit}
/>
+
@@ -297,7 +304,8 @@ export default class MakerPage extends Component {
-
{this.state.badRequest ?
diff --git a/frontend/src/components/UserGenPage.js b/frontend/src/components/UserGenPage.js
index 28676e5b..540dc314 100644
--- a/frontend/src/components/UserGenPage.js
+++ b/frontend/src/components/UserGenPage.js
@@ -1,11 +1,13 @@
import React, { Component } from "react";
-import { Button , Dialog, Grid, Typography, TextField, ButtonGroup, CircularProgress, IconButton} from "@mui/material"
+import { Button , Tooltip, Dialog, Grid, Typography, TextField, ButtonGroup, CircularProgress, IconButton} from "@mui/material"
import { Link } from 'react-router-dom'
import Image from 'material-ui-image'
import InfoDialog from './InfoDialog'
import SmartToyIcon from '@mui/icons-material/SmartToy';
import CasinoIcon from '@mui/icons-material/Casino';
import ContentCopy from "@mui/icons-material/ContentCopy";
+import InfoIcon from '@mui/icons-material/Info';
+import HelpOutlineIcon from '@mui/icons-material/HelpOutline';
function getCookie(name) {
let cookieValue = null;
@@ -103,7 +105,7 @@ export default class UserGenPage extends Component {
handleClickSubmitToken=()=>{
this.delGeneratedUser();
this.getGeneratedUser(this.state.token);
- this.setState({loadingRobot: true, tokenHasChanged: false});
+ this.setState({loadingRobot: true, tokenHasChanged: false, copied: false});
this.props.setAppState({avatarLoaded: false, nickname: null, token: null});
}
@@ -141,6 +143,7 @@ export default class UserGenPage extends Component {
+
-
+
+
: }
@@ -171,7 +175,7 @@ export default class UserGenPage extends Component {
// style: { color: 'green' },
// }}
error={this.state.bad_request}
- label='Store your token safely'
+ label={"Store your token safely"}
required='true'
value={this.state.token}
variant='standard'
@@ -186,11 +190,15 @@ export default class UserGenPage extends Component {
}}
InputProps={{
startAdornment:
- navigator.clipboard.writeText(this.state.token)}>
-
- ,
+
+ (navigator.clipboard.writeText(this.state.token) & this.setState({copied:true}))}>
+
+
+ ,
endAdornment:
- ,
+
+
+ ,
}}
/>
diff --git a/frontend/static/css/index.css b/frontend/static/css/index.css
index 82a9164c..98693333 100644
--- a/frontend/static/css/index.css
+++ b/frontend/static/css/index.css
@@ -68,12 +68,9 @@ body {
}
.phoneFlippedSmallAvatar {
- transform: translate(-20, -20);
- bottom: 50;
- right: 50;
transform: scaleX(-1);
- border: 0.8px solid #555;
- filter: drop-shadow(0.5px 0.5px 0.5px #000000);
+ border: 1.3px solid #555;
+ filter: drop-shadow(0.7px 0.7px 0.7px #000000);
}
.bookAvatar {