Skip to content

Commit

Permalink
demo pages. ETH Signer. Favicon added
Browse files Browse the repository at this point in the history
  • Loading branch information
dtaipov committed Jan 31, 2019
1 parent 92dc1e7 commit e675fd8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Binary file added docs/assets/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions docs/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>KeyChain test page</title>
<link rel="stylesheet" href="../assets/spectre.min.css">
<link rel="shortcut icon" href="../assets/favicon.ico">
<style>
button {
width: 100%;
Expand Down
3 changes: 2 additions & 1 deletion docs/eth_signer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<title>ETH Signer</title>
<link rel="stylesheet" href="../assets/spectre.min.css">
<link rel="stylesheet" href="../assets/icons.min.css">
<link rel="shortcut icon" href="../assets/favicon.ico">
</head>
<body>
<div class="container">
Expand Down Expand Up @@ -134,7 +135,7 @@ <h6>Documentation: <a href="https://github.com/arrayio/array-io-keychain/wiki/Ho
log(`Transfer result: \n${JSON.stringify(result, undefined, 2)}`);
const endpoint = document.getElementById('input-endpoint').value;
const prefix = endpoint.indexOf('rinkeby') !== -1 ? 'rinkeby' : 'ropsten';
document.getElementById('etherscanLink').innerHTML = `<a href='https://${prefix}.etherscan.io/tx/${result.transactionHash}'>Etherscan Link</a>`;
document.getElementById('etherscanLink').innerHTML = `<a href='https://${prefix}.etherscan.io/tx/${result.transactionHash}' target="_blank">Etherscan Link</a>`;
} catch (e) {
console.log(e);
log(e);
Expand Down
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>KeyChain test page</title>
<link rel="stylesheet" href="assets/spectre.min.css">
<link rel="shortcut icon" href="assets/favicon.ico">
<style>
button {
width: 100%;
Expand Down

0 comments on commit e675fd8

Please sign in to comment.