diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts
index a8f8d25..94d91ce 100644
--- a/client/src/app/app.module.ts
+++ b/client/src/app/app.module.ts
@@ -20,8 +20,10 @@ import { ExpandableListModule } from 'angular2-expandable-list';
import { AttendanceListComponent } from './pages/attendance-list/attendance-list.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { MaterialModule } from './material.module';
-import { NgxSpinnerModule } from 'ngx-spinner';
+import { NgxSpinnerModule } from 'ngx-spinner';
+import { MatDialogModule } from '@angular/material/dialog';
+import { Dialog } from './components/dialog/dialog';
@NgModule({
declarations: [
@@ -37,7 +39,8 @@ import { NgxSpinnerModule } from 'ngx-spinner';
TeacherAttendancePageComponent,
ManageClassesComponent,
AttendanceListComponent,
- AddStudentSingleClassComponent
+ AddStudentSingleClassComponent,
+ Dialog,
],
imports: [
BrowserModule,
@@ -47,8 +50,14 @@ import { NgxSpinnerModule } from 'ngx-spinner';
BrowserAnimationsModule,
MaterialModule,
NgxSpinnerModule,
+ MatDialogModule,
+ ],
+ entryComponents: [
+ Dialog
+ ],
+ providers: [
+ // {provide: MAT_DIALOG_DEFAULT_OPTIONS, useValue: {hasBackdrop: false}}
],
- providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
diff --git a/client/src/app/components/dialog/dialog.html b/client/src/app/components/dialog/dialog.html
new file mode 100644
index 0000000..101ebea
--- /dev/null
+++ b/client/src/app/components/dialog/dialog.html
@@ -0,0 +1,11 @@
+
Escolha os alunos para adicionar
+
+
+
+ {{student.Name}}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/client/src/app/components/dialog/dialog.ts b/client/src/app/components/dialog/dialog.ts
new file mode 100644
index 0000000..59d9ee2
--- /dev/null
+++ b/client/src/app/components/dialog/dialog.ts
@@ -0,0 +1,40 @@
+import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
+import { Component, Inject } from '@angular/core';
+import { AuthService} from '../../services/auth.service';
+
+@Component({
+ selector: 'dialog-overview-example-dialog',
+ templateUrl: './dialog.html',
+})
+export class Dialog {
+
+ toAddList = {};
+
+ constructor(
+ public dialogRef: MatDialogRef
-