cogs symbol to illustrate compiling
This commit is contained in:
		
							parent
							
								
									11c3198c82
								
							
						
					
					
						commit
						68af341816
					
				| @ -13,7 +13,7 @@ import Dialog from '@material-ui/core/Dialog'; | |||||||
| import IconButton from '@material-ui/core/IconButton'; | import IconButton from '@material-ui/core/IconButton'; | ||||||
| import Tooltip from '@material-ui/core/Tooltip'; | import Tooltip from '@material-ui/core/Tooltip'; | ||||||
| 
 | 
 | ||||||
| import { faPlay } from "@fortawesome/free-solid-svg-icons"; | import { faCogs } from "@fortawesome/free-solid-svg-icons"; | ||||||
| import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; | import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; | ||||||
| 
 | 
 | ||||||
| const styles = (theme) => ({ | const styles = (theme) => ({ | ||||||
| @ -82,12 +82,12 @@ class Compile extends Component { | |||||||
|               className={this.props.classes.button} |               className={this.props.classes.button} | ||||||
|               onClick={() => this.compile()} |               onClick={() => this.compile()} | ||||||
|             > |             > | ||||||
|               <FontAwesomeIcon icon={faPlay} size="xs"/> |               <FontAwesomeIcon icon={faCogs} size="xs"/> | ||||||
|             </IconButton> |             </IconButton> | ||||||
|           </Tooltip> |           </Tooltip> | ||||||
|          : |          : | ||||||
|           <Button style={{ float: 'right', color: 'white' }} variant="contained" color="primary" onClick={() => this.compile()}> |           <Button style={{ float: 'right', color: 'white' }} variant="contained" color="primary" onClick={() => this.compile()}> | ||||||
|             Kompilieren |             <FontAwesomeIcon icon={faCogs} style={{marginRight: '5px'}}/> Kompilieren | ||||||
|           </Button> |           </Button> | ||||||
|         } |         } | ||||||
|         <Backdrop className={this.props.classes.backdrop} open={this.state.progress}> |         <Backdrop className={this.props.classes.backdrop} open={this.state.progress}> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user