Skip to content

Commit

Permalink
change order hx711
Browse files Browse the repository at this point in the history
  • Loading branch information
elschnorro77 committed Feb 18, 2024
1 parent 166dcdc commit a963618
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
<style>:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}@media print{*,:after,:before{text-shadow:none!important;box-shadow:none!important}@page{size:a3}body{min-width:992px!important}}html{position:relative;min-height:100%}body{margin-bottom:80px}</style><link rel="stylesheet" href="styles.f1c81461e89342f1.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.f1c81461e89342f1.css"></noscript></head>
<body>
<app-root></app-root>
<script src="runtime.6c645301152a1cb6.js" type="module"></script><script src="polyfills.a8f7b07cd8d896a8.js" type="module"></script><script src="scripts.02bda0a137d78c36.js" defer></script><script src="main.2ecea6d60b840f3c.js" type="module"></script>
<script src="runtime.6c645301152a1cb6.js" type="module"></script><script src="polyfills.a8f7b07cd8d896a8.js" type="module"></script><script src="scripts.b52d7989fcb36b58.js" defer></script><script src="main.f3adaf9b95811e6e.js" type="module"></script>

</body></html>
1 change: 0 additions & 1 deletion dist/main.2ecea6d60b840f3c.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/main.f3adaf9b95811e6e.js

Large diffs are not rendered by default.

File renamed without changes.
22 changes: 12 additions & 10 deletions src/app/components/sensors/sensors.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,8 @@
<div class="alert alert-info" [innerHTML]="'alerts.hx711.scale' | translate"></div>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="form-group form-check">
<input type="checkbox" class="form-check-input" name="invert" [(ngModel)]="sensor.invert" id="invert">
<label class="form-check-label" for="invert" [translate]="'settings.sensors.invert'"></label>
</div>
</div>
</div>
<div class="row">
<div class="card card-body">
<div class="row">
<div class="col-12 col-md-6">
<label for="offset2">{{'settings.sensors.offset2' | translate}}</label>
<input type="number" step="1" class="form-control" [(ngModel)]="sensor.offset2" id="offset2" name="offset2" placeholder="{{'settings.sensors.offset2' | translate }}" />
Expand All @@ -242,14 +235,23 @@
[ts_field]="sensor.ts_field_offset2" [channels]="settings.ts_channels" ></settings-ts-field>
</div>
</div>
<div class="row">
</div>
<div class="row">
<div class="col-12 col-md-6">
<div class="alert alert-info" [innerHTML]="'alerts.hx711.offset2' | translate"></div>
</div>
<div class="col-12 col-md-6">

</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div class="form-group form-check">
<input type="checkbox" class="form-check-input" name="invert" [(ngModel)]="sensor.invert" id="invert">
<label class="form-check-label" for="invert" [translate]="'settings.sensors.invert'"></label>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
Expand Down

0 comments on commit a963618

Please sign in to comment.