Changed confirmation button colors
This commit is contained in:
parent
44808f4bc9
commit
502d929186
|
@ -183,22 +183,27 @@ SaveProject(){
|
||||||
$("#newEditProjectModal").modal("hide");
|
$("#newEditProjectModal").modal("hide");
|
||||||
}
|
}
|
||||||
|
|
||||||
newProject(item){
|
newProject(item){
|
||||||
this.project = this.getEmptyProject();
|
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");
|
$("#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>
|
<p>{{confirmationDescr}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<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 btn-success" 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-danger" data-dismiss="modal" (click)=saidNo()>NO</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue