Änderungen von Dokument Servermeldungen (SaaS)

Zuletzt geändert von MACH ProForms GmbH am 22.07.2024

Von Version 5.1
bearbeitet von MACH ProForms GmbH
am 04.07.2024
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 9.1
bearbeitet von MACH ProForms GmbH
am 16.07.2024
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.fweise
1 +xwiki:XWiki.Dokumentation
Inhalt
... ... @@ -58,18 +58,15 @@
58 58  </div>
59 59  
60 60  <script type="text/javascript">
61 - // Function to fetch data from api-status.php and update the HTML
62 62   function fetchData() {
63 - fetch('api-status.php')
62 + fetch('https://mpf-serversstatus.azurewebsites.net/api/http_serversstatus_trigger')
64 64   .then(response => response.json())
65 65   .then(data => {
66 66   const productiveSystemsList = document.querySelector('.productive-systems-list');
67 67   const customerSystemsList = document.querySelector('.customer-systems-list');
68 -
69 69   data.hostStatus.forEach(host => {
70 70   const listItem = document.createElement('li');
71 71   listItem.innerHTML = `<span class="host-name">${host.host}:</span> <span class="status-${getStatusColor(host.status)}"><strong>${getStatusText(host.status)}</strong></span>`;
72 -
73 73   if (host.host === "pdf.form-solutions.net" || host.host === "onlinedienste.form-solutions.de") {
74 74   productiveSystemsList.appendChild(listItem);
75 75   } else {
... ... @@ -76,11 +76,8 @@
76 76   customerSystemsList.appendChild(listItem);
77 77   }
78 78   });
79 -
80 - // Update Next Planned Update Date
81 81   const plannedUpdate = document.getElementById('plannedUpdate');
82 82   plannedUpdate.textContent = data.plannedUpdate;
83 - // Update Next Planned Maintenance Date
84 84   const plannedMaintenance = document.getElementById('plannedMaintenance');
85 85   plannedMaintenance.textContent = data.plannedMaintenance;
86 86   })
... ... @@ -117,7 +117,6 @@
117 117   }
118 118   }
119 119  
120 - // Call fetchData when the page loads
121 121   window.addEventListener('load', fetchData);
122 122  </script>
123 123  {{/html}}
... ... @@ -125,6 +125,3 @@
125 125  = Kontakt =
126 126  
127 127  Bei Fragen oder Hilfestellungen zu unseren Diensten können Sie uns über den [[MACH ProForms Support>>doc:Main.10_Hilfe.WebHome]] erreichen.
128 -
129 -
130 -