Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Oct 29, 2020
1 parent e2d46ec commit 6a456c7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
color: #ffc107!important;
font-weight: bold!important;
}
.bg-warning-remainder {
opacity: 0.25;
}
</style>
</head>
<body>
Expand Down Expand Up @@ -424,6 +427,16 @@ <h2 class="value">
'text-secondary': !state.connected,
'bg-warning': state.connected && minSoCActive,
}" v-bind:style="{width: socChargeDisplayWidth+'%'}">{{socChargeDisplayValue}}</div>
<div class="progress-bar" role="progressbar" v-bind:class="{
'progress-bar-striped': state.charging,
'progress-bar-animated': state.charging,
'bg-warning': true,
'bg-warning-remainder': true,
}" v-bind:style="{width: (50-socChargeDisplayWidth)+'%', 'background-color':'#e9ecef'}"></div>
<!-- <div class="progress-bar" role="progressbar" v-bind:class="{
'bg-warning': true,
}" v-bind:style="{width: '2px'}"></div> -->
</div>
</div>
</div>
</script>
Expand Down

0 comments on commit 6a456c7

Please sign in to comment.