From a29f5ca76074f014d2a82390610797907528efc1 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 21 Apr 2021 06:37:03 +0000
Subject: [PATCH] Unterscheidung und Verarbeitung Geraete-Liste mit allen Angaben (auch Status) oder nur Name

---
 www/ui/data/tpl/form_geraet.txt |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/www/ui/data/tpl/form_geraet.txt b/www/ui/data/tpl/form_geraet.txt
index b0e28ba..92dd2a8 100644
--- a/www/ui/data/tpl/form_geraet.txt
+++ b/www/ui/data/tpl/form_geraet.txt
@@ -4,10 +4,11 @@
     <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