add account recovery phrase page
This commit is contained in:
parent
837ff1bc7d
commit
eee03b542d
@ -72,6 +72,7 @@
|
|||||||
"core-js": "~2.4.1",
|
"core-js": "~2.4.1",
|
||||||
"coveralls": "~2.11.11",
|
"coveralls": "~2.11.11",
|
||||||
"css-loader": "~0.26.0",
|
"css-loader": "~0.26.0",
|
||||||
|
"ejs-loader": "~0.3.0",
|
||||||
"enzyme": "2.3.0",
|
"enzyme": "2.3.0",
|
||||||
"eslint": "~3.10.2",
|
"eslint": "~3.10.2",
|
||||||
"eslint-config-semistandard": "~7.0.0",
|
"eslint-config-semistandard": "~7.0.0",
|
||||||
|
34
js/src/modals/CreateAccount/AccountDetails/recovery-page.ejs
Normal file
34
js/src/modals/CreateAccount/AccountDetails/recovery-page.ejs
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<title>Recovery phrase for <%= name %></title>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
margin: 3em auto;
|
||||||
|
max-width: 30em;
|
||||||
|
padding: 1em;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 110%;
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-weight: 300;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-weight: 300;
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
pre code {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
white-space: normal;
|
||||||
|
line-height: 1.3;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Recovery phrase for your Parity account <em><%= name %></em></h1>
|
||||||
|
<pre><code><%= phrase %></code></pre>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -64,6 +64,10 @@ module.exports = {
|
|||||||
test: /\.json$/,
|
test: /\.json$/,
|
||||||
use: [ 'json-loader' ]
|
use: [ 'json-loader' ]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
test: /\.ejs$/,
|
||||||
|
use: [ 'ejs-loader' ]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
test: /\.html$/,
|
test: /\.html$/,
|
||||||
use: [
|
use: [
|
||||||
|
Loading…
Reference in New Issue
Block a user