AddOn/Datenexport_Zeiterfassung/test.html aktualisiert
This commit is contained in:
parent
e94ed7e119
commit
75bcbaca47
|
|
@ -2,7 +2,7 @@
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>TimeTracking API WebUI - Test mit Polling</title>
|
<title>WebAPI - Test</title>
|
||||||
<style>
|
<style>
|
||||||
body { font-family: Arial, sans-serif; margin: 20px; max-width: 600px; }
|
body { font-family: Arial, sans-serif; margin: 20px; max-width: 600px; }
|
||||||
label, select, input, button { display: block; width: 100%; margin-top: 10px; padding: 8px; }
|
label, select, input, button { display: block; width: 100%; margin-top: 10px; padding: 8px; }
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<h1>TimeTracking API WebUI</h1>
|
<h1>WebAPI - Test</h1>
|
||||||
|
|
||||||
<div id="step1">
|
<div id="step1">
|
||||||
<label for="apiUrl">WebAPI URL (z.B. https://time.mycompany.de/zsvc):</label>
|
<label for="apiUrl">WebAPI URL (z.B. https://time.mycompany.de/zsvc):</label>
|
||||||
|
|
@ -31,10 +31,10 @@
|
||||||
<label for="exportDefinition">Export-Definition:</label>
|
<label for="exportDefinition">Export-Definition:</label>
|
||||||
<select id="exportDefinition"></select>
|
<select id="exportDefinition"></select>
|
||||||
|
|
||||||
<label for="dateFrom">Von (YYYY-MM-DD):</label>
|
<label for="dateFrom">Von (dd.mm.yyyy):</label>
|
||||||
<input type="date" id="dateFrom" />
|
<input type="date" id="dateFrom" />
|
||||||
|
|
||||||
<label for="dateUntil">Bis (YYYY-MM-DD):</label>
|
<label for="dateUntil">Bis (dd.mm.yyyy):</label>
|
||||||
<input type="date" id="dateUntil" />
|
<input type="date" id="dateUntil" />
|
||||||
|
|
||||||
<button id="requestExport">Export anfragen</button>
|
<button id="requestExport">Export anfragen</button>
|
||||||
|
|
@ -148,7 +148,7 @@
|
||||||
console.error('Polling-Fehler:', err);
|
console.error('Polling-Fehler:', err);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
setTimeout(poll, 10000);
|
setTimeout(poll, 5000);
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
alert('Fehler beim Export: ' + e.message);
|
alert('Fehler beim Export: ' + e.message);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue