diff --git a/src/components/Tutorial/Builder/BlocklyExample.js b/src/components/Tutorial/Builder/BlocklyExample.js index 1714a76..a421454 100644 --- a/src/components/Tutorial/Builder/BlocklyExample.js +++ b/src/components/Tutorial/Builder/BlocklyExample.js @@ -82,10 +82,9 @@ class BlocklyExample extends Component { render() { moment.locale('de', localization); return ( -
+
{!this.props.task ? this.submit()}>Tutorial-Vorlage erstellen - + + + diff --git a/src/components/Tutorial/Builder/Hardware.js b/src/components/Tutorial/Builder/Hardware.js index f0e3cd3..1d52562 100644 --- a/src/components/Tutorial/Builder/Hardware.js +++ b/src/components/Tutorial/Builder/Hardware.js @@ -12,6 +12,7 @@ import GridList from '@material-ui/core/GridList'; import GridListTile from '@material-ui/core/GridListTile'; import GridListTileBar from '@material-ui/core/GridListTileBar'; import FormHelperText from '@material-ui/core/FormHelperText'; +import FormLabel from '@material-ui/core/FormLabel'; const styles = theme => ({ multiGridListTile: { @@ -62,7 +63,8 @@ class Requirements extends Component { render() { var cols = isWidthDown('md', this.props.width) ? isWidthDown('sm', this.props.width) ? isWidthDown('xs', this.props.width) ? 2 : 3 : 4 : 6; return ( -
+
+ Hardware Beachte, dass die Reihenfolge des Auswählens maßgebend ist. {this.props.error.steps[this.props.index].hardware ? Wähle mindestens eine Hardware aus. : null} diff --git a/src/components/Tutorial/Builder/Requirements.js b/src/components/Tutorial/Builder/Requirements.js index 17bf574..0ccd04a 100644 --- a/src/components/Tutorial/Builder/Requirements.js +++ b/src/components/Tutorial/Builder/Requirements.js @@ -28,7 +28,7 @@ class Requirements extends Component { render() { return ( - + Voraussetzungen Beachte, dass die Reihenfolge des Anhakens maßgebend ist. diff --git a/src/components/Tutorial/Builder/Step.js b/src/components/Tutorial/Builder/Step.js index 740a686..707dac7 100644 --- a/src/components/Tutorial/Builder/Step.js +++ b/src/components/Tutorial/Builder/Step.js @@ -36,7 +36,7 @@ class Step extends Component { var index = this.props.index; var steps = this.props.steps; return ( -
+
Schritt {index+1}