Commit 41cdcb7a authored by Alex Beregszaszi's avatar Alex Beregszaszi

Use distinct color for payable buttons

parent 9e192eb6
......@@ -223,8 +223,8 @@
}
.udapp .contractProperty .call {
background-color: #FF8B8B;
border-color: #FF8B8B;
background-color: #FFB9B9;
border-color: #FFB9B9;
}
.udapp .contractProperty .debug {
......@@ -238,6 +238,12 @@
width: 25%;
}
.udapp .contractProperty.payable .call {
background-color: #FF8B8B;
border-color: #FF8B8B;
width: 25%;
}
.udapp .contractProperty input {
display: none;
}
......
......@@ -654,6 +654,10 @@ UniversalDApp.prototype.getCallButton = function (args) {
$contractProperty.addClass('hasArgs')
}
if (args.abi.payable === true) {
$contractProperty.addClass('payable')
}
return $contractProperty.append(outputSpan)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment