Browse Source

Merge branch 'devFredy' of ITTEC/PlataformaEducativaWeb2 into develop

AldrickChavarria 4 tháng trước cách đây
mục cha
commit
2fc8c4b7a3

+ 2 - 2
Back/backendP-Educativa/app/Http/Controllers/NivelExportController.php

@@ -17,8 +17,8 @@ class NivelExportController extends Controller
         $tabla = $request->input('tabla');
 
         switch ($tabla) {
-            case 'niveles':
-                return $this->generarReporte('niveles', 'NIVELES EDUCATIVOS', ['ID', 'Nombre del Nivel', 'Estado']);
+           case 'niveles':
+                return $this->generarReporte('niveles', 'NIVELES EDUCATIVOS', ['idNivel', 'nombreNivel', 'estado']);
             case 'materias_categorias':
                 return $this->generarReporte('materias_categorias', 'CATEGORÍAS DE MATERIAS', ['categoria', 'ordenBoleta', 'estado']);
             case 'materias':

+ 17 - 4
Front/src/app/modules/Profesor/pages/asistencia/asistencia.component.css

@@ -230,6 +230,7 @@ th, td{
 .modalTable {
     border-collapse: collapse;
     width: 100%;
+      overflow-x: scroll;
 }
 
 .modalTr {
@@ -264,6 +265,15 @@ th, td{
         display: flex;
         flex-direction: column;
     }
+    .items-center{
+      margin-left: -25px;
+      position: relative;
+
+    }
+    .button-modal{
+top:-5px;
+position: relative;
+    }
 
     /* titulo */
     .centrar {
@@ -339,8 +349,11 @@ th, td{
     }
 
     .table-responsive {
-        overflow-x: scroll;
-        white-space: nowrap;
-    }
+        overflow-x: scroll;    }
+
+        .items-centerbtn2{
+padding-bottom: 14px;
+margin-left: 65px;
+}
 
-}
+  }

+ 2 - 2
Front/src/app/modules/Profesor/pages/asistencia/listaAsistencia.component.html

@@ -46,7 +46,7 @@
     </div>
 </mat-dialog-content>
 
-<div class="items-center justify-center" *ngIf="!isLoading">
+<div class="items-centerbtn2 justify-center" *ngIf="!isLoading">
     <button type="button" (click)="updateLista()" class="yellow">
         <span>
             Ingresar
@@ -84,4 +84,4 @@
 
 </div> -->
 
-<!-- -------------------------------------- -->
+<!-- -------------------------------------- -->

+ 6 - 6
Front/src/app/modules/Profesor/pages/asistencia/modalAsistencia.component.html

@@ -65,22 +65,22 @@
 
 </mat-dialog-content>
 
-<div class="align flex-row mt-20 pb-10" *ngIf="!isLoading">
-  <div class="items-center justify-center">
+<div class="align flex-row mt-20 pb-10"  *ngIf="!isLoading">
+  <div class="items-centerbtn justify-center">
     <button type="button" (click)="save()" class="yellow">
-      <span>
+      <span >
         Ingresar
       </span>
       <mat-icon class="icon" matSuffix>description</mat-icon></button>
   </div>
-  <div class="items-center justify-center">
+  <div class="items-centerbtn justify-center">
     <button class="orange" (click)="limpiar()">
       <span>
         Limpiar
       </span>
       <mat-icon class="icon" matSuffix>delete</mat-icon></button>
   </div>
-  <div class="items-center justify-center">
+  <div class="items-centerbtn  justify-center">
     <button class="red" mat-dialog-close>
       <span>
         Cerrar
@@ -90,4 +90,4 @@
 
 </div>
 
-  <!-- -------------------------------------- -->
+  <!-- -------------------------------------- -->

+ 6 - 0
Front/src/app/modules/Profesor/pages/curso-materia/curso-materia.component.css

@@ -169,6 +169,11 @@ display: none;  }
   .mat-form-field {
     width: 100% !important;
     margin-bottom: 16px;
+
+  }
+
+  .tituloAnuncio{
+  width: 100%
   }
 
   .flex-row {
@@ -177,6 +182,7 @@ display: none;  }
 
   .ml-10 {
     margin-left: 0 !important;
+
   }
 
   .w-responsive {

+ 2 - 2
Front/src/app/modules/Profesor/pages/curso-materia/modalCurso.component.html

@@ -28,9 +28,9 @@
 
   <!-- Formulario para crear o editar -->
   <form *ngIf="data.act !== 'ver'" (ngSubmit)="crearAnuncio()" [formGroup]="form">
-    <mat-form-field class="w-full">
+    <mat-form-field class="tituloAnuncio">
       <mat-label>Titulo</mat-label>
-      <input matInput name="titulo" formControlName="titulo" placeholder="Titulo del anuncio">
+      <input matInput name="titulo" formControlName="titulo" placeholder="Titulo del anuncio" >
     </mat-form-field>
 
     <div class="flex-row">