From de2853db51edef5c7c9eefdfe33d91f6e6fb1691 Mon Sep 17 00:00:00 2001
From: Filippo Bertilotti <filippobertilotti@gmail.com>
Date: Fri, 27 Sep 2024 10:32:26 +0200
Subject: [PATCH] inserimento html e css per rendere il form piĆ¹ utilizzabile per l'utente finale

---
 resources/views/vodafone_fake_sso/show-write-view.blade.php |   91 +++++++++++++++++++++++++--------------------
 1 files changed, 50 insertions(+), 41 deletions(-)

diff --git a/resources/views/vodafone_fake_sso/show-write-view.blade.php b/resources/views/vodafone_fake_sso/show-write-view.blade.php
index 75a9c9f..fb602a5 100644
--- a/resources/views/vodafone_fake_sso/show-write-view.blade.php
+++ b/resources/views/vodafone_fake_sso/show-write-view.blade.php
@@ -36,51 +36,60 @@
     </style>
 </head>
 <body>
-    <form id="write-form" method="post">
-        @csrf
+    <div class="wrapper py-3">
+        <section class="border border-dark rounded p-2 my-2">
+            <h2 class="text-danger">
+                CAMPI DA INSERIRE NEL DATABASE:
+            </h2>
+            <div class="container">
+                <form id="write-form" method="post">
+                    @csrf
+                    <div class="row row-cols-2">
+                        <label for="products-select">
+                            Products
+                        </label>
+                        <select name="products_select[]" id="products_select" multiple>
+                            @foreach ($productsList as $product)
+                                <option value="{{ $product["id"] }}">
+                                    {{ $product["id"] }}: {{ $product["Name"] }}
+                                </option>
+                            @endforeach
+                        </select> <br>
 
 
-        <label for="products-select">
-            Products
-        </label>
-        <select name="products-select" id="products-select" multiple>
-            <option value="1">Product 1</option>
-            <option value="2">Product 2</option>
-            <option value="3">Product 3</option>
-            <option value="4">Product 4</option>
-            <option value="5">Product 5</option>
-            <option value="6">Product 6</option>
-            <option value="7">Product 7</option>
-            <option value="8">Product 8</option>
 
-        </select> <br>
+                        profile_user_name
+                        <input type="string" name="profile_user_name" id="profile_user_name" value="NAME FAKESSO | DUAL TM9 RIC 5.49275">
+                        Custcode
+                        <input type="string" name="Custcode" id="Custcode" value="5.49275">
+                        EmailAddress
+                        <input type="string" name="EmailAddress" id="EmailAddress" value="pippo@vola.it">
+                        Name
+                        <input type="string" name="Name" id="Name" value="Paola">
+                        ProfileIdentifier
+                        <input type="string" name="ProfileIdentifier" id="ProfileIdentifier" value="BUSINESS_EMPLOYEE">
+                        Surname
+                        <input type="string" name="Surname" id="Surname" value="Sandrelli">
+                        Username
+                        <input type="string" name="Username" id="Username" value="FAKE_SSO_">
+                        IdPiano
+                        <input type="string" name="IdPiano" id="IdPiano" value="IdPiano">
+                        OMProductId
+                        <input type="string" name="OMProductId" id="OMProductId" value="OMProductId">
+                        tmCode
+                        <input type="string" name="tmCode" id="tmCode" value="tmCode">
+                        sim_1
+                        <input type="string" name="sim_1" id="sim_1" value="3464232371">
+                    </div>
 
-        profile_user_name
-        <input type="string" name="profile_user_name" id="profile_user_name" value="NAME FAKESSO | DUAL TM9 RIC 5.49275"> <br>
-        Custcode
-        <input type="string" name="Custcode" id="Custcode" value="5.49275"> <br>
-        EmailAddress
-        <input type="string" name="EmailAddress" id="EmailAddress" value="pippo@vola.it"> <br>
-        Name
-        <input type="string" name="Name" id="Name" value="Paola"> <br>
-        ProfileIdentifier
-        <input type="string" name="ProfileIdentifier" id="ProfileIdentifier" value="BUSINESS_EMPLOYEE"> <br>
-        Surname
-        <input type="string" name="Surname" id="Surname" value="Sandrelli"> <br>
-        Username
-        <input type="string" name="Username" id="Username" value="FAKE_SSO_"> <br>
-        IdPiano
-        <input type="string" name="IdPiano" id="IdPiano" value="IdPiano"> <br>
-        OMProductId
-        <input type="string" name="OMProductId" id="OMProductId" value="OMProductId"> <br>
-        tmCode
-        <input type="string" name="tmCode" id="tmCode" value="tmCode"> <br>
-        sim_1
-        <input type="string" name="sim_1" id="sim_1" value="3464232371"> <br>
 
-        <button type="submit" name="database" class="btn btn-sm btn-primary">
-        INSERT DATABASE
-        </button>
-    </form>
+
+                    <button type="submit" name="database" class="btn btn-sm btn-primary">
+                    INSERT DATABASE
+                    </button>
+                </form>
+            </div>
+        </section>
+    </div>
 </body>
 </html>

--
Gitblit v1.8.0