Files
espid2sensor/views/index.pug
2025-08-13 15:44:29 +00:00

48 lines
1.2 KiB
Plaintext

doctype html
html(lang="de")
head
meta(charset="utf-8")
meta(name="viewport", content="width=device-width, initial-scale=1")
title ESP-ID zu Sensornummer
link(rel="stylesheet", href="/styles.css")
body
h1 ESP-ID → Sensornummer
div.card
form#entryForm
label(for="espId") ESP-ID:
input#espId(type="text")
label(for="sensorNumber") Sensornummer:
input#sensorNumber(type="text" placeholder="Nur Zahlen erlaubt")
label(for="name") Bezeichnung:
input#name(type="text")
label(for="description") Beschreibung:
textarea#description
label(for="address") Anschrift:
input#address(type="text" placeholder="Wird automatisch ausgefüllt, kann geändert werden")
button#saveBtn(type="button") Speichern
div#result
div.controls
button#refreshBtn Aktualisieren
| Seite:
input#page(value="1")
| Limit:
input#limit(value="10")
table#entriesTable
thead
tr
th ESP-ID
th Sensornummer
th Bezeichnung
th Beschreibung
th Anschrift
th Datum
th Aktionen
tbody
script(type="module" src="/global.js")