@@ -10,14 +10,15 @@ <h2 *ngIf="!showTitlePrompt && !showNoteEditor">SecureTime</h2>
10
10
< ng-template #loggedInTemplate >
11
11
<!-- Header e Logout (apenas quando não estiver criando/editando) -->
12
12
< div *ngIf ="!showTitlePrompt && !showNoteEditor " class ="header-info ">
13
- < button (click) ="logout() "> Logout</ button >
13
+ < button class =" button-logout " (click) ="logout() "> < h1 > Logout</ h1 > </ button >
14
14
</ div >
15
15
16
16
<!-- Modal para o título da nota -->
17
17
< div class ="modal " *ngIf ="showTitlePrompt ">
18
18
< h3 > Digite o título da nota</ h3 >
19
19
< input type ="text " [(ngModel)] ="newNoteTitle " placeholder ="Título da nota " />
20
20
< button (click) ="confirmTitle() "> Continuar</ button >
21
+ < button (click) ="cancelEdit() "> Cancelar</ button >
21
22
</ div >
22
23
23
24
<!-- Editor da nota -->
@@ -30,19 +31,22 @@ <h3>{{ editingNote ? 'Editando' : 'Criando' }}: {{ newNoteTitle }}</h3>
30
31
< button (click) ="cancelEdit() "> Cancelar</ button >
31
32
</ div >
32
33
33
- <!-- Container com o cartão de criação e os cartões de nota -- >
34
- < div class =" notes-container " *ngIf =" !showTitlePrompt && !showNoteEditor " >
35
- <!-- Cartão de criação minimalista (só o "+") -- >
36
- < div class ="create-document " (click) =" openNoteTitlePrompt() " >
37
- < span class =" plus-symbol " > + </ span >
34
+ < div class =" notes-container-plus " *ngIf =" !showTitlePrompt && !showNoteEditor " >
35
+ <!-- Cartão de criação minimalista (só o "+") -- >
36
+ < div class =" create-document " (click) =" openNoteTitlePrompt() " >
37
+ < span class ="plus-symbol " > + </ span >
38
+ </ div >
38
39
</ div >
39
40
40
- <!-- Cartões de nota existentes -->
41
- < div class ="note-card " *ngFor ="let note of notes " (click) ="editNote(note) ">
42
- < div class ="note-icon "> 📄</ div >
43
- <!-- Limita o título aos primeiros 15 caracteres -->
44
- < div class ="note-title "> {{ note.title | slice:0:9 }}</ div >
45
- </ div >
41
+ <!-- Container com o cartão de criação e os cartões de nota -->
42
+ < div class ="notes-container " *ngIf ="!showTitlePrompt && !showNoteEditor ">
43
+ <!-- Cartões de nota existentes -->
44
+ < div class ="note-card " *ngFor ="let note of notes " (click) ="editNote(note) ">
45
+ < div class ="note-icon "> 📝</ div >
46
+ <!-- Limita o título aos primeiros 15 caracteres -->
47
+ < div class ="note-title "> {{ note.title | slice:0:13 }}</ div >
48
+ </ div >
46
49
</ div >
50
+
47
51
</ ng-template >
48
52
</ div >
0 commit comments