mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Compare commits
2 commits
14785d20d4
...
7a8b482e38
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a8b482e38 | ||
|
|
d218134316 |
1 changed files with 18 additions and 4 deletions
|
|
@ -17,6 +17,7 @@ import ReturnButton from 'src/components/ReturnButton/ReturnButton';
|
|||
import ApiService from '../../../services/ApiService';
|
||||
import { escapeForGIFT } from '../../../utils/giftUtils';
|
||||
import { Upload } from '@mui/icons-material';
|
||||
import SaveIcon from '@mui/icons-material/Save';
|
||||
|
||||
interface EditQuizParams {
|
||||
id: string;
|
||||
|
|
@ -223,7 +224,13 @@ const QuizForm: React.FC = () => {
|
|||
return (
|
||||
<div className='quizEditor'>
|
||||
|
||||
<div className='editHeader'>
|
||||
<div className='editHeader'
|
||||
style={{
|
||||
display: 'flex',
|
||||
justifyContent: 'space-between',
|
||||
alignItems: 'center',
|
||||
marginBottom: '32px'
|
||||
}}>
|
||||
<ReturnButton
|
||||
quizTitle={quizTitle}
|
||||
quizContent={filteredValue}
|
||||
|
|
@ -232,6 +239,8 @@ const QuizForm: React.FC = () => {
|
|||
isNewQuiz={isNewQuiz}
|
||||
/>
|
||||
|
||||
|
||||
|
||||
<div className='title'>Éditeur de Quiz</div>
|
||||
|
||||
<div className='dumb'></div>
|
||||
|
|
@ -262,9 +271,14 @@ const QuizForm: React.FC = () => {
|
|||
))}
|
||||
</NativeSelect></label>
|
||||
|
||||
<Button variant="contained" onClick={handleQuizSave}>
|
||||
Enregistrer
|
||||
</Button>
|
||||
<Button
|
||||
variant="contained"
|
||||
onClick={handleQuizSave}
|
||||
sx={{ display: 'flex', alignItems: 'center' }}
|
||||
>
|
||||
<SaveIcon sx={{ fontSize: 20 }} />
|
||||
Enregistrer
|
||||
</Button>
|
||||
|
||||
<Divider style={{ margin: '16px 0' }} />
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue