From 29be41b5182c30eaf79c53eb3e8fa052e62b594d Mon Sep 17 00:00:00 2001
From: ulrich
Date: Tue, 20 Apr 2021 22:17:18 +0000
Subject: [PATCH] Anzeige des Schaltzustands von Geraeten

---
 www/ui/data/tpl/form_geraet.txt |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/www/ui/data/tpl/form_geraet.txt b/www/ui/data/tpl/form_geraet.txt
index 6d94060..8772037 100644
--- a/www/ui/data/tpl/form_geraet.txt
+++ b/www/ui/data/tpl/form_geraet.txt
@@ -1,13 +1,13 @@
 <form>
   <div class="entity-formular">
-    <input name="name" class="entity-element" type="text" id="geraet-name" placeholder="Name" value="{{name}}" />
-    <input name="einUrl" class="entity-element" type="text" id="geraet-einurl" placeholder="URL (Ein)" value="{{einUrl}}" />
-    <input name="ausUrl" class="entity-element" type="text" id="geraet-ausurl" placeholder="URL (Aus)" value="{{ausUrl}}" />
-    <input name="statusUrl" class="entity-element" type="text" id="geraet-statusurl" placeholder="URL (Status)" value="{{statusUrl}}" />
+    <input name="name" class="entity-form-element" type="text" id="geraet-name" placeholder="Name" value="{{name}}" />
+    <input name="einUrl" class="entity-form-element" type="text" id="geraet-einurl" placeholder="URL (Ein)" value="{{einUrl}}" />
+    <input name="ausUrl" class="entity-form-element" type="text" id="geraet-ausurl" placeholder="URL (Aus)" value="{{ausUrl}}" />
+    <input name="statusUrl" class="entity-form-element" type="text" id="geraet-statusurl" placeholder="URL (Status)" value="{{statusUrl}}" />
     <div class="entity-buttons">
       <button type="submit" class="button-primary" id="ok-btn">Speichern</button>
-      <button class="button" id="cancel-btn">Abbrechen</button>
-      <button class="button" id="loeschen-btn">L&ouml;schen</button>
+      <button type="button" class="button" id="cancel-btn">Abbrechen</button>
+      <button type="button" class="button" id="loeschen-btn">L&ouml;schen</button>
     </div>
   </div>
 </form>
\ No newline at end of file

--
Gitblit v1.9.3