add account recovery phrase page

This commit is contained in:
Jannis R 2016-11-30 19:48:10 +01:00
parent 837ff1bc7d
commit eee03b542d
No known key found for this signature in database
GPG Key ID: 0FE83946296A88A5
3 changed files with 39 additions and 0 deletions

View File

@ -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",

View 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>

View File

@ -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: [