parent
baa8490f44
commit
bb19b37097
@ -0,0 +1,5 @@ |
||||
.show-oauth-credentials { |
||||
padding-left: 10px; |
||||
opacity: 0.3; |
||||
cursor: pointer; |
||||
} |
||||
@ -0,0 +1,16 @@ |
||||
|
||||
$(document).ready(function () { |
||||
|
||||
$('.show-oauth-credentials').click(function() { |
||||
var row = $(this).parent(); |
||||
var code = $(row).find('code'); |
||||
if(code.text() === '****') { |
||||
code.text(row.data('value')); |
||||
$(this).css('opacity', 0.9); |
||||
} else { |
||||
code.text('****'); |
||||
$(this).css('opacity', 0.3); |
||||
} |
||||
}) |
||||
|
||||
}); |
||||
Loading…
Reference in new issue