Add logo, move eslintconfig

This commit is contained in:
emizzle 2019-06-24 20:40:05 +10:00
parent b96bf067cf
commit 8a30ca7a24
No known key found for this signature in database
GPG Key ID: 1FD4BAB3C37EE9BA
6 changed files with 36 additions and 26 deletions

View File

@ -1,2 +1,4 @@
/src/embarkArtifacts/*
embark/packages
embark/packages
embarkjs-plasma
embark-plasma

23
.eslintrc.json Normal file
View File

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

View File

@ -41,29 +41,6 @@
"eslint-plugin-vue": "^5.0.0",
"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": {
"plugins": {
"autoprefixer": {}

View File

@ -17,7 +17,8 @@ limitations under the License.
<div id="app">
<div v-if="hasWeb3">
<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>
<div class="md-layout md-gutter">
<md-card class="md-layout-item md-size-25 actions">
@ -86,7 +87,7 @@ limitations under the License.
<md-table-toolbar>
<span class="md-title">Transaction History</span>
</md-table-toolbar>
<div v-if="transactions.length">
<div v-if="transactions.length" class="transactions-container">
<md-table-row>
<md-table-head class="date">Date</md-table-head>
<md-table-head class="hash">Tx Hash</md-table-head>
@ -266,6 +267,10 @@ img.logo {
margin: 20px 0 20px 20px;
}
img.logo.sink {
margin-bottom: 0;
}
.md-card-header-text > .md-title {
font-weight: 900;
}
@ -334,4 +339,7 @@ td.hash {
width: 380px;
word-break: break-all;
}
.transactions-container {
max-height: 450px;
}
</style>

BIN
src/assets/embark_logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

BIN
src/assets/status_logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB