Feat: adapte les scripts aux nouveaux niveaux
This commit is contained in:
parent
b41303fdbb
commit
3d67ad7a55
@ -13,11 +13,12 @@ selection=$(dialog \
|
||||
--title "Menu" \
|
||||
--clear \
|
||||
--cancel-label "Exit" \
|
||||
--menu "Choisir un niveau:" 0 0 4 \
|
||||
--menu "Choisir un niveau:" 0 0 5 \
|
||||
"1" "2nd" \
|
||||
"2" "Enseignements Scientifique" \
|
||||
"3" "4e" \
|
||||
"4" "Technologique" \
|
||||
"2" "SNT" \
|
||||
"3" "Enseignements Scientifique" \
|
||||
"4" "Première NSI" \
|
||||
"5" "Première Technologique" \
|
||||
2>&1 1>&3)
|
||||
exec 3>&-
|
||||
case $selection in
|
||||
@ -25,13 +26,16 @@ case $selection in
|
||||
tribe="2nd"
|
||||
;;
|
||||
2 )
|
||||
tribe="EnseignementsScientifique"
|
||||
tribe="SNT"
|
||||
;;
|
||||
3 )
|
||||
tribe="4e"
|
||||
tribe="EnseignementsScientifique"
|
||||
;;
|
||||
4 )
|
||||
tribe="Technologique"
|
||||
tribe="1NSI"
|
||||
;;
|
||||
5 )
|
||||
tribe="1ST"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
@ -13,15 +13,16 @@ exec 3>&-
|
||||
|
||||
exec 3>&1
|
||||
selection=$(dialog \
|
||||
--backtitle "Création d'une nouvelle séquence: Classe" \
|
||||
--backtitle "Création d'une nouvelle évaluation: Classe" \
|
||||
--title "Menu" \
|
||||
--clear \
|
||||
--cancel-label "Exit" \
|
||||
--menu "Choisir un niveau:" 0 0 4 \
|
||||
--menu "Choisir un niveau:" 0 0 5 \
|
||||
"1" "2nd" \
|
||||
"2" "Enseignements Scientifique" \
|
||||
"3" "4e" \
|
||||
"4" "Technologique" \
|
||||
"2" "SNT" \
|
||||
"3" "Enseignements Scientifique" \
|
||||
"4" "Première NSI" \
|
||||
"5" "Première Technologique" \
|
||||
2>&1 1>&3)
|
||||
exec 3>&-
|
||||
case $selection in
|
||||
@ -29,13 +30,16 @@ case $selection in
|
||||
tribe="2nd"
|
||||
;;
|
||||
2 )
|
||||
tribe="EnseignementsScientifique"
|
||||
tribe="SNT"
|
||||
;;
|
||||
3 )
|
||||
tribe="4e"
|
||||
tribe="EnseignementsScientifique"
|
||||
;;
|
||||
4 )
|
||||
tribe="Technologique"
|
||||
tribe="1NSI"
|
||||
;;
|
||||
5 )
|
||||
tribe="1ST"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user