Filippo Bertilotti
2024-07-22 0991a9fb42afabd45d2b7504b84d6484b241c35d
commit | author | age
9f6455 1 <!DOCTYPE html>
DC 2 <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
3 <head>
4     <meta charset="utf-8">
5     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
6     <title>Creazione utenze SSO</title>
7
8     <link rel="stylesheet" href="{{asset('css/jquery-ui.min.css')}}">
9     <link rel="stylesheet" href="{{asset('css/webfonts.css')}}">
10     <link rel="stylesheet" href="{{asset('css/style.css?v=2')}}">
11     <link rel="stylesheet" href="{{asset('css/vf-dual-embedded.css')}}">
12     <link rel="stylesheet" href="{{asset('css/bootstrap-select.min.css')}}">
13
14     <link rel="stylesheet" href="{{asset('css/vola.css?v=4')}}">
15
16     <script src="{{asset('js/jquery/jquery-3.6.0.min.js')}}"></script>
17     <script src="{{asset('js/popper.min.js')}}"></script>
18     <script src="{{asset('js/jquery-ui.min.js')}}"></script>
19     <script src="{{asset('js/bootstrap.min.js')}}"></script>
20     <script src="{{asset('js/bootstrap-select.min.js')}}"></script>
21
22     <style>
23         .wrapper {
24             max-width: 95%;
25             margin: 0 auto;
26         }
27
28         .font-size-sm {
29             font-size: 1em;
30         }
31
32         #final_result {
33             white-space: nowrap;
34             overflow-x: auto;
35         }
36     </style>
37 </head>
38 <body class="page_gray">
39 <!--
40 lista tutti i metodi:
41     sso:
42         getWebcustomerInformation
43         getMSISDNDetails
44         getMSISDNList
45         getSelectedMSISDNDetails // uno per sim
46         getInfoActivationWSC // uno per sim
47     picasso:
48         getWebcustomerInformation
49 -->
50 <div class="wrapper py-3">
51
52     <section class="border border-dark rounded p-2 my-2" id="edit-all">
53         <h2 class="text-danger">
54             MODIFICA PER I CAMPI:
55         </h2>
56         <div class="container">
488dbe 57             <form id="edit-all" name="edit-all" action="/create-view" method="post">
FB 58             @csrf
9f6455 59                 <div id="wrapper-input-list" class="row row-cols-2">
DC 60
61                     {{-- viene aggiunta dinamicamente una lista di input tramite JS create_sso_profiles.js --}}
62
63                 </div>
4c12f7 64                 <button type="button" name="modifica_massiva" class="btn btn-sm btn-primary">
9f6455 65                     MODIFICA MASSIVA
DC 66                 </button>
488dbe 67                 <button type="submit" name="database" class="btn btn-sm btn-primary">
4c12f7 68                     {{-- prova bottone per accesso al database  --}}
488dbe 69
4c12f7 70                     PROVA DATABASE
D 71                 </button>
9f6455 72             </form>
DC 73         </div>
74     </section>
75     <ul id="main_errorBox" class="text-danger font-size-sm">
76         {{--    i messaggi di errore vengono aggiunti dinamicamente tramite js    --}}
77     </ul>
78     <form id="new_profile_methods" action="#"> {{-- TODO RIMUOVERE QUESTO FORM??? --}}
79         @csrf
80         <div class="container position-fixed fixed-bottom mb-2 d-flex justify-content-end">
81             <button type="button" name="show_result" class="btn btn-secondary text-uppercase">
82                 vedi risultato
83             </button>
84         </div>
85         <section class="border border-dark rounded p-2 my-2" id="sso-methods">
86             <h2 class="text-danger">
87                 SSO
88             </h2>
89             <div class="mb-3">
90                 <label for="sso_getWebcustomerInformation"
91                        class="form-label text-danger font-weight-bolder">getWebcustomerInformation</label>
92                 <label>
93                     Questo metodo deve essere modificato dal replace massivo?
94                     <input type="checkbox" name="is_editable_sso_getWebcustomerInformation" class="check-control">
95                 </label>
96                 <button type="button" id="set_default_xml_sso_getWebcustomerInformation"
97                         class="btn btn-primary btn-sm m-0 mx-3">
98                     DEFAULT XML
99                 </button>
100                 <textarea class="form-control" id="sso_getWebcustomerInformation" name="sso_getWebcustomerInformation"
101                           rows="10">
102                 </textarea>
103                 <div id="sso_getWebcustomerInformation_errorBox" class="text-danger font-size-sm"></div>
104             </div>
105
106             <div class="mb-3">
107                 <label for="sso_getMSISDNDetails"
108                        class="form-label text-danger font-weight-bolder">getMSISDNDetails</label>
109                 <label>
110                     Questo metodo deve essere modificato dal replace massivo?
111                     <input type="checkbox" name="is_editable_sso_getMSISDNDetails" class="check-control">
112                 </label>
113                 <button type="button" id="set_default_xml_sso_getMSISDNDetails" class="btn btn-primary btn-sm m-0 mx-3">
114                     DEFAULT XML
115                 </button>
116                 <textarea class="form-control" id="sso_getMSISDNDetails" name="sso_getMSISDNDetails" rows="10">
117                 {{--      valore default inserito dinamicamente da js          --}}
118                 </textarea>
119                 <div id="sso_getMSISDNDetails_errorBox" class="text-danger font-size-sm"></div>
120             </div>
121
122             <div class="mb-3">
123                 <label for="sso_getMSISDNList" class="form-label text-danger font-weight-bolder">getMSISDNList</label>
124                 <label>
125                     Questo metodo deve essere modificato dal replace massivo?
126                     <input type="checkbox" name="is_editable_sso_getMSISDNList" class="check-control">
127                 </label>
128                 <button type="button" id="set_default_xml_sso_getMSISDNList" class="btn btn-primary btn-sm m-0 mx-3">
129                     DEFAULT XML
130                 </button>
131                 <textarea class="form-control" id="sso_getMSISDNList" name="sso_getMSISDNList" rows="10">
132                 {{--      valore default inserito dinamicamente da js          --}}
133             </textarea>
134                 <div id="sso_getMSISDNList_errorBox" class="text-danger font-size-sm"></div>
135             </div>
136
137             <div class="mb-3">
138                 <label for="sso_getSelectedMSISDNDetails"
139                        class="form-label text-danger font-weight-bolder">getSelectedMSISDNDetails</label>
140                 <label>
141                     Questo metodo deve essere modificato dal replace massivo?
142                     <input type="checkbox" name="is_editable_sso_getSelectedMSISDNDetails" class="check-control">
143                 </label>
144                 <button type="button" id="set_default_xml_sso_getSelectedMSISDNDetails"
145                         class="btn btn-primary btn-sm m-0 mx-3">
146                     DEFAULT XML
147                 </button>
148                 <textarea class="form-control" id="sso_getSelectedMSISDNDetails" name="sso_getSelectedMSISDNDetails"
149                           rows="10">
150                 {{--      valore default inserito dinamicamente da js          --}}
151             </textarea>
152                 <div id="sso_getSelectedMSISDNDetails_errorBox" class="text-danger font-size-sm"></div>
153             </div>
154
155             <section id="additional_methods_sso_getSelectedMSISDNDetails">
156                 {{-- per tutti i metodi aggiuntivi di sso_getSelectedMSISDNDetails  (aggiunto dinamicamente da js quando richiesto)--}}
157             </section>
158
159             <div class="mb-3">
160                 <label for="sso_getInfoActivationWSC"
161                        class="form-label text-danger font-weight-bolder">getInfoActivationWSC</label>
162                 <label>
163                     Questo metodo deve essere modificato dal replace massivo?
164                     <input type="checkbox" name="is_editable_sso_getInfoActivationWSC" class="check-control">
165                 </label>
166                 <button type="button" id="set_default_xml_sso_getInfoActivationWSC"
167                         class="btn btn-primary btn-sm m-0 mx-3">
168                     DEFAULT XML
169                 </button>
170                 <textarea class="form-control" id="sso_getInfoActivationWSC" name="sso_getInfoActivationWSC" rows="20">
171                 {{--      valore default inserito dinamicamente da js          --}}
172             </textarea>
173                 <div id="sso_getInfoActivationWSC_errorBox" class="text-danger font-size-sm"></div>
174             </div>
175             <section id="additional_methods_sso_getInfoActivationWSC">
176                 {{-- per tutti i metodi aggiuntivi di sso_getSelectedMSISDNDetails  (aggiunto dinamicamente da js quando richiesto)--}}
177             </section>
178         </section>
179
180         <section class="border border-dark rounded p-2 my-2" id="picasso-methods">
181             <h2 class="text-danger">
182                 PICASSO
183             </h2>
184             <div class="mb-3">
185                 <label for="picasso_getWebcustomerInformation"
186                        class="form-label text-danger font-weight-bolder">getWebcustomerInformation</label>
187                 <label>
188                     Questo metodo deve essere modificato dal replace massivo?
189                     <input type="checkbox" name="is_editable_picasso_getWebcustomerInformation" class="check-control">
190                 </label>
191                 <button type="button" id="set_default_xml_picasso_getWebcustomerInformation"
192                         class="btn btn-primary btn-sm m-0 mx-3">
193                     DEFAULT XML
194                 </button>
195                 <textarea class="form-control" id="picasso_getWebcustomerInformation"
196                           name="picasso_getWebcustomerInformation" rows="10">
197                 {{--      valore default inserito dinamicamente da js          --}}
198             </textarea>
199                 <div id="picasso_getWebcustomerInformation_errorBox" class="text-danger font-size-sm"></div>
200             </div>
201         </section>
202     </form>
203
204     <section id="final_result" style="display: none" class="border border-dark rounded p-2 my-5 pb-5">
205         {{-- il mio testo --}}
206         <h2 class="text-danger">
207             RISULTATO FINALE
208         </h2>
209         <div class="container mb-3 border border-dark rounded bg-white py-2">
210             <div class="d-flex justify-content-end">
211                 <button type="button" id="copy-result" name="copy-result"
212                         class="btn btn-outline-dark text-uppercase">
213                     copia
214                 </button>
215             </div>
216             <pre id="final_result_text">
217
218             </pre>
219         </div>
220     </section>
221
222 </div>
223 </body>
224 <script>
225     let sso_getWebcustomerInformation = @json($sso_getWebcustomerInformation);
226     let sso_getMSISDNDetails = @json($sso_getMSISDNDetails);
227     let sso_getMSISDNList = @json($sso_getMSISDNList);
228     let sso_getSelectedMSISDNDetails = @json($sso_getSelectedMSISDNDetails);
229     let sso_getInfoActivationWSC = @json($sso_getInfoActivationWSC);
230     let picasso_getWebcustomerInformation = @json($picasso_getWebcustomerInformation);
231 </script>
d2a29b 232 <script src="{{asset('js/lib/vkbeautify.js')}}"></script>
DC 233 <script src="{{asset('js/lib/xmlParser.js')}}"></script>
234 <script src="{{asset('js/create_sso_profiles.js')}}"></script>
9f6455 235 </html>