Skip to content

Commit

Permalink
Refactor UI into single file components (evcc-io#491)
Browse files Browse the repository at this point in the history
Authored-by: @naltatis
  • Loading branch information
naltatis authored Dec 2, 2020
1 parent 839f6ac commit 3d3d8b4
Show file tree
Hide file tree
Showing 28 changed files with 13,821 additions and 18,421 deletions.
13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
env: {
browser: true,
node: true,
es6: true,
},
extends: [
"eslint:recommended",
"plugin:vue/essential",
"plugin:prettier/recommended",
"prettier",
],
};
3 changes: 3 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
printWidth: 100,
};
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ install:

lint:
golangci-lint run
npm run lint

test:
@echo "Running testsuite"
Expand Down
31 changes: 17 additions & 14 deletions assets/css/app.css
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
/* reverse loading animation */
.progress-bar-animated {
animation-direction: reverse;
animation-direction: reverse;
}
.btn.caption {
opacity: 1;
opacity: 1;
}
.btn.first {
border-top-left-radius: .2rem;
border-bottom-left-radius: .2rem;
border-top-left-radius: 0.2rem;
border-bottom-left-radius: 0.2rem;
}
code {
font-size: 87.5%;
color: #e83e8c;
word-wrap: break-word;
font-size: 87.5%;
color: #e83e8c;
word-wrap: break-word;
}
.value, input[type=radio], label.btn {
white-space: nowrap !important;
.value,
input[type="radio"],
label.btn {
white-space: nowrap !important;
}
.text-muted a, .text-muted a:hover {
color: #6c757d!important;
text-decoration: none;
.text-muted a,
.text-muted a:hover {
color: #6c757d !important;
text-decoration: none;
}
.bg-muted {
opacity: 0.25;
}
opacity: 0.25;
}
83 changes: 26 additions & 57 deletions assets/ico/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 11 additions & 14 deletions assets/ico/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions assets/ico/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"start_url": "../#",
"name": "EV Charge Controller",
"short_name": "EV Charge Controller",
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
"name": "EV Charge Controller",
"short_name": "EV Charge Controller",
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Loading

0 comments on commit 3d3d8b4

Please sign in to comment.