Alinear BD local con esquema de produccion, login offline y publicacion portable
- Modelos renombrados para coincidir con columnas de MariaDB (ApPaterno/ApMaterno, HoraSalida, FechaFin, IdAsistenciaProfesor) - Agregado campo IdAlumno a DetalleContrato - Seed data con IDs reales de produccion (16451, 16493, profesor 15668563-1) - Login offline: solo valida RUT contra BD local, sin contraseña - ConnectivityService: checkea internet al inicio, bloquea si hay conexion - ViewLocator corregido: busca tipos en todos los ensamblados - Todos los ViewModels heredan de ViewModelBase - Publicacion self-contained para win-x64, linux-x64, osx-x64, osx-arm64 - Agregado .gitignore, removidos bin/obj/publish del tracking
This commit is contained in:
1 parent
9068122b6b
commit
fb275508ee
19 files changed
+196
-77
No files matched your search
@@ -20,24 +20,17 @@
|
||||
Foreground="{DynamicResource PrimaryNavy}"
|
||||
HorizontalAlignment="Center" />
|
||||
|
||||
<TextBlock Text="Inicie sesion con su cuenta"
|
||||
<TextBlock Text="Modo offline — Ingrese su RUT"
|
||||
FontSize="14" Foreground="{DynamicResource TextSecondary}"
|
||||
HorizontalAlignment="Center" Margin="0,0,0,24" />
|
||||
|
||||
<TextBlock Text="RUT" FontSize="13" FontWeight="SemiBold"
|
||||
Foreground="{DynamicResource TextPrimary}" />
|
||||
<TextBox Watermark="Ej: 12345678-9"
|
||||
<TextBox PlaceholderText="Ej: 12345678-9"
|
||||
Text="{Binding Rut}"
|
||||
FontSize="14" Margin="0,0,0,8" />
|
||||
|
||||
<TextBlock Text="Contrasena" FontSize="13" FontWeight="SemiBold"
|
||||
Foreground="{DynamicResource TextPrimary}" />
|
||||
<TextBox Watermark="Ingrese su contrasena"
|
||||
Text="{Binding Password}"
|
||||
PasswordChar="*"
|
||||
FontSize="14" Margin="0,0,0,16" />
|
||||
|
||||
<Button Content="Iniciar Sesion"
|
||||
<Button Content="Ingresar"
|
||||
Command="{Binding LoginCommand}"
|
||||
Classes="primary"
|
||||
HorizontalAlignment="Stretch"
|
||||
|
||||
Reference in new issue
Block a user