kan je ervoor zorgen dat het inplannen op de kalender effectief werkt - Follow Up Deployment
Browse files- README.md +6 -4
- index.html +868 -19
- prompts.txt +9 -0
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
colorFrom: gray
|
5 |
-
colorTo:
|
6 |
sdk: static
|
7 |
pinned: false
|
|
|
|
|
8 |
---
|
9 |
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: planner
|
3 |
+
emoji: 🐳
|
4 |
colorFrom: gray
|
5 |
+
colorTo: green
|
6 |
sdk: static
|
7 |
pinned: false
|
8 |
+
tags:
|
9 |
+
- deepsite
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
@@ -1,19 +1,868 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Tankstation Planner</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
9 |
+
<style>
|
10 |
+
.draggable {
|
11 |
+
cursor: move;
|
12 |
+
user-select: none;
|
13 |
+
}
|
14 |
+
.dropzone {
|
15 |
+
min-height: 60px;
|
16 |
+
transition: background-color 0.3s;
|
17 |
+
}
|
18 |
+
.dropzone.highlight {
|
19 |
+
background-color: rgba(147, 197, 253, 0.3);
|
20 |
+
}
|
21 |
+
.shift-card {
|
22 |
+
transition: transform 0.2s, box-shadow 0.2s;
|
23 |
+
}
|
24 |
+
.shift-card:hover {
|
25 |
+
transform: translateY(-2px);
|
26 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
27 |
+
}
|
28 |
+
@media (max-width: 640px) {
|
29 |
+
.mobile-scroll {
|
30 |
+
overflow-x: auto;
|
31 |
+
white-space: nowrap;
|
32 |
+
}
|
33 |
+
}
|
34 |
+
</style>
|
35 |
+
</head>
|
36 |
+
<body class="bg-gray-50 font-sans">
|
37 |
+
<div class="container mx-auto px-4 py-6">
|
38 |
+
<!-- Header -->
|
39 |
+
<header class="flex flex-col md:flex-row justify-between items-center mb-8">
|
40 |
+
<div class="flex items-center mb-4 md:mb-0">
|
41 |
+
<i class="fas fa-gas-pump text-blue-600 text-3xl mr-3"></i>
|
42 |
+
<h1 class="text-2xl font-bold text-gray-800">Tankstation Planner</h1>
|
43 |
+
</div>
|
44 |
+
<div class="flex space-x-2">
|
45 |
+
<button id="dashboardBtn" class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition">
|
46 |
+
<i class="fas fa-chart-pie mr-2"></i>Dashboard
|
47 |
+
</button>
|
48 |
+
<button id="planningBtn" class="px-4 py-2 bg-white border border-blue-600 text-blue-600 rounded-lg hover:bg-blue-50 transition">
|
49 |
+
<i class="fas fa-calendar-alt mr-2"></i>Planning
|
50 |
+
</button>
|
51 |
+
<button id="settingsBtn" class="px-4 py-2 bg-white border border-gray-300 text-gray-600 rounded-lg hover:bg-gray-100 transition">
|
52 |
+
<i class="fas fa-cog mr-2"></i>Instellingen
|
53 |
+
</button>
|
54 |
+
</div>
|
55 |
+
</header>
|
56 |
+
|
57 |
+
<!-- Main Content -->
|
58 |
+
<main>
|
59 |
+
<!-- Dashboard View (Hidden by default) -->
|
60 |
+
<div id="dashboardView" class="hidden bg-white rounded-lg shadow-md p-6 mb-6">
|
61 |
+
<div class="flex justify-between items-center mb-6">
|
62 |
+
<h2 class="text-xl font-semibold text-gray-800">Dashboard Overzicht</h2>
|
63 |
+
<div class="flex space-x-2">
|
64 |
+
<button class="px-3 py-1 bg-blue-100 text-blue-600 rounded-md text-sm hover:bg-blue-200">
|
65 |
+
<i class="fas fa-file-pdf mr-1"></i>PDF
|
66 |
+
</button>
|
67 |
+
<button class="px-3 py-1 bg-green-100 text-green-600 rounded-md text-sm hover:bg-green-200">
|
68 |
+
<i class="fas fa-file-excel mr-1"></i>Excel
|
69 |
+
</button>
|
70 |
+
</div>
|
71 |
+
</div>
|
72 |
+
|
73 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
|
74 |
+
<!-- Stats Cards -->
|
75 |
+
<div class="bg-white border border-gray-200 rounded-lg p-4 shadow-sm">
|
76 |
+
<div class="flex items-center">
|
77 |
+
<div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-4">
|
78 |
+
<i class="fas fa-users text-xl"></i>
|
79 |
+
</div>
|
80 |
+
<div>
|
81 |
+
<p class="text-gray-500 text-sm">Totaal medewerkers</p>
|
82 |
+
<p class="text-2xl font-bold" id="totalEmployees">12</p>
|
83 |
+
</div>
|
84 |
+
</div>
|
85 |
+
</div>
|
86 |
+
<div class="bg-white border border-gray-200 rounded-lg p-4 shadow-sm">
|
87 |
+
<div class="flex items-center">
|
88 |
+
<div class="p-3 rounded-full bg-green-100 text-green-600 mr-4">
|
89 |
+
<i class="fas fa-gas-pump text-xl"></i>
|
90 |
+
</div>
|
91 |
+
<div>
|
92 |
+
<p class="text-gray-500 text-sm">Actieve tankstations</p>
|
93 |
+
<p class="text-2xl font-bold" id="totalStations">8</p>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
</div>
|
97 |
+
<div class="bg-white border border-gray-200 rounded-lg p-4 shadow-sm">
|
98 |
+
<div class="flex items-center">
|
99 |
+
<div class="p-3 rounded-full bg-purple-100 text-purple-600 mr-4">
|
100 |
+
<i class="fas fa-clock text-xl"></i>
|
101 |
+
</div>
|
102 |
+
<div>
|
103 |
+
<p class="text-gray-500 text-sm">Uren deze week</p>
|
104 |
+
<p class="text-2xl font-bold" id="totalHours">156</p>
|
105 |
+
</div>
|
106 |
+
</div>
|
107 |
+
</div>
|
108 |
+
</div>
|
109 |
+
|
110 |
+
<!-- Charts -->
|
111 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
|
112 |
+
<div class="bg-white border border-gray-200 rounded-lg p-4 shadow-sm">
|
113 |
+
<h3 class="font-medium text-gray-700 mb-3">Uren per medewerker</h3>
|
114 |
+
<div class="h-64">
|
115 |
+
<canvas id="hoursChart"></canvas>
|
116 |
+
</div>
|
117 |
+
</div>
|
118 |
+
<div class="bg-white border border-gray-200 rounded-lg p-4 shadow-sm">
|
119 |
+
<h3 class="font-medium text-gray-700 mb-3">Bezetting tankstations</h3>
|
120 |
+
<div class="h-64">
|
121 |
+
<canvas id="occupancyChart"></canvas>
|
122 |
+
</div>
|
123 |
+
</div>
|
124 |
+
</div>
|
125 |
+
|
126 |
+
<!-- Open Shifts -->
|
127 |
+
<div class="bg-white border border-gray-200 rounded-lg p-4 shadow-sm">
|
128 |
+
<h3 class="font-medium text-gray-700 mb-3">Open shiften</h3>
|
129 |
+
<div class="overflow-x-auto">
|
130 |
+
<table class="min-w-full divide-y divide-gray-200">
|
131 |
+
<thead class="bg-gray-50">
|
132 |
+
<tr>
|
133 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Datum</th>
|
134 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Tankstation</th>
|
135 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Shift</th>
|
136 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actie</th>
|
137 |
+
</tr>
|
138 |
+
</thead>
|
139 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
140 |
+
<tr>
|
141 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Ma 12 Jun</td>
|
142 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Shell Rotterdam Centrum</td>
|
143 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">08:00 - 16:00 (8u)</td>
|
144 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
|
145 |
+
<button class="text-blue-600 hover:text-blue-900">Toewijzen</button>
|
146 |
+
</td>
|
147 |
+
</tr>
|
148 |
+
<tr>
|
149 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Di 13 Jun</td>
|
150 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">BP Amsterdam West</td>
|
151 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">14:00 - 22:00 (8u)</td>
|
152 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
|
153 |
+
<button class="text-blue-600 hover:text-blue-900">Toewijzen</button>
|
154 |
+
</td>
|
155 |
+
</tr>
|
156 |
+
</tbody>
|
157 |
+
</table>
|
158 |
+
</div>
|
159 |
+
</div>
|
160 |
+
</div>
|
161 |
+
|
162 |
+
<!-- Planning View (Default visible) -->
|
163 |
+
<div id="planningView">
|
164 |
+
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-6">
|
165 |
+
<div class="mb-4 md:mb-0">
|
166 |
+
<h2 class="text-xl font-semibold text-gray-800">Weekplanning</h2>
|
167 |
+
<p class="text-gray-600">Week 24 - 12 t/m 18 juni 2023</p>
|
168 |
+
</div>
|
169 |
+
<div class="flex space-x-2">
|
170 |
+
<button class="px-3 py-1 bg-white border border-gray-300 text-gray-600 rounded-md hover:bg-gray-100">
|
171 |
+
<i class="fas fa-chevron-left mr-1"></i>Vorige
|
172 |
+
</button>
|
173 |
+
<button class="px-3 py-1 bg-blue-600 text-white rounded-md hover:bg-blue-700">
|
174 |
+
Deze week
|
175 |
+
</button>
|
176 |
+
<button class="px-3 py-1 bg-white border border-gray-300 text-gray-600 rounded-md hover:bg-gray-100">
|
177 |
+
Volgende<i class="fas fa-chevron-right ml-1"></i>
|
178 |
+
</button>
|
179 |
+
<button id="addShiftBtn" class="px-3 py-1 bg-green-600 text-white rounded-md hover:bg-green-700">
|
180 |
+
<i class="fas fa-plus mr-1"></i>Shift
|
181 |
+
</button>
|
182 |
+
</div>
|
183 |
+
</div>
|
184 |
+
|
185 |
+
<!-- Week Navigation Mobile -->
|
186 |
+
<div class="md:hidden bg-white rounded-lg shadow-sm p-3 mb-4">
|
187 |
+
<div class="flex justify-between items-center">
|
188 |
+
<button class="p-2 rounded-full hover:bg-gray-100">
|
189 |
+
<i class="fas fa-chevron-left text-gray-600"></i>
|
190 |
+
</button>
|
191 |
+
<span class="text-sm font-medium">12 - 18 juni</span>
|
192 |
+
<button class="p-2 rounded-full hover:bg-gray-100">
|
193 |
+
<i class="fas fa-chevron-right text-gray-600"></i>
|
194 |
+
</button>
|
195 |
+
</div>
|
196 |
+
</div>
|
197 |
+
|
198 |
+
<!-- Planning Grid -->
|
199 |
+
<div class="bg-white rounded-lg shadow-md overflow-hidden mb-6">
|
200 |
+
<div class="mobile-scroll">
|
201 |
+
<div class="min-w-full">
|
202 |
+
<!-- Header Row -->
|
203 |
+
<div class="grid grid-cols-1 md:grid-cols-8 border-b border-gray-200">
|
204 |
+
<div class="hidden md:block md:col-span-1 p-3 bg-gray-50 font-medium text-gray-500">
|
205 |
+
Medewerkers
|
206 |
+
</div>
|
207 |
+
<div class="md:col-span-1 p-3 bg-blue-50 border-l border-gray-200 text-center font-medium text-blue-700">
|
208 |
+
Ma 12/6
|
209 |
+
</div>
|
210 |
+
<div class="md:col-span-1 p-3 bg-blue-50 border-l border-gray-200 text-center font-medium text-blue-700">
|
211 |
+
Di 13/6
|
212 |
+
</div>
|
213 |
+
<div class="md:col-span-1 p-3 bg-blue-50 border-l border-gray-200 text-center font-medium text-blue-700">
|
214 |
+
Wo 14/6
|
215 |
+
</div>
|
216 |
+
<div class="md:col-span-1 p-3 bg-blue-50 border-l border-gray-200 text-center font-medium text-blue-700">
|
217 |
+
Do 15/6
|
218 |
+
</div>
|
219 |
+
<div class="md:col-span-1 p-3 bg-blue-50 border-l border-gray-200 text-center font-medium text-blue-700">
|
220 |
+
Vr 16/6
|
221 |
+
</div>
|
222 |
+
<div class="md:col-span-1 p-3 bg-blue-50 border-l border-gray-200 text-center font-medium text-blue-700">
|
223 |
+
Za 17/6
|
224 |
+
</div>
|
225 |
+
<div class="md:col-span-1 p-3 bg-blue-50 border-l border-gray-200 text-center font-medium text-blue-700">
|
226 |
+
Zo 18/6
|
227 |
+
</div>
|
228 |
+
</div>
|
229 |
+
|
230 |
+
<!-- Employee Rows -->
|
231 |
+
<div id="planningGrid" class="divide-y divide-gray-200">
|
232 |
+
<!-- Employee 1 -->
|
233 |
+
<div class="grid grid-cols-1 md:grid-cols-8">
|
234 |
+
<div class="md:col-span-1 p-3 bg-gray-50 border-r border-gray-200 flex items-center">
|
235 |
+
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-600 font-medium mr-3">JD</div>
|
236 |
+
<div>
|
237 |
+
<p class="font-medium text-gray-800">Jan de Vries</p>
|
238 |
+
<p class="text-xs text-gray-500">32u deze week</p>
|
239 |
+
</div>
|
240 |
+
</div>
|
241 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="ma">
|
242 |
+
<div class="draggable shift-card bg-green-100 border border-green-200 rounded p-2 mb-2" data-employee="1" data-shift="1">
|
243 |
+
<div class="flex justify-between items-start">
|
244 |
+
<div>
|
245 |
+
<p class="font-medium text-green-800">Shell Rotterdam</p>
|
246 |
+
<p class="text-xs text-green-600">08:00 - 16:00</p>
|
247 |
+
</div>
|
248 |
+
<button class="text-green-600 hover:text-green-800 text-xs">
|
249 |
+
<i class="fas fa-times"></i>
|
250 |
+
</button>
|
251 |
+
</div>
|
252 |
+
</div>
|
253 |
+
</div>
|
254 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="di"></div>
|
255 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="wo">
|
256 |
+
<div class="draggable shift-card bg-green-100 border border-green-200 rounded p-2 mb-2" data-employee="1" data-shift="2">
|
257 |
+
<div class="flex justify-between items-start">
|
258 |
+
<div>
|
259 |
+
<p class="font-medium text-green-800">BP Amsterdam</p>
|
260 |
+
<p class="text-xs text-green-600">14:00 - 22:00</p>
|
261 |
+
</div>
|
262 |
+
<button class="text-green-600 hover:text-green-800 text-xs">
|
263 |
+
<i class="fas fa-times"></i>
|
264 |
+
</button>
|
265 |
+
</div>
|
266 |
+
</div>
|
267 |
+
</div>
|
268 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="do"></div>
|
269 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="vr"></div>
|
270 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="za"></div>
|
271 |
+
<div class="md:col-span-1 p-3 dropzone" data-day="zo"></div>
|
272 |
+
</div>
|
273 |
+
|
274 |
+
<!-- Employee 2 -->
|
275 |
+
<div class="grid grid-cols-1 md:grid-cols-8">
|
276 |
+
<div class="md:col-span-1 p-3 bg-gray-50 border-r border-gray-200 flex items-center">
|
277 |
+
<div class="w-8 h-8 rounded-full bg-purple-100 flex items-center justify-center text-purple-600 font-medium mr-3">MS</div>
|
278 |
+
<div>
|
279 |
+
<p class="font-medium text-gray-800">Marie Stevens</p>
|
280 |
+
<p class="text-xs text-gray-500">24u deze week</p>
|
281 |
+
</div>
|
282 |
+
</div>
|
283 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="ma"></div>
|
284 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="di">
|
285 |
+
<div class="draggable shift-card bg-purple-100 border border-purple-200 rounded p-2 mb-2" data-employee="2" data-shift="3">
|
286 |
+
<div class="flex justify-between items-start">
|
287 |
+
<div>
|
288 |
+
<p class="font-medium text-purple-800">Esso Den Haag</p>
|
289 |
+
<p class="text-xs text-purple-600">09:00 - 17:00</p>
|
290 |
+
</div>
|
291 |
+
<button class="text-purple-600 hover:text-purple-800 text-xs">
|
292 |
+
<i class="fas fa-times"></i>
|
293 |
+
</button>
|
294 |
+
</div>
|
295 |
+
</div>
|
296 |
+
</div>
|
297 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="wo"></div>
|
298 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="do">
|
299 |
+
<div class="draggable shift-card bg-purple-100 border border-purple-200 rounded p-2 mb-2" data-employee="2" data-shift="4">
|
300 |
+
<div class="flex justify-between items-start">
|
301 |
+
<div>
|
302 |
+
<p class="font-medium text-purple-800">Shell Utrecht</p>
|
303 |
+
<p class="text-xs text-purple-600">10:00 - 18:00</p>
|
304 |
+
</div>
|
305 |
+
<button class="text-purple-600 hover:text-purple-800 text-xs">
|
306 |
+
<i class="fas fa-times"></i>
|
307 |
+
</button>
|
308 |
+
</div>
|
309 |
+
</div>
|
310 |
+
</div>
|
311 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="vr"></div>
|
312 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="za"></div>
|
313 |
+
<div class="md:col-span-1 p-3 dropzone" data-day="zo"></div>
|
314 |
+
</div>
|
315 |
+
|
316 |
+
<!-- Employee 3 -->
|
317 |
+
<div class="grid grid-cols-1 md:grid-cols-8">
|
318 |
+
<div class="md:col-span-1 p-3 bg-gray-50 border-r border-gray-200 flex items-center">
|
319 |
+
<div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 font-medium mr-3">PV</div>
|
320 |
+
<div>
|
321 |
+
<p class="font-medium text-gray-800">Peter van Dijk</p>
|
322 |
+
<p class="text-xs text-gray-500">40u deze week</p>
|
323 |
+
</div>
|
324 |
+
</div>
|
325 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="ma">
|
326 |
+
<div class="draggable shift-card bg-yellow-100 border border-yellow-200 rounded p-2 mb-2" data-employee="3" data-shift="5">
|
327 |
+
<div class="flex justify-between items-start">
|
328 |
+
<div>
|
329 |
+
<p class="font-medium text-yellow-800">Total Eindhoven</p>
|
330 |
+
<p class="text-xs text-yellow-600">07:00 - 15:00</p>
|
331 |
+
</div>
|
332 |
+
<button class="text-yellow-600 hover:text-yellow-800 text-xs">
|
333 |
+
<i class="fas fa-times"></i>
|
334 |
+
</button>
|
335 |
+
</div>
|
336 |
+
</div>
|
337 |
+
</div>
|
338 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="di">
|
339 |
+
<div class="draggable shift-card bg-yellow-100 border border-yellow-200 rounded p-2 mb-2" data-employee="3" data-shift="6">
|
340 |
+
<div class="flex justify-between items-start">
|
341 |
+
<div>
|
342 |
+
<p class="font-medium text-yellow-800">BP Rotterdam</p>
|
343 |
+
<p class="text-xs text-yellow-600">15:00 - 23:00</p>
|
344 |
+
</div>
|
345 |
+
<button class="text-yellow-600 hover:text-yellow-800 text-xs">
|
346 |
+
<i class="fas fa-times"></i>
|
347 |
+
</button>
|
348 |
+
</div>
|
349 |
+
</div>
|
350 |
+
</div>
|
351 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="wo">
|
352 |
+
<div class="draggable shift-card bg-yellow-100 border border-yellow-200 rounded p-2 mb-2" data-employee="3" data-shift="7">
|
353 |
+
<div class="flex justify-between items-start">
|
354 |
+
<div>
|
355 |
+
<p class="font-medium text-yellow-800">Shell Amsterdam</p>
|
356 |
+
<p class="text-xs text-yellow-600">08:00 - 16:00</p>
|
357 |
+
</div>
|
358 |
+
<button class="text-yellow-600 hover:text-yellow-800 text-xs">
|
359 |
+
<i class="fas fa-times"></i>
|
360 |
+
</button>
|
361 |
+
</div>
|
362 |
+
</div>
|
363 |
+
</div>
|
364 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="do">
|
365 |
+
<div class="draggable shift-card bg-yellow-100 border border-yellow-200 rounded p-2 mb-2" data-employee="3" data-shift="8">
|
366 |
+
<div class="flex justify-between items-start">
|
367 |
+
<div>
|
368 |
+
<p class="font-medium text-yellow-800">Esso Utrecht</p>
|
369 |
+
<p class="text-xs text-yellow-600">12:00 - 20:00</p>
|
370 |
+
</div>
|
371 |
+
<button class="text-yellow-600 hover:text-yellow-800 text-xs">
|
372 |
+
<i class="fas fa-times"></i>
|
373 |
+
</button>
|
374 |
+
</div>
|
375 |
+
</div>
|
376 |
+
</div>
|
377 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="vr">
|
378 |
+
<div class="draggable shift-card bg-yellow-100 border border-yellow-200 rounded p-2 mb-2" data-employee="3" data-shift="9">
|
379 |
+
<div class="flex justify-between items-start">
|
380 |
+
<div>
|
381 |
+
<p class="font-medium text-yellow-800">BP Den Haag</p>
|
382 |
+
<p class="text-xs text-yellow-600">09:00 - 17:00</p>
|
383 |
+
</div>
|
384 |
+
<button class="text-yellow-600 hover:text-yellow-800 text-xs">
|
385 |
+
<i class="fas fa-times"></i>
|
386 |
+
</button>
|
387 |
+
</div>
|
388 |
+
</div>
|
389 |
+
</div>
|
390 |
+
<div class="md:col-span-1 p-3 border-r border-gray-200 dropzone" data-day="za"></div>
|
391 |
+
<div class="md:col-span-1 p-3 dropzone" data-day="zo"></div>
|
392 |
+
</div>
|
393 |
+
</div>
|
394 |
+
</div>
|
395 |
+
</div>
|
396 |
+
</div>
|
397 |
+
|
398 |
+
<!-- Available Employees -->
|
399 |
+
<div class="bg-white rounded-lg shadow-md p-4 mb-6">
|
400 |
+
<h3 class="font-medium text-gray-700 mb-3">Beschikbare medewerkers</h3>
|
401 |
+
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3">
|
402 |
+
<div class="draggable bg-gray-100 border border-gray-200 rounded p-3 flex items-center" data-employee="4">
|
403 |
+
<div class="w-8 h-8 rounded-full bg-red-100 flex items-center justify-center text-red-600 font-medium mr-3">AK</div>
|
404 |
+
<div>
|
405 |
+
<p class="font-medium text-gray-800">Anna Klaassen</p>
|
406 |
+
<p class="text-xs text-gray-500">Niet ingepland</p>
|
407 |
+
</div>
|
408 |
+
</div>
|
409 |
+
<div class="draggable bg-gray-100 border border-gray-200 rounded p-3 flex items-center" data-employee="5">
|
410 |
+
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-600 font-medium mr-3">TB</div>
|
411 |
+
<div>
|
412 |
+
<p class="font-medium text-gray-800">Thomas Bakker</p>
|
413 |
+
<p class="text-xs text-gray-500">Niet ingepland</p>
|
414 |
+
</div>
|
415 |
+
</div>
|
416 |
+
<div class="draggable bg-gray-100 border border-gray-200 rounded p-3 flex items-center" data-employee="6">
|
417 |
+
<div class="w-8 h-8 rounded-full bg-pink-100 flex items-center justify-center text-pink-600 font-medium mr-3">LS</div>
|
418 |
+
<div>
|
419 |
+
<p class="font-medium text-gray-800">Lisa Smit</p>
|
420 |
+
<p class="text-xs text-gray-500">Niet ingepland</p>
|
421 |
+
</div>
|
422 |
+
</div>
|
423 |
+
<div class="draggable bg-gray-100 border border-gray-200 rounded p-3 flex items-center" data-employee="7">
|
424 |
+
<div class="w-8 h-8 rounded-full bg-teal-100 flex items-center justify-center text-teal-600 font-medium mr-3">MV</div>
|
425 |
+
<div>
|
426 |
+
<p class="font-medium text-gray-800">Mark Visser</p>
|
427 |
+
<p class="text-xs text-gray-500">Niet ingepland</p>
|
428 |
+
</div>
|
429 |
+
</div>
|
430 |
+
</div>
|
431 |
+
</div>
|
432 |
+
</div>
|
433 |
+
|
434 |
+
<!-- Settings View (Hidden by default) -->
|
435 |
+
<div id="settingsView" class="hidden bg-white rounded-lg shadow-md p-6">
|
436 |
+
<h2 class="text-xl font-semibold text-gray-800 mb-6">Instellingen</h2>
|
437 |
+
|
438 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
|
439 |
+
<!-- Tankstations -->
|
440 |
+
<div class="bg-gray-50 rounded-lg p-4">
|
441 |
+
<h3 class="font-medium text-gray-700 mb-3 flex justify-between items-center">
|
442 |
+
<span>Tankstations</span>
|
443 |
+
<button class="text-blue-600 hover:text-blue-800 text-sm font-normal">
|
444 |
+
<i class="fas fa-plus mr-1"></i>Toevoegen
|
445 |
+
</button>
|
446 |
+
</h3>
|
447 |
+
<div class="space-y-2">
|
448 |
+
<div class="flex justify-between items-center bg-white p-2 rounded border border-gray-200">
|
449 |
+
<div>
|
450 |
+
<p class="font-medium">Shell Rotterdam Centrum</p>
|
451 |
+
<p class="text-xs text-gray-500">Kruisplein 45, Rotterdam</p>
|
452 |
+
</div>
|
453 |
+
<button class="text-gray-400 hover:text-gray-600">
|
454 |
+
<i class="fas fa-ellipsis-v"></i>
|
455 |
+
</button>
|
456 |
+
</div>
|
457 |
+
<div class="flex justify-between items-center bg-white p-2 rounded border border-gray-200">
|
458 |
+
<div>
|
459 |
+
<p class="font-medium">BP Amsterdam West</p>
|
460 |
+
<p class="text-xs text-gray-500">Jan van Galenstraat 100, Amsterdam</p>
|
461 |
+
</div>
|
462 |
+
<button class="text-gray-400 hover:text-gray-600">
|
463 |
+
<i class="fas fa-ellipsis-v"></i>
|
464 |
+
</button>
|
465 |
+
</div>
|
466 |
+
<div class="flex justify-between items-center bg-white p-2 rounded border border-gray-200">
|
467 |
+
<div>
|
468 |
+
<p class="font-medium">Esso Den Haag Centrum</p>
|
469 |
+
<p class="text-xs text-gray-500">Koninginnegracht 15, Den Haag</p>
|
470 |
+
</div>
|
471 |
+
<button class="text-gray-400 hover:text-gray-600">
|
472 |
+
<i class="fas fa-ellipsis-v"></i>
|
473 |
+
</button>
|
474 |
+
</div>
|
475 |
+
</div>
|
476 |
+
</div>
|
477 |
+
|
478 |
+
<!-- Medewerkers -->
|
479 |
+
<div class="bg-gray-50 rounded-lg p-4">
|
480 |
+
<h3 class="font-medium text-gray-700 mb-3 flex justify-between items-center">
|
481 |
+
<span>Medewerkers</span>
|
482 |
+
<button class="text-blue-600 hover:text-blue-800 text-sm font-normal">
|
483 |
+
<i class="fas fa-plus mr-1"></i>Toevoegen
|
484 |
+
</button>
|
485 |
+
</h3>
|
486 |
+
<div class="space-y-2">
|
487 |
+
<div class="flex justify-between items-center bg-white p-2 rounded border border-gray-200">
|
488 |
+
<div class="flex items-center">
|
489 |
+
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-600 font-medium mr-2">JD</div>
|
490 |
+
<div>
|
491 |
+
<p class="font-medium">Jan de Vries</p>
|
492 |
+
<p class="text-xs text-gray-500">32u/week</p>
|
493 |
+
</div>
|
494 |
+
</div>
|
495 |
+
<button class="text-gray-400 hover:text-gray-600">
|
496 |
+
<i class="fas fa-ellipsis-v"></i>
|
497 |
+
</button>
|
498 |
+
</div>
|
499 |
+
<div class="flex justify-between items-center bg-white p-2 rounded border border-gray-200">
|
500 |
+
<div class="flex items-center">
|
501 |
+
<div class="w-8 h-8 rounded-full bg-purple-100 flex items-center justify-center text-purple-600 font-medium mr-2">MS</div>
|
502 |
+
<div>
|
503 |
+
<p class="font-medium">Marie Stevens</p>
|
504 |
+
<p class="text-xs text-gray-500">24u/week</p>
|
505 |
+
</div>
|
506 |
+
</div>
|
507 |
+
<button class="text-gray-400 hover:text-gray-600">
|
508 |
+
<i class="fas fa-ellipsis-v"></i>
|
509 |
+
</button>
|
510 |
+
</div>
|
511 |
+
<div class="flex justify-between items-center bg-white p-2 rounded border border-gray-200">
|
512 |
+
<div class="flex items-center">
|
513 |
+
<div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 font-medium mr-2">PV</div>
|
514 |
+
<div>
|
515 |
+
<p class="font-medium">Peter van Dijk</p>
|
516 |
+
<p class="text-xs text-gray-500">40u/week</p>
|
517 |
+
</div>
|
518 |
+
</div>
|
519 |
+
<button class="text-gray-400 hover:text-gray-600">
|
520 |
+
<i class="fas fa-ellipsis-v"></i>
|
521 |
+
</button>
|
522 |
+
</div>
|
523 |
+
</div>
|
524 |
+
</div>
|
525 |
+
</div>
|
526 |
+
|
527 |
+
<!-- Shift Templates -->
|
528 |
+
<div class="bg-gray-50 rounded-lg p-4 mb-8">
|
529 |
+
<h3 class="font-medium text-gray-700 mb-3 flex justify-between items-center">
|
530 |
+
<span>Shift sjablonen</span>
|
531 |
+
<button class="text-blue-600 hover:text-blue-800 text-sm font-normal">
|
532 |
+
<i class="fas fa-plus mr-1"></i>Toevoegen
|
533 |
+
</button>
|
534 |
+
</h3>
|
535 |
+
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3">
|
536 |
+
<div class="bg-white p-3 rounded border border-gray-200">
|
537 |
+
<p class="font-medium">Ochtendshift</p>
|
538 |
+
<p class="text-sm text-gray-600">07:00 - 15:00</p>
|
539 |
+
</div>
|
540 |
+
<div class="bg-white p-3 rounded border border-gray-200">
|
541 |
+
<p class="font-medium">Middagshift</p>
|
542 |
+
<p class="text-sm text-gray-600">15:00 - 23:00</p>
|
543 |
+
</div>
|
544 |
+
<div class="bg-white p-3 rounded border border-gray-200">
|
545 |
+
<p class="font-medium">Volle dag</p>
|
546 |
+
<p class="text-sm text-gray-600">08:00 - 17:00</p>
|
547 |
+
</div>
|
548 |
+
<div class="bg-white p-3 rounded border border-gray-200">
|
549 |
+
<p class="font-medium">Weekend</p>
|
550 |
+
<p class="text-sm text-gray-600">09:00 - 18:00</p>
|
551 |
+
</div>
|
552 |
+
</div>
|
553 |
+
</div>
|
554 |
+
|
555 |
+
<!-- Export Options -->
|
556 |
+
<div>
|
557 |
+
<h3 class="font-medium text-gray-700 mb-3">Exporteer opties</h3>
|
558 |
+
<div class="flex flex-wrap gap-3">
|
559 |
+
<button class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700 flex items-center">
|
560 |
+
<i class="fas fa-file-pdf mr-2"></i> PDF Export
|
561 |
+
</button>
|
562 |
+
<button class="px-4 py-2 bg-green-600 text-white rounded-md hover:bg-green-700 flex items-center">
|
563 |
+
<i class="fas fa-file-excel mr-2"></i> Excel Export
|
564 |
+
</button>
|
565 |
+
<button class="px-4 py-2 bg-gray-600 text-white rounded-md hover:bg-gray-700 flex items-center">
|
566 |
+
<i class="fas fa-file-csv mr-2"></i> CSV Export
|
567 |
+
</button>
|
568 |
+
</div>
|
569 |
+
</div>
|
570 |
+
</div>
|
571 |
+
</main>
|
572 |
+
|
573 |
+
<!-- Add Shift Modal -->
|
574 |
+
<div id="addShiftModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
|
575 |
+
<div class="bg-white rounded-lg shadow-xl w-full max-w-md mx-4">
|
576 |
+
<div class="flex justify-between items-center border-b border-gray-200 p-4">
|
577 |
+
<h3 class="text-lg font-medium text-gray-900">Nieuwe shift toevoegen</h3>
|
578 |
+
<button id="closeModalBtn" class="text-gray-400 hover:text-gray-500">
|
579 |
+
<i class="fas fa-times"></i>
|
580 |
+
</button>
|
581 |
+
</div>
|
582 |
+
<div class="p-4">
|
583 |
+
<form>
|
584 |
+
<div class="mb-4">
|
585 |
+
<label for="stationSelect" class="block text-sm font-medium text-gray-700 mb-1">Tankstation</label>
|
586 |
+
<select id="stationSelect" class="w-full border border-gray-300 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
|
587 |
+
<option value="">Selecteer tankstation</option>
|
588 |
+
<option value="1">Shell Rotterdam Centrum</option>
|
589 |
+
<option value="2">BP Amsterdam West</option>
|
590 |
+
<option value="3">Esso Den Haag Centrum</option>
|
591 |
+
<option value="4">Shell Utrecht</option>
|
592 |
+
<option value="5">BP Rotterdam</option>
|
593 |
+
</select>
|
594 |
+
</div>
|
595 |
+
<div class="mb-4">
|
596 |
+
<label for="employeeSelect" class="block text-sm font-medium text-gray-700 mb-1">Medewerker</label>
|
597 |
+
<select id="employeeSelect" class="w-full border border-gray-300 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
|
598 |
+
<option value="">Selecteer medewerker</option>
|
599 |
+
<option value="1">Jan de Vries</option>
|
600 |
+
<option value="2">Marie Stevens</option>
|
601 |
+
<option value="3">Peter van Dijk</option>
|
602 |
+
<option value="4">Anna Klaassen</option>
|
603 |
+
<option value="5">Thomas Bakker</option>
|
604 |
+
</select>
|
605 |
+
</div>
|
606 |
+
<div class="grid grid-cols-2 gap-4 mb-4">
|
607 |
+
<div>
|
608 |
+
<label for="shiftDate" class="block text-sm font-medium text-gray-700 mb-1">Datum</label>
|
609 |
+
<input type="date" id="shiftDate" class="w-full border border-gray-300 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
|
610 |
+
</div>
|
611 |
+
<div>
|
612 |
+
<label for="shiftTemplate" class="block text-sm font-medium text-gray-700 mb-1">Shift sjabloon</label>
|
613 |
+
<select id="shiftTemplate" class="w-full border border-gray-300 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
|
614 |
+
<option value="">Aangepast</option>
|
615 |
+
<option value="1">Ochtendshift (07:00-15:00)</option>
|
616 |
+
<option value="2">Middagshift (15:00-23:00)</option>
|
617 |
+
<option value="3">Volle dag (08:00-17:00)</option>
|
618 |
+
</select>
|
619 |
+
</div>
|
620 |
+
</div>
|
621 |
+
<div class="grid grid-cols-2 gap-4 mb-6">
|
622 |
+
<div>
|
623 |
+
<label for="startTime" class="block text-sm font-medium text-gray-700 mb-1">Starttijd</label>
|
624 |
+
<input type="time" id="startTime" class="w-full border border-gray-300 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
|
625 |
+
</div>
|
626 |
+
<div>
|
627 |
+
<label for="endTime" class="block text-sm font-medium text-gray-700 mb-1">Eindtijd</label>
|
628 |
+
<input type="time" id="endTime" class="w-full border border-gray-300 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
|
629 |
+
</div>
|
630 |
+
</div>
|
631 |
+
<div class="flex justify-end space-x-3">
|
632 |
+
<button type="button" id="cancelShiftBtn" class="px-4 py-2 border border-gray-300 rounded-md text-gray-700 hover:bg-gray-50">
|
633 |
+
Annuleren
|
634 |
+
</button>
|
635 |
+
<button type="button" id="saveShiftBtn" class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700">
|
636 |
+
Opslaan
|
637 |
+
</button>
|
638 |
+
</div>
|
639 |
+
</form>
|
640 |
+
</div>
|
641 |
+
</div>
|
642 |
+
</div>
|
643 |
+
</div>
|
644 |
+
|
645 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
646 |
+
<script>
|
647 |
+
// View Toggle
|
648 |
+
document.getElementById('dashboardBtn').addEventListener('click', function() {
|
649 |
+
document.getElementById('dashboardView').classList.remove('hidden');
|
650 |
+
document.getElementById('planningView').classList.add('hidden');
|
651 |
+
document.getElementById('settingsView').classList.add('hidden');
|
652 |
+
this.classList.remove('bg-white', 'border', 'border-blue-600', 'text-blue-600');
|
653 |
+
this.classList.add('bg-blue-600', 'text-white');
|
654 |
+
document.getElementById('planningBtn').classList.remove('bg-blue-600', 'text-white');
|
655 |
+
document.getElementById('planningBtn').classList.add('bg-white', 'border', 'border-blue-600', 'text-blue-600');
|
656 |
+
document.getElementById('settingsBtn').classList.remove('bg-blue-600', 'text-white');
|
657 |
+
document.getElementById('settingsBtn').classList.add('bg-white', 'border', 'border-gray-300', 'text-gray-600');
|
658 |
+
|
659 |
+
// Initialize charts if not already done
|
660 |
+
if (!window.chartsInitialized) {
|
661 |
+
initCharts();
|
662 |
+
window.chartsInitialized = true;
|
663 |
+
}
|
664 |
+
});
|
665 |
+
|
666 |
+
document.getElementById('planningBtn').addEventListener('click', function() {
|
667 |
+
document.getElementById('dashboardView').classList.add('hidden');
|
668 |
+
document.getElementById('planningView').classList.remove('hidden');
|
669 |
+
document.getElementById('settingsView').classList.add('hidden');
|
670 |
+
this.classList.remove('bg-white', 'border', 'border-blue-600', 'text-blue-600');
|
671 |
+
this.classList.add('bg-blue-600', 'text-white');
|
672 |
+
document.getElementById('dashboardBtn').classList.remove('bg-blue-600', 'text-white');
|
673 |
+
document.getElementById('dashboardBtn').classList.add('bg-white', 'border', 'border-blue-600', 'text-blue-600');
|
674 |
+
document.getElementById('settingsBtn').classList.remove('bg-blue-600', 'text-white');
|
675 |
+
document.getElementById('settingsBtn').classList.add('bg-white', 'border', 'border-gray-300', 'text-gray-600');
|
676 |
+
});
|
677 |
+
|
678 |
+
document.getElementById('settingsBtn').addEventListener('click', function() {
|
679 |
+
document.getElementById('dashboardView').classList.add('hidden');
|
680 |
+
document.getElementById('planningView').classList.add('hidden');
|
681 |
+
document.getElementById('settingsView').classList.remove('hidden');
|
682 |
+
this.classList.remove('bg-white', 'border', 'border-gray-300', 'text-gray-600');
|
683 |
+
this.classList.add('bg-blue-600', 'text-white');
|
684 |
+
document.getElementById('dashboardBtn').classList.remove('bg-blue-600', 'text-white');
|
685 |
+
document.getElementById('dashboardBtn').classList.add('bg-white', 'border', 'border-blue-600', 'text-blue-600');
|
686 |
+
document.getElementById('planningBtn').classList.remove('bg-blue-600', 'text-white');
|
687 |
+
document.getElementById('planningBtn').classList.add('bg-white', 'border', 'border-gray-300', 'text-gray-600');
|
688 |
+
});
|
689 |
+
|
690 |
+
// Shift Modal
|
691 |
+
document.getElementById('addShiftBtn').addEventListener('click', function() {
|
692 |
+
document.getElementById('addShiftModal').classList.remove('hidden');
|
693 |
+
});
|
694 |
+
|
695 |
+
document.getElementById('closeModalBtn').addEventListener('click', function() {
|
696 |
+
document.getElementById('addShiftModal').classList.add('hidden');
|
697 |
+
});
|
698 |
+
|
699 |
+
document.getElementById('cancelShiftBtn').addEventListener('click', function() {
|
700 |
+
document.getElementById('addShiftModal').classList.add('hidden');
|
701 |
+
});
|
702 |
+
|
703 |
+
document.getElementById('saveShiftBtn').addEventListener('click', function() {
|
704 |
+
// In a real app, you would save the shift here
|
705 |
+
alert('Shift opgeslagen!');
|
706 |
+
document.getElementById('addShiftModal').classList.add('hidden');
|
707 |
+
});
|
708 |
+
|
709 |
+
// Shift template selection
|
710 |
+
document.getElementById('shiftTemplate').addEventListener('change', function() {
|
711 |
+
const template = this.value;
|
712 |
+
if (template === '1') {
|
713 |
+
document.getElementById('startTime').value = '07:00';
|
714 |
+
document.getElementById('endTime').value = '15:00';
|
715 |
+
} else if (template === '2') {
|
716 |
+
document.getElementById('startTime').value = '15:00';
|
717 |
+
document.getElementById('endTime').value = '23:00';
|
718 |
+
} else if (template === '3') {
|
719 |
+
document.getElementById('startTime').value = '08:00';
|
720 |
+
document.getElementById('endTime').value = '17:00';
|
721 |
+
}
|
722 |
+
});
|
723 |
+
|
724 |
+
// Drag and Drop functionality
|
725 |
+
function setupDragAndDrop() {
|
726 |
+
const draggables = document.querySelectorAll('.draggable');
|
727 |
+
const dropzones = document.querySelectorAll('.dropzone');
|
728 |
+
|
729 |
+
draggables.forEach(draggable => {
|
730 |
+
draggable.addEventListener('dragstart', () => {
|
731 |
+
draggable.classList.add('opacity-50');
|
732 |
+
});
|
733 |
+
|
734 |
+
draggable.addEventListener('dragend', () => {
|
735 |
+
draggable.classList.remove('opacity-50');
|
736 |
+
});
|
737 |
+
});
|
738 |
+
|
739 |
+
dropzones.forEach(dropzone => {
|
740 |
+
dropzone.addEventListener('dragover', e => {
|
741 |
+
e.preventDefault();
|
742 |
+
dropzone.classList.add('highlight');
|
743 |
+
});
|
744 |
+
|
745 |
+
dropzone.addEventListener('dragleave', () => {
|
746 |
+
dropzone.classList.remove('highlight');
|
747 |
+
});
|
748 |
+
|
749 |
+
dropzone.addEventListener('drop', e => {
|
750 |
+
e.preventDefault();
|
751 |
+
dropzone.classList.remove('highlight');
|
752 |
+
|
753 |
+
const draggableId = e.dataTransfer.getData('text/plain');
|
754 |
+
const draggable = document.getElementById(draggableId);
|
755 |
+
|
756 |
+
if (draggable) {
|
757 |
+
dropzone.appendChild(draggable);
|
758 |
+
|
759 |
+
// Check for conflicts
|
760 |
+
checkForConflicts();
|
761 |
+
}
|
762 |
+
});
|
763 |
+
});
|
764 |
+
}
|
765 |
+
|
766 |
+
// Initialize drag and drop
|
767 |
+
setupDragAndDrop();
|
768 |
+
|
769 |
+
// Check for scheduling conflicts
|
770 |
+
function checkForConflicts() {
|
771 |
+
// In a real app, this would check for double bookings or overtime
|
772 |
+
console.log('Checking for conflicts...');
|
773 |
+
}
|
774 |
+
|
775 |
+
// Initialize charts
|
776 |
+
function initCharts() {
|
777 |
+
// Hours per employee chart
|
778 |
+
const hoursCtx = document.getElementById('hoursChart').getContext('2d');
|
779 |
+
const hoursChart = new Chart(hoursCtx, {
|
780 |
+
type: 'bar',
|
781 |
+
data: {
|
782 |
+
labels: ['Jan de Vries', 'Marie Stevens', 'Peter van Dijk', 'Anna Klaassen', 'Thomas Bakker'],
|
783 |
+
datasets: [{
|
784 |
+
label: 'Geplande uren deze week',
|
785 |
+
data: [32, 24, 40, 0, 0],
|
786 |
+
backgroundColor: [
|
787 |
+
'rgba(59, 130, 246, 0.7)',
|
788 |
+
'rgba(168, 85, 247, 0.7)',
|
789 |
+
'rgba(234, 179, 8, 0.7)',
|
790 |
+
'rgba(239, 68, 68, 0.7)',
|
791 |
+
'rgba(99, 102, 241, 0.7)'
|
792 |
+
],
|
793 |
+
borderColor: [
|
794 |
+
'rgba(59, 130, 246, 1)',
|
795 |
+
'rgba(168, 85, 247, 1)',
|
796 |
+
'rgba(234, 179, 8, 1)',
|
797 |
+
'rgba(239, 68, 68, 1)',
|
798 |
+
'rgba(99, 102, 241, 1)'
|
799 |
+
],
|
800 |
+
borderWidth: 1
|
801 |
+
}]
|
802 |
+
},
|
803 |
+
options: {
|
804 |
+
responsive: true,
|
805 |
+
maintainAspectRatio: false,
|
806 |
+
scales: {
|
807 |
+
y: {
|
808 |
+
beginAtZero: true,
|
809 |
+
title: {
|
810 |
+
display: true,
|
811 |
+
text: 'Aantal uren'
|
812 |
+
}
|
813 |
+
}
|
814 |
+
}
|
815 |
+
}
|
816 |
+
});
|
817 |
+
|
818 |
+
// Occupancy chart
|
819 |
+
const occupancyCtx = document.getElementById('occupancyChart').getContext('2d');
|
820 |
+
const occupancyChart = new Chart(occupancyCtx, {
|
821 |
+
type: 'doughnut',
|
822 |
+
data: {
|
823 |
+
labels: ['Bezet', 'Open'],
|
824 |
+
datasets: [{
|
825 |
+
data: [85, 15],
|
826 |
+
backgroundColor: [
|
827 |
+
'rgba(16, 185, 129, 0.7)',
|
828 |
+
'rgba(209, 213, 219, 0.7)'
|
829 |
+
],
|
830 |
+
borderColor: [
|
831 |
+
'rgba(16, 185, 129, 1)',
|
832 |
+
'rgba(209, 213, 219, 1)'
|
833 |
+
],
|
834 |
+
borderWidth: 1
|
835 |
+
}]
|
836 |
+
},
|
837 |
+
options: {
|
838 |
+
responsive: true,
|
839 |
+
maintainAspectRatio: false,
|
840 |
+
plugins: {
|
841 |
+
legend: {
|
842 |
+
position: 'bottom',
|
843 |
+
},
|
844 |
+
title: {
|
845 |
+
display: true,
|
846 |
+
text: 'Bezetting tankstations'
|
847 |
+
}
|
848 |
+
}
|
849 |
+
}
|
850 |
+
});
|
851 |
+
}
|
852 |
+
|
853 |
+
// Delete shift buttons
|
854 |
+
document.querySelectorAll('.shift-card button').forEach(button => {
|
855 |
+
button.addEventListener('click', function(e) {
|
856 |
+
e.stopPropagation();
|
857 |
+
if (confirm('Weet u zeker dat u deze shift wilt verwijderen?')) {
|
858 |
+
this.closest('.shift-card').remove();
|
859 |
+
checkForConflicts();
|
860 |
+
}
|
861 |
+
});
|
862 |
+
});
|
863 |
+
|
864 |
+
// Set today's date in the shift modal
|
865 |
+
document.getElementById('shiftDate').valueAsDate = new Date();
|
866 |
+
</script>
|
867 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=jitware/planner" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
868 |
+
</html>
|
prompts.txt
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Doel van de tool: Ontwerp een eenvoudige en digitale planningsoplossing waarmee een brandstofbedrijf dagelijks kan aanduiden welk personeelslid op welk tankstation werkt. De tool moet gebruiksvriendelijk zijn, een helder overzicht bieden, en toegankelijk zijn voor zowel planners als medewerkers – via computer én smartphone. 🧩 Functionaliteiten van het prototype 📅 Voor planners (webinterface): Medewerkers kunnen toegevoegd worden met naam, locatie en beschikbaarheid Nieuwe medewerkers kunnen op elk moment worden toegevoegd aan het systeem en meteen ingepland worden Tankstations kunnen worden ingevoerd met naam, adres en optioneel shift-uren Planners kunnen medewerkers per dag toewijzen aan tankstations via drag-and-drop of dropdown Dag- en weekoverzicht tonen per medewerker en per tankstation Automatische waarschuwing bij dubbele toewijzingen of overschrijding van het aantal uren 📈 Dashboard: Aantal geplande uren per medewerker (per dag, week of maand) Bezetting per tankstation en visueel overzicht van open shiften Exporteerbare rapporten (PDF of Excel) met planningsinfo ⚙️ Technische vereisten: Volledig mobile responsive (ook goed bruikbaar op smartphone) Interface in het Nederlands Simpele en intuïtieve gebruikerservaring, geschikt voor niet-technische gebruikers Kan gebouwd worden in Glide, Bubble, FlutterFlow of als klikbaar Figma-prototype
|
2 |
+
kan je ervoor zorgen dat het inplannen op de kalender effectief werkt
|
3 |
+
kan je ervoor zorgen dat het inplannen op de kalender effectief werkt
|
4 |
+
kan je ervoor zorgen dat het inplannen op de kalender effectief werkt
|
5 |
+
kan je ervoor zorgen dat het inplannen op de kalender effectief werkt
|
6 |
+
kan je ervoor zorgen dat het inplannen op de kalender effectief werkt
|
7 |
+
kan je ervoor zorgen dat het inplannen op de kalender effectief werkt
|
8 |
+
kan je ervoor zorgen dat het inplannen op de kalender effectief werkt
|
9 |
+
kan je ervoor zorgen dat het inplannen op de kalender effectief werkt
|