mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Compare commits
2 commits
338f18c1cd
...
5e6765aa7d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e6765aa7d | ||
|
|
d242ccec34 |
2 changed files with 29 additions and 29 deletions
|
|
@ -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...
|
||||||
|
|
|
||||||
|
|
@ -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="">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue