File tree Expand file tree Collapse file tree 3 files changed +45
-22
lines changed
app/tasks/tasks-list/task-item Expand file tree Collapse file tree 3 files changed +45
-22
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ select {
8080 font : inherit;
8181 padding : .5rem ;
8282 border : none;
83- background-color : # 42380b ;
83+ background-color : # 3a3a3a ;
8484 color : # fefefe ;
8585 border-radius : 0.25rem ;
8686 font-size : 0.75rem ;
@@ -102,3 +102,23 @@ button:hover,
102102button : active {
103103 color : # f8d63c ;
104104}
105+
106+
107+ label {
108+ display : block;
109+ margin-bottom : 0.15rem ;
110+ font-weight : bold;
111+ color : # f2e090 ;
112+ }
113+
114+ input ,
115+ textarea {
116+ font : inherit;
117+ width : 100% ;
118+ padding : 0.5rem ;
119+ margin-bottom : 0.25rem ;
120+ border : none;
121+ background-color : # 545144 ;
122+ color : # fdf8df ;
123+ border-radius : 0.25rem ;
124+ }
Original file line number Diff line number Diff line change @@ -47,26 +47,29 @@ <h3>{{ task().title }}</h3>
4747
4848 < ng-template #formEdit >
4949 < form #editForm ="ngForm " (ngSubmit) ="editTheForm() ">
50- < p >
51- < label for ="editTask "> Title</ label >
52- < input
53- type ="text "
54- id ="editText "
55- name ="editText "
56- [(ngModel)] ="editTask.title "
57- required
58- />
59- </ p >
60- < p >
61- < label for ="editDescription "> Description:</ label >
62- < textarea
63- id ="editDescription "
64- name ="editDescription "
65- [(ngModel)] ="editTask.description "
66- required
67- >
68- </ textarea >
69- </ p >
50+ < div style ="display: flex; align-items: baseline; ">
51+ < p style ="padding-right: 10px; ">
52+ < label for ="editTask "> Title:</ label >
53+ < input
54+ type ="text "
55+ id ="editText "
56+ name ="editText "
57+ [(ngModel)] ="editTask.title "
58+ required
59+ />
60+ </ p >
61+ < p >
62+ < label for ="editDescription "> Description:</ label >
63+ < textarea
64+ id ="editDescription "
65+ name ="editDescription "
66+ [(ngModel)] ="editTask.description "
67+ required
68+ >
69+ </ textarea >
70+ </ p >
71+
72+ </ div >
7073 < button class ="editButtons " type ="submit " [disabled] ="editForm.invalid ">
7174 Save
7275 </ button >
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ bootstrapApplication(AppComponent, {
1212 providers : [
1313 provideRouter ( routes ) ,
1414 AuthService ,
15- { provide : LocationStrategy , useClass : HashLocationStrategy } ,
15+ // { provide: LocationStrategy, useClass: HashLocationStrategy },
1616 provideAnimationsAsync ( ) ,
1717 ] ,
1818} ) . catch ( ( err ) => console . error ( err ) ) ;
You can’t perform that action at this time.
0 commit comments