mirror of
https://github.com/mue/mue.git
synced 2026-07-18 22:44:08 +02:00
feat: add work in progress 7.0 code
Co-authored-by: Alex Sparkes <turbomarshmello@gmail.com>
This commit is contained in:
@@ -10,19 +10,35 @@ export default function ResetModal({ modalClose }) {
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<h1 style={{ textAlign: 'center' }}>{variables.language.getMessage(variables.languagecode, 'modals.main.settings.sections.advanced.reset_modal.title')}</h1>
|
||||
<span>{variables.language.getMessage(variables.languagecode, 'modals.main.settings.sections.advanced.reset_modal.question')}</span>
|
||||
<br/><br/>
|
||||
<span>{variables.language.getMessage(variables.languagecode, 'modals.main.settings.sections.advanced.reset_modal.information')}</span>
|
||||
<div className='resetfooter'>
|
||||
<button className='round reset' style={{ marginLeft: 0 }} onClick={() => reset()}>
|
||||
<MdRestartAlt/>
|
||||
<div className="resetModal">
|
||||
<span className="mainTitle" style={{ textAlign: 'center' }}>
|
||||
{variables.language.getMessage(
|
||||
variables.languagecode,
|
||||
'modals.main.settings.sections.advanced.reset_modal.title',
|
||||
)}
|
||||
</span>
|
||||
<span className="title">
|
||||
{variables.language.getMessage(
|
||||
variables.languagecode,
|
||||
'modals.main.settings.sections.advanced.reset_modal.question',
|
||||
)}
|
||||
</span>
|
||||
<span style={{ maxWidth: '450px' }} className="subtitle">
|
||||
{variables.language.getMessage(
|
||||
variables.languagecode,
|
||||
'modals.main.settings.sections.advanced.reset_modal.information',
|
||||
)}
|
||||
</span>
|
||||
<div className="resetFooter">
|
||||
<button onClick={modalClose}>
|
||||
<MdClose />
|
||||
Close
|
||||
</button>
|
||||
<button className='round add' style={{ marginLeft: '5px' }} onClick={modalClose}>
|
||||
<MdClose/>
|
||||
<button onClick={() => reset()}>
|
||||
<MdRestartAlt />
|
||||
Reset
|
||||
</button>
|
||||
</div>
|
||||
</>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user