Add logo, move eslintconfig
This commit is contained in:
parent
b96bf067cf
commit
8a30ca7a24
|
@ -1,2 +1,4 @@
|
||||||
/src/embarkArtifacts/*
|
/src/embarkArtifacts/*
|
||||||
embark/packages
|
embark/packages
|
||||||
|
embarkjs-plasma
|
||||||
|
embark-plasma
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"root": true,
|
||||||
|
"env": {
|
||||||
|
"node": true
|
||||||
|
},
|
||||||
|
"extends": [
|
||||||
|
"plugin:vue/essential",
|
||||||
|
"eslint:recommended"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
"no-console": "off",
|
||||||
|
"no-restricted-syntax": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"selector": "CallExpression[callee.object.name='console'][callee.property.name!=/^(log|warn|error|info|trace)$/]",
|
||||||
|
"message": "Unexpected property on console object was called"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"parserOptions": {
|
||||||
|
"parser": "babel-eslint"
|
||||||
|
}
|
||||||
|
}
|
23
package.json
23
package.json
|
@ -41,29 +41,6 @@
|
||||||
"eslint-plugin-vue": "^5.0.0",
|
"eslint-plugin-vue": "^5.0.0",
|
||||||
"vue-template-compiler": "^2.6.10"
|
"vue-template-compiler": "^2.6.10"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
|
||||||
"root": true,
|
|
||||||
"env": {
|
|
||||||
"node": true
|
|
||||||
},
|
|
||||||
"extends": [
|
|
||||||
"plugin:vue/essential",
|
|
||||||
"eslint:recommended"
|
|
||||||
],
|
|
||||||
"rules": {
|
|
||||||
"no-console": "off",
|
|
||||||
"no-restricted-syntax": [
|
|
||||||
"error",
|
|
||||||
{
|
|
||||||
"selector": "CallExpression[callee.object.name='console'][callee.property.name!=/^(log|warn|error|info|trace)$/]",
|
|
||||||
"message": "Unexpected property on console object was called"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"parserOptions": {
|
|
||||||
"parser": "babel-eslint"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"postcss": {
|
"postcss": {
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"autoprefixer": {}
|
"autoprefixer": {}
|
||||||
|
|
12
src/App.vue
12
src/App.vue
|
@ -17,7 +17,8 @@ limitations under the License.
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<div v-if="hasWeb3">
|
<div v-if="hasWeb3">
|
||||||
<md-toolbar class="md-transparent">
|
<md-toolbar class="md-transparent">
|
||||||
<img class="logo md-image" src="./assets/OmiseGO_Logo.svg">
|
<img class="logo md-image" src="./assets/status_logo.png">
|
||||||
|
<img class="logo sink md-image" src="./assets/OmiseGO_Logo.svg">
|
||||||
</md-toolbar>
|
</md-toolbar>
|
||||||
<div class="md-layout md-gutter">
|
<div class="md-layout md-gutter">
|
||||||
<md-card class="md-layout-item md-size-25 actions">
|
<md-card class="md-layout-item md-size-25 actions">
|
||||||
|
@ -86,7 +87,7 @@ limitations under the License.
|
||||||
<md-table-toolbar>
|
<md-table-toolbar>
|
||||||
<span class="md-title">Transaction History</span>
|
<span class="md-title">Transaction History</span>
|
||||||
</md-table-toolbar>
|
</md-table-toolbar>
|
||||||
<div v-if="transactions.length">
|
<div v-if="transactions.length" class="transactions-container">
|
||||||
<md-table-row>
|
<md-table-row>
|
||||||
<md-table-head class="date">Date</md-table-head>
|
<md-table-head class="date">Date</md-table-head>
|
||||||
<md-table-head class="hash">Tx Hash</md-table-head>
|
<md-table-head class="hash">Tx Hash</md-table-head>
|
||||||
|
@ -266,6 +267,10 @@ img.logo {
|
||||||
margin: 20px 0 20px 20px;
|
margin: 20px 0 20px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img.logo.sink {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.md-card-header-text > .md-title {
|
.md-card-header-text > .md-title {
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
|
@ -334,4 +339,7 @@ td.hash {
|
||||||
width: 380px;
|
width: 380px;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
.transactions-container {
|
||||||
|
max-height: 450px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 7.0 KiB |
Loading…
Reference in New Issue