Changed confirmation button colors

This commit is contained in:
Nikolaos Laskaris 2017-11-07 15:10:56 +02:00
parent 44808f4bc9
commit 502d929186
2 changed files with 18 additions and 13 deletions

View File

@ -183,22 +183,27 @@ SaveProject(){
$("#newEditProjectModal").modal("hide");
}
newProject(item){
this.project = this.getEmptyProject();
$("#newEditProjectModal").modal("show");
}
editRow(item, event){
this.project = item; //this will have id - that defines whether it's an update or not
newProject(item){
this.project = this.getEmptyProject();
$("#newEditProjectModal").modal("show");
}
editRow(item, event){
this.project = item; //this will have id - that defines whether it's an update or not
$("#newEditProjectModal").modal("show");
}
/*
markProjectForDelete(project){
this.project = project;
}
deleteProject(confirmation){
if(confirmation==true)
this.deleteRow(this.project);
}
*/
}

View File

@ -12,8 +12,8 @@
<p>{{confirmationDescr}}</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" (click)=saidYes()>Yes</button>
<button type="button" class="btn btn-default" data-dismiss="modal" (click)=saidNo()>NO</button>
<button type="button" class="btn btn-default btn-success" data-dismiss="modal" (click)=saidYes()>Yes</button>
<button type="button" class="btn btn-default btn-danger" data-dismiss="modal" (click)=saidNo()>NO</button>
</div>
</div>