Skip to content

Commit

Permalink
Better Contrast In Visualization With No Energyflow (#4192)
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis authored Aug 24, 2022
1 parent 3281750 commit bdb912d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
5 changes: 4 additions & 1 deletion assets/js/components/Energyflow/Visualization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@
:format="fmtBarValue"
/>
</div>
<div v-if="totalAdjusted <= 0" class="site-progress-bar bg-light border no-wrap w-100">
<div
v-if="totalAdjusted <= 0"
class="site-progress-bar bg-light border no-wrap w-100 text-dark"
>
<span>{{ $t("main.energyflow.noEnergy") }}</span>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion assets/js/i18n/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default {
},
main: {
energyflow: {
noEnergy: "Kein Energiefluss",
noEnergy: "Kein Messwerte",
homePower: "Verbrauch",
pvProduction: "Erzeugung",
loadpoints: "Ladepunkt | Ladepunkt | {count} Ladepunkte",
Expand Down
2 changes: 1 addition & 1 deletion assets/js/i18n/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default {
},
main: {
energyflow: {
noEnergy: "No Energyflow",
noEnergy: "No meter data",
homePower: "Consumption",
pvProduction: "Production",
loadpoints: "Loadpoint | Loadpoint | {count} Loadpoints",
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<meta name="theme-color" content="#020318" />

<title>evcc</title>
<script type="module" crossorigin src="./assets/index.11bca6dc.js"></script>
<link rel="stylesheet" href="./assets/index.d93cad38.css">
<script type="module" crossorigin src="./assets/index.f8acaee1.js"></script>
<link rel="stylesheet" href="./assets/index.15a4660f.css">
</head>
<body>
<script>
Expand Down

0 comments on commit bdb912d

Please sign in to comment.