Commit 97e361fe authored by Deni Rinaldi's avatar Deni Rinaldi

malam2

parent 1c3cf56c
...@@ -588,7 +588,7 @@ export default function MiniDrawer() { ...@@ -588,7 +588,7 @@ export default function MiniDrawer() {
))} ))}
</List> </List>
{open && {open &&
<div style={{ marginLeft: 20, marginTop: 5 }}> <div style={{ marginLeft: 20, marginTop: 5, paddingBottom: 20 }}>
<button <button
style={{ style={{
outline: 'none', outline: 'none',
......
This diff is collapsed.
This diff is collapsed.
...@@ -12,10 +12,10 @@ export default class PopUpFailedSave extends Component { ...@@ -12,10 +12,10 @@ export default class PopUpFailedSave extends Component {
</div> </div>
<div style={{ display: 'grid', justifyContent: 'center', marginTop: 20 }}> <div style={{ display: 'grid', justifyContent: 'center', marginTop: 20 }}>
<span style={{ textAlign: 'center', fontSize: 14, fontWeight: 'bold' }}> <span style={{ textAlign: 'center', fontSize: 14, fontWeight: 'bold' }}>
{`Maaf, penyimpanan data gagal.`} {`Sorry, form save failed.`}
</span> </span>
<span style={{ textAlign: 'center', fontSize: 14, fontWeight: 'bold' }}> <span style={{ textAlign: 'center', fontSize: 14, fontWeight: 'bold' }}>
{`Mohon ulangi beberapa saat lagi.`} {`Please try again later.`}
</span> </span>
</div> </div>
<div style={{ display: 'grid', justifyContent: 'center', marginTop: 24 }}> <div style={{ display: 'grid', justifyContent: 'center', marginTop: 24 }}>
......
...@@ -70,7 +70,7 @@ class Upload extends Component { ...@@ -70,7 +70,7 @@ class Upload extends Component {
uploadProgress: false, uploadProgress: false,
percentage: '0' percentage: '0'
}) })
this.setState({ alertMessage: "Unsupported Media Type", alert: true }) this.setState({ alertMessage: "Unsupported File", alert: true })
// alert("Unsupported Media Type") // alert("Unsupported Media Type")
} }
} }
...@@ -95,11 +95,11 @@ class Upload extends Component { ...@@ -95,11 +95,11 @@ class Upload extends Component {
if (this.state.sizeFile < 1000) { if (this.state.sizeFile < 1000) {
this.props.onUpload() this.props.onUpload()
} else { } else {
this.setState({ alertMessage: 'File Tidak Boleh Lebih Dari 1MB', alert: true }) this.setState({ alertMessage: 'File cannot be more than 1MB', alert: true })
// alert('File Tidak Boleh Lebih Dari 1MB') // alert('File Tidak Boleh Lebih Dari 1MB')
} }
} else { } else {
this.setState({ alertMessage: 'File Tidak Mendukung', alert: true }) this.setState({ alertMessage: 'Unsupported File', alert: true })
// alert('File Tidak Mendukung') // alert('File Tidak Mendukung')
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment