From 86cd42358eba95bc0ae1443558b6695e5e3e13af Mon Sep 17 00:00:00 2001
From: ulrich
Date: Mon, 26 Apr 2021 15:44:28 +0000
Subject: [PATCH] Readme angepasst

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

diff --git a/www/ui/data/tpl/form_geraet.txt b/www/ui/data/tpl/form_geraet.txt
index 6d94060..92dd2a8 100644
--- a/www/ui/data/tpl/form_geraet.txt
+++ b/www/ui/data/tpl/form_geraet.txt
@@ -1,13 +1,14 @@
 <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}}" />
+    <input name="status" class="entity-form-element" type="hidden" id="geraet-status" placeholder="URL (Status)" value="{{status}}" />
     <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