UI: remove (confusing) commit hash (#4412)

This commit is contained in:
andig 2022-09-17 13:45:21 +02:00 • committed by GitHub
parent 7e32f7eeb9
commit 0a35892b77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 117 deletions

View file

@ -9,7 +9,6 @@
<Logo class="logo me-2" />
v{{ installed }}
<shopicon-regular-moonstars class="ms-2 text-gray-light"></shopicon-regular-moonstars>
<span class="ms-2 text-gray-light d-none d-sm-inline">[{{ commit }}]</span>
</a>
<button
v-else-if="newVersionAvailable"
@ -18,7 +17,7 @@
data-bs-target="#updateModal"
class="btn btn-link ps-0 text-decoration-none evcc-default-text text-nowrap d-flex align-items-end"
>
<shopicon-regular-gift class="me-2 text-evcc"></shopicon-regular-gift>
<shopicon-regular-gift class="me-2"></shopicon-regular-gift>
v{{ installed }}
<span class="ms-2 d-none d-xs-block d-sm-none text-decoration-underline">
{{ $t("footer.version.availableShort") }}

View file

@ -1,93 +0,0 @@
<template>
<div class="container">
<!-- <h1 class="display-4 pt-3 mx-auto text-center">Konfiguration</h1>
<p class="lead mx-auto text-center">Details der Fahrzeug-, Wallbox- und Zählerkonfiguration.</p> -->
<div class="row mt-4 border-bottom">
<div class="col-12">
<p class="h1">{{ title || "Home" }}</p>
</div>
</div>
<div class="row h5">
<div class="col-md-4"></div>
<div class="col-6 col-md-2 py-3">
Netzzähler:
<span v-if="gridConfigured" class="text-primary">✓</span>
<span v-else class="text-primary">&mdash;</span>
</div>
<div class="col-6 col-md-2 py-3">
PV Zähler:
<span v-if="pvConfigured" class="text-primary">✓</span>
<span v-else class="text-primary">&mdash;</span>
</div>
<div class="col-6 col-md-2 py-3">
Batteriezähler:
<span v-if="batteryConfigured" class="text-primary">✓</span>
<span v-else class="text-primary">&mdash;</span>
</div>
</div>
<div
v-for="(loadpoint, id) in loadpoints"
:id="'loadpoint-' + id"
:key="id"
:loadpoint="loadpoint"
>
<div class="row mt-4 border-bottom">
<div class="col-12">
<p class="h1">{{ loadpoint.title || "Ladepunkt" }}</p>
</div>
</div>
<div class="row h5">
<div class="col-md-4"></div>
<div class="col-6 col-md-2 py-3">
Ladezähler:
<span v-if="loadpoint.chargeConfigured" class="text-primary">✓</span>
<span v-else class="text-primary">&mdash;</span>
</div>
<div class="col-6 col-md-2 py-3">
Phasen:
<span class="text-primary">{{ loadpoint.phases }}p</span>
</div>
<div class="col-6 col-md-2 py-3">
Min. Strom:
<span class="text-primary">{{ loadpoint.minCurrent }}A</span>
</div>
<div class="col-6 col-md-2 py-3">
Max. Strom:
<span class="text-primary">{{ loadpoint.maxCurrent }}A</span>
</div>
</div>
<div class="row h5">
<div class="col-md-4"></div>
<div class="col-md-8 h2">
<div class="row py-3 h2 border-bottom">
<div class="col-12">Fahrzeug</div>
</div>
<div class="row h5">
<div class="col-6 py-3">
Modell:
<span class="text-primary">{{ loadpoint.vehicleTitle || "—" }}</span>
</div>
<div class="col-6 py-3">
Kapazität:
<span class="text-primary">{{ loadpoint.vehicleCapacity }}kWh</span>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: "Config",
data: function () {
return this.$root.$data.store.state; // global state
},
};
</script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
dist/index.html vendored
View file

@ -20,8 +20,8 @@
<meta name="theme-color" content="#020318" />
<title>evcc</title>
<script type="module" crossorigin src="./assets/index.6a5ee766.js"></script>
<link rel="stylesheet" href="./assets/index.9dca4fd5.css">
<script type="module" crossorigin src="./assets/index.fd078ce0.js"></script>
<link rel="stylesheet" href="./assets/index.9f475f7d.css">
</head>
<body>
<script>