perbaikan max lenght device
This commit is contained in:
parent
4c229e994a
commit
15ae21bf9c
|
@ -13,7 +13,7 @@
|
||||||
href="https://allbestsistem.com/"
|
href="https://allbestsistem.com/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
style="background-color: #000000 !important;"
|
style="background-color: #000000 !important;"
|
||||||
>Smart Building Management Systems (V@2024-07-8.01)
|
>Smart Building Management Systems (V@2024-07-8.02)
|
||||||
</a></span
|
</a></span
|
||||||
>
|
>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
class="form-control"
|
class="form-control"
|
||||||
formControlName="name"
|
formControlName="name"
|
||||||
placeholder="Device Name"
|
placeholder="Device Name"
|
||||||
|
maxlength="50"
|
||||||
[ngClass]="{
|
[ngClass]="{
|
||||||
'is-invalid': submitted && f.name.errors
|
'is-invalid': submitted && f.name.errors
|
||||||
}"
|
}"
|
||||||
|
@ -230,6 +231,7 @@
|
||||||
id="watt"
|
id="watt"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
formControlName="watt"
|
formControlName="watt"
|
||||||
|
maxlength="10"
|
||||||
placeholder="Watt"
|
placeholder="Watt"
|
||||||
[ngClass]="{
|
[ngClass]="{
|
||||||
'is-invalid': submitted && f.watt.errors
|
'is-invalid': submitted && f.watt.errors
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<div class="media-body text-left">
|
<div class="media-body text-left">
|
||||||
<h5 style="color: #ffffff">Kwh Consumption</h5>
|
<h5 style="color: #ffffff">Kwh Consumption</h5>
|
||||||
<h3 style="color: #ffffff">
|
<h3 style="color: #ffffff">
|
||||||
{{ topCard?.kwh_consumption ? topCard?.kwh_consumption.toFixed(1) : 0 }} Kwh
|
{{ topCard?.kwh_consumption ? topCard?.kwh_consumption.toFixed(3) : 0 }} Kwh
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="align-self-center">
|
<div class="align-self-center">
|
||||||
|
|
|
@ -138,7 +138,7 @@
|
||||||
<p
|
<p
|
||||||
class="card-subtitle line-on-side text-muted text-center font-small-3 mx-2 my-1"
|
class="card-subtitle line-on-side text-muted text-center font-small-3 mx-2 my-1"
|
||||||
>
|
>
|
||||||
<span>(v@2024.07.8.01)</span>
|
<span>(v@2024.07.8.02)</span>
|
||||||
</p>
|
</p>
|
||||||
<!-- <div class="card-body">
|
<!-- <div class="card-body">
|
||||||
<a
|
<a
|
||||||
|
|
Loading…
Reference in New Issue