Muitas coisas e já me esqueci delas todas, cenas principalmente no dashboard do aluno bug fixes e etc
This commit is contained in:
@@ -83,7 +83,7 @@ class _SignupPageState extends State<SignupPage> {
|
||||
),
|
||||
const SizedBox(width: 12),
|
||||
Text(
|
||||
'A carregar turmas...',
|
||||
'A carregar anos letivos...',
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
fontSize: 14,
|
||||
@@ -98,7 +98,7 @@ class _SignupPageState extends State<SignupPage> {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 8.0),
|
||||
child: Text(
|
||||
'Nenhuma turma disponível. Contacta o teu professor.',
|
||||
'Nenhum ano letivo disponível. Contacta o teu professor.',
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.error,
|
||||
fontSize: 13,
|
||||
@@ -111,7 +111,7 @@ class _SignupPageState extends State<SignupPage> {
|
||||
value: _selectedSchoolClassId,
|
||||
isExpanded: true,
|
||||
decoration: InputDecoration(
|
||||
labelText: 'Turma',
|
||||
labelText: 'Ano letivo',
|
||||
labelStyle: TextStyle(color: Theme.of(context).colorScheme.onSurface),
|
||||
enabledBorder: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(8.0),
|
||||
@@ -139,7 +139,7 @@ class _SignupPageState extends State<SignupPage> {
|
||||
style: TextStyle(color: Theme.of(context).colorScheme.onSurface),
|
||||
dropdownColor: Theme.of(context).colorScheme.surface,
|
||||
hint: Text(
|
||||
'Seleciona a tua turma',
|
||||
'Escolha o seu ano letivo',
|
||||
style: TextStyle(color: Theme.of(context).colorScheme.onSurfaceVariant),
|
||||
),
|
||||
items: _availableClasses
|
||||
@@ -153,7 +153,7 @@ class _SignupPageState extends State<SignupPage> {
|
||||
onChanged: (value) => setState(() => _selectedSchoolClassId = value),
|
||||
validator: (value) {
|
||||
if (value == null || value.isEmpty) {
|
||||
return 'Seleciona a tua turma';
|
||||
return 'Seleciona o teu ano letivo';
|
||||
}
|
||||
return null;
|
||||
},
|
||||
@@ -246,10 +246,12 @@ class _SignupPageState extends State<SignupPage> {
|
||||
? AppThemeExtras.of(context).authBackgroundGradient
|
||||
: [
|
||||
Theme.of(context).colorScheme.background,
|
||||
Theme.of(context).colorScheme.primary
|
||||
.withOpacity(0.1),
|
||||
Theme.of(context).colorScheme.secondary
|
||||
.withOpacity(0.05),
|
||||
Theme.of(
|
||||
context,
|
||||
).colorScheme.primary.withOpacity(0.1),
|
||||
Theme.of(
|
||||
context,
|
||||
).colorScheme.secondary.withOpacity(0.05),
|
||||
Theme.of(context).colorScheme.background,
|
||||
],
|
||||
),
|
||||
@@ -424,7 +426,7 @@ class _SignupPageState extends State<SignupPage> {
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
|
||||
// Seletor de turma (apenas para alunos)
|
||||
// Seletor de ano letivo (apenas para alunos)
|
||||
if (_selectedRole == 'student') ...[
|
||||
_buildClassSelector(context),
|
||||
const SizedBox(height: 16),
|
||||
|
||||
Reference in New Issue
Block a user