@@ -6,7 +6,7 @@ import code from '../resources/code';
66import languages from '../resources/languages' ;
77import copy from 'copy-to-clipboard' ;
88import { store as Notification } from 'react-notifications-component' ;
9- import { Grid , Button , FormControl , FormControlLabel , Checkbox , Select , MenuItem , CircularProgress } from '@material-ui/core' ;
9+ import { Grid , Button , FormControl , FormControlLabel , Checkbox , Select , MenuItem , Dialog , DialogTitle , DialogContent , DialogContentText } from '@material-ui/core' ;
1010
1111// Backend servers to execute code.
1212const EXECUTE_CODE_DEV_POST_URL = 'http://localhost:5000/coderpad/execute'
@@ -277,6 +277,19 @@ class CoderpadWrapper extends Component {
277277 render ( ) {
278278 return (
279279 < div className = "App" >
280+ < Dialog
281+ open = { true }
282+ aria-labelledby = "alert-dialog-title"
283+ aria-describedby = "alert-dialog-description"
284+ >
285+ < DialogTitle id = "alert-dialog-title" > Services are being migrated to core.</ DialogTitle >
286+ < DialogContent >
287+ < DialogContentText id = "alert-dialog-description" >
288+ All services are currently in the process of migrating to core. All applications can be found
289+ at < a href = 'https://core.dannyhp.com' > https://core.dannyhp.com</ a > .
290+ </ DialogContentText >
291+ </ DialogContent >
292+ </ Dialog >
280293 < Grid container style = { { marginBottom : '1.5%' } } >
281294 < Grid item xs = { 6 } >
282295 < CodeEditor
@@ -332,7 +345,7 @@ class CoderpadWrapper extends Component {
332345 </ Button >
333346 < Button variant = 'contained' color = 'primary'
334347 onClick = { this . executeCode }
335- disabled = { this . state . disabled }
348+ disabled = { true }
336349 style = { { background : '#0269a4' , marginRight : '1.5%' , maxHeight : '40px' } } >
337350 { this . state . disabled ? 'Running your code...' : 'Run Code' }
338351 </ Button >
0 commit comments