Changed confirmation button colors
This commit is contained in:
parent
44808f4bc9
commit
502d929186
|
@ -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);
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue