diff --git a/cd2024bfs4g1-frontend/src/main/ngx/src/app/main/students/students-detail/students-detail.component.css b/cd2024bfs4g1-frontend/src/main/ngx/src/app/main/students/students-detail/students-detail.component.css index cd5fb4639..61b5c0e22 100644 --- a/cd2024bfs4g1-frontend/src/main/ngx/src/app/main/students/students-detail/students-detail.component.css +++ b/cd2024bfs4g1-frontend/src/main/ngx/src/app/main/students/students-detail/students-detail.component.css @@ -336,3 +336,20 @@ grid-column: 1 / 3; padding-right: 10px; } +div.notification label { + background-color: #8AB237; + color: white; + padding: 10px; + position: fixed; + bottom: 20px; + right: 20px; + border-radius: 5px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); + opacity: 1; + transition: opacity 0.5s ease; +} + +.notification.hide { + opacity: 0; +} + diff --git a/cd2024bfs4g1-frontend/src/main/ngx/src/app/main/students/students-detail/students-detail.component.html b/cd2024bfs4g1-frontend/src/main/ngx/src/app/main/students/students-detail/students-detail.component.html index d58dd9837..1c16f6e92 100644 --- a/cd2024bfs4g1-frontend/src/main/ngx/src/app/main/students/students-detail/students-detail.component.html +++ b/cd2024bfs4g1-frontend/src/main/ngx/src/app/main/students/students-detail/students-detail.component.html @@ -257,95 +257,13 @@

{{ 'Historial_Laboral' | oTranslate }}

-
-
- {{'LNOTES' | oTranslate}} - -
- - -
- -
- -
- - - - - -
- -
-
- {{'STUDENT_FILES' | oTranslate}} -
- - - -
- - - - - - - -
-
-
-
- - -
- {{'Bootcamps Asigned' | oTranslate}} - - - - - - - -
-
-
-
-
- -
-
-
- {{'LNOTES' | oTranslate}} - -
-
-
-
-
- {{ 'Historial_Laboral' | oTranslate }} + - +
+ +
+ \ No newline at end of file diff --git a/cd2024bfs4g1-frontend/src/main/ngx/src/assets/i18n/en.json b/cd2024bfs4g1-frontend/src/main/ngx/src/assets/i18n/en.json index 8b110518c..38c95fa57 100644 --- a/cd2024bfs4g1-frontend/src/main/ngx/src/assets/i18n/en.json +++ b/cd2024bfs4g1-frontend/src/main/ngx/src/assets/i18n/en.json @@ -297,7 +297,6 @@ "DUPLICATED_USRLOGIN_NAME":"Username already exists", "Download" : "Download", "Save": "Save", - "TUTOR_HAS_BOOTCAMPS":"The mentor has assigned bootcamps and cannot be deleted" - "Save": "Save", + "TUTOR_HAS_BOOTCAMPS":"The mentor has assigned bootcamps and cannot be deleted", "nota":"Notes" } diff --git a/cd2024bfs4g1-model/src/main/resources/dao/NotesDao.xml b/cd2024bfs4g1-model/src/main/resources/dao/NotesDao.xml index 1905461a9..f8382970d 100644 --- a/cd2024bfs4g1-model/src/main/resources/dao/NotesDao.xml +++ b/cd2024bfs4g1-model/src/main/resources/dao/NotesDao.xml @@ -14,7 +14,7 @@ - + diff --git a/cd2024bfs4g1-model/src/main/resources/db/migration/V33__create_table_notes.sql b/cd2024bfs4g1-model/src/main/resources/db/migration/V33__create_table_notes.sql new file mode 100644 index 000000000..860a21338 --- /dev/null +++ b/cd2024bfs4g1-model/src/main/resources/db/migration/V33__create_table_notes.sql @@ -0,0 +1,8 @@ +CREATE TABLE public.notas ( + id serial4 NOT NULL, + id_students int4 NOT NULL, + nota varchar(500) NOT NULL, + fecha timestamptz NOT NULL, + CONSTRAINT notas_pk PRIMARY KEY (id), + CONSTRAINT notas_students_fk FOREIGN KEY (id_students) REFERENCES public.students(id) +); \ No newline at end of file