Replacement bouton quitter

This commit is contained in:
NouhailaAater 2025-04-01 19:00:39 -04:00
parent 0941a44e50
commit d242ccec34
2 changed files with 29 additions and 29 deletions

View file

@ -248,6 +248,7 @@ const QuizForm: React.FC = () => {
<TextField <TextField
onChange={handleQuizTitleChange} onChange={handleQuizTitleChange}
value={quizTitle} value={quizTitle}
color="primary"
placeholder="Titre du quiz" placeholder="Titre du quiz"
label="Titre du quiz" label="Titre du quiz"
sx={{ width: '200px', marginTop: '50px' }} sx={{ width: '200px', marginTop: '50px' }}
@ -259,7 +260,7 @@ const QuizForm: React.FC = () => {
value={selectedFolder} value={selectedFolder}
onChange={handleSelectFolder} onChange={handleSelectFolder}
disabled={!isNewQuiz} disabled={!isNewQuiz}
style={{ marginBottom: '16px', width: '200px', marginTop: '50px' }} style={{ marginBottom: '16px', width: '200px', marginTop: '10px' }}
> >
<option disabled value=""> <option disabled value="">
Choisir un dossier... Choisir un dossier...

View file

@ -381,34 +381,6 @@ const ManageRoom: React.FC = () => {
return ( return (
<div className="room"> <div className="room">
<div
style={{
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
width: '100%',
marginBottom: '10px'
}}
>
<h1 style={{ margin: 0, display: 'flex', alignItems: 'center' }}>
Salle : {formattedRoomName}
<div
className="userCount subtitle"
style={{
display: 'inline-flex',
alignItems: 'center',
fontSize: '1.5rem',
fontWeight: 'bold',
marginLeft: '10px',
marginBottom: '0px'
}}
>
<GroupIcon style={{ marginRight: '5px', verticalAlign: 'middle' }} />{' '}
{students.length}/60
</div>
</h1>
</div>
<div className="roomHeader"> <div className="roomHeader">
<DisconnectButton <DisconnectButton
onReturn={handleReturn} onReturn={handleReturn}
@ -428,6 +400,33 @@ const ManageRoom: React.FC = () => {
<div className="dumb"></div> <div className="dumb"></div>
</div> </div>
<div
style={{
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
width: '100%',
marginBottom: '10px'
}}
>
<h1 style={{ margin: 0, display: 'flex', alignItems: 'center' }}>
Salle : {formattedRoomName}
<div
className="userCount subtitle"
style={{
display: 'inline-flex',
alignItems: 'center',
fontSize: '1.5rem',
fontWeight: 'bold',
marginLeft: '20px',
marginBottom: '0px'
}}
>
<GroupIcon style={{ marginRight: '5px', verticalAlign: 'middle' }} />{' '}
{students.length}/60
</div>
</h1>
</div>
{/* the following breaks the css (if 'room' classes are nested) */} {/* the following breaks the css (if 'room' classes are nested) */}
<div className=""> <div className="">