Skip to content

Commit

Permalink
add hinto to cost estimations
Browse files Browse the repository at this point in the history
  • Loading branch information
franzmueller committed Nov 30, 2023
1 parent 6af7db0 commit 3a37318
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
11 changes: 11 additions & 0 deletions src/app/modules/cost/cost-overview/cost-overview.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@
height: calc(100% - 78px);
overflow-y: auto;
}

.inline-icon {
vertical-align: bottom;
}

.help {
margin-bottom: 12px;
display: flex;
justify-content: end;
margin-right: 20px;
}
13 changes: 9 additions & 4 deletions src/app/modules/cost/cost-overview/cost-overview.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<div class="container layout-margin">
<senergy-spinner [show]="!dataReady"></senergy-spinner>
<mat-accordion multi *ngIf="dataReady">
<senergy-cost-element *ngFor="let cat of tree | keyvalue: originalOrder" [name]="cat.key" [element]="cat.value"/>
<senergy-spinner [show]="!dataReady"></senergy-spinner>
<div class="help color-accent">
<span matTooltip="Estimations are based on the consumption in the month so far and consumption over the last 24 hours carried forward till the end of the month. Therefore, it takes a day for changes to be accounted for in the estimations.">About estimations <mat-icon class="inline-icon" color="accent">help</mat-icon></span>
</div>
<div *ngIf="dataReady">
<mat-accordion multi>
<senergy-cost-element *ngFor="let cat of tree | keyvalue: originalOrder" [name]="cat.key" [element]="cat.value" />
</mat-accordion>
</div>
</div>

0 comments on commit 3a37318

Please sign in to comment.