1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-20 10:50:08 +03:00

Changed the buttons style in 'Role Affinity' (#200)

This commit is contained in:
Abel Coronado 2017-02-28 11:56:33 +01:00 committed by Tino Vázquez
parent cd4e926a2b
commit 9c36c7f6ec

View File

@ -48,14 +48,14 @@ define(function(require) {
var html = "";
if(that.valueSt){
if(that.affinity == "ANTI_AFFINED"){
html = "<a value="+that.valueSt+" id="+that.html_group_role_id+" class='button alert small radius group_roles' style='width: 90%; margin-top:0.5em;'>\
<i class='fa fa-lg fa-times-circle remove_group_affinity'> "+that.valueSt+" </i>\
html = "<a value="+that.valueSt+" id="+that.html_group_role_id+" class='button alert small radius group_roles' style='font-size: 100%; width: 90%; margin-top:0.5em;'>\
<i style='float: left' class='fa fa-lg fa-times-circle remove_group_affinity'></i> "+that.valueSt+"\
</a>\
<br/>";
}
else{
html = "<a value="+that.valueSt+" id="+that.html_group_role_id+" class='button success small radius group_roles' style='width: 90%; margin-top:0.5em;'>\
<i value="+that.valueSt+" class='fa fa-lg fa-times-circle remove_group_affinity'> "+that.valueSt+" </i>\
html = "<a value="+that.valueSt+" id="+that.html_group_role_id+" class='button success small radius group_roles' style='font-size: 100%; width: 90%; margin-top:0.5em;'>\
<i style='float: left' class='fa fa-lg fa-times-circle remove_group_affinity'> </i>"+that.valueSt+"\
</a>\
<br/>";
}