Skip to content

Commit

Permalink
more movement away from stringified html
Browse files Browse the repository at this point in the history
  • Loading branch information
johntalton committed Jun 6, 2024
1 parent 557082e commit 9ac8358
Show file tree
Hide file tree
Showing 13 changed files with 482 additions and 499 deletions.
3 changes: 2 additions & 1 deletion public/css/aht20.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ aht20-config {
grid-template-columns: 1fr 1fr;
gap: 1em;


max-width: fit-content;
min-width: 50%;
justify-self: center;
align-self: center !important;

& > form[data-form-buttons] {
grid-column: 1 / -1;
Expand Down
34 changes: 34 additions & 0 deletions public/custom-elements/aht20.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<body>
<aht20-config>
<form data-form-buttons method="dialog">
<button type="button" data-reset>Reset</button>
<button data-state>State</button>
<!-- button data-init >Init</button -->
<button data-trigger>Trigger</button>
<button data-measurement>Measurement</button>
</form>


<label>Initialized</label>
<output data-state-initialized>-</output>

<label>Ready</label>
<output data-state-ready>-</output>

<label>Calibrated</label>
<output data-state-calibrated>-</output>

<label>Measurement Humidity (RH%)</label>
<output data-measurement-humidity>-</output>

<label>Measurement Temperature (°C)</label>
<output data-measurement-temperature>-</output>

<label>Measurement CRC</label>
<output data-measurement-crc>-</output>

</aht20-config>
</body>
</html>
1 change: 0 additions & 1 deletion public/custom-elements/excamera-i2cdriver.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<!-- dynamic content -->
<template>
<li>

</li>
</template>
</ul>
Expand Down
155 changes: 0 additions & 155 deletions public/custom-elements/pcf8523-config.html

This file was deleted.

27 changes: 0 additions & 27 deletions public/custom-elements/pcf8523-config.js

This file was deleted.

Loading

0 comments on commit 9ac8358

Please sign in to comment.