File size: 18,294 Bytes
191e5e9
 
 
 
 
c5a2f83
191e5e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f034604
191e5e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
<!DOCTYPE html>
<html lang="de">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Dashboard | kohlpharma Vertriebsportal</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <style>
        .sidebar {
            transition: all 0.3s;
        }
        .sidebar-collapsed {
            width: 5rem;
        }
        .sidebar-expanded {
            width: 16rem;
        }
        .main-content {
            transition: margin-left 0.3s;
        }
        .content-expanded {
            margin-left: 16rem;
        }
        .content-collapsed {
            margin-left: 5rem;
        }
    </style>
</head>
<body class="font-sans bg-gray-50">
    <!-- Sidebar -->
    <div class="sidebar sidebar-expanded fixed inset-y-0 left-0 bg-white shadow-lg flex flex-col z-20">
        <div class="flex items-center justify-between p-4 border-b">
            <img class="h-8" src="https://www.kohlpharma.com/wp-content/uploads/logo-kohlpharma.png" alt="Kohlpharma">
            <button id="sidebarToggle" class="text-gray-500 hover:text-gray-700">
                <i data-feather="chevron-left" class="w-5 h-5"></i>
            </button>
        </div>
        <div class="flex-1 overflow-y-auto">
            <nav class="px-2 py-4">
                <div class="space-y-1">
                    <a href="#" class="bg-blue-50 text-blue-600 group flex items-center px-3 py-2 text-sm font-medium rounded-md">
                        <i data-feather="home" class="text-blue-500 mr-3 h-5 w-5"></i>
                        Dashboard
                    </a>
                    <a href="#" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-3 py-2 text-sm font-medium rounded-md">
                        <i data-feather="shopping-cart" class="text-gray-400 group-hover:text-gray-500 mr-3 h-5 w-5"></i>
                        Bestellungen
                    </a>
                    <a href="#" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-3 py-2 text-sm font-medium rounded-md">
                        <i data-feather="package" class="text-gray-400 group-hover:text-gray-500 mr-3 h-5 w-5"></i>
                        Produkte
                    </a>
                    <a href="#" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-3 py-2 text-sm font-medium rounded-md">
                        <i data-feather="file-text" class="text-gray-400 group-hover:text-gray-500 mr-3 h-5 w-5"></i>
                        Rechnungen
                    </a>
                    <a href="#" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-3 py-2 text-sm font-medium rounded-md">
                        <i data-feather="users" class="text-gray-400 group-hover:text-gray-500 mr-3 h-5 w-5"></i>
                        Außendienst
                    </a>
                    <a href="#" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-3 py-2 text-sm font-medium rounded-md">
                        <i data-feather="settings" class="text-gray-400 group-hover:text-gray-500 mr-3 h-5 w-5"></i>
                        Einstellungen
                    </a>
                </div>
                <div class="mt-8">
                    <h3 class="px-3 text-xs font-semibold text-gray-500 uppercase tracking-wider">
                        Support
                    </h3>
                    <div class="mt-1 space-y-1">
                        <a href="#" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-3 py-2 text-sm font-medium rounded-md">
                            <i data-feather="help-circle" class="text-gray-400 group-hover:text-gray-500 mr-3 h-5 w-5"></i>
                            Hilfe-Center
                        </a>
                        <a href="#" class="text-gray-600 hover:bg-gray-50 hover:text-gray-900 group flex items-center px-3 py-2 text-sm font-medium rounded-md">
                            <i data-feather="message-square" class="text-gray-400 group-hover:text-gray-500 mr-3 h-5 w-5"></i>
                            Live-Chat
                        </a>
                    </div>
                </div>
            </nav>
        </div>
        <div class="p-4 border-t">
            <div class="flex items-center">
                <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/5" alt="User">
                <div class="ml-3">
                    <p class="text-sm font-medium text-gray-700">Apotheke Müller</p>
                    <p class="text-xs text-gray-500">Kundennr: APO-12345</p>
                </div>
            </div>
        </div>
    </div>

    <!-- Main Content -->
    <div class="main-content content-expanded">
        <!-- Top Navigation -->
        <header class="bg-white shadow-sm">
            <div class="max-w-full mx-auto px-4 sm:px-6 lg:px-8 py-4 flex justify-between items-center">
                <h1 class="text-xl font-semibold text-gray-900">Dashboard</h1>
                <div class="flex items-center space-x-4">
                    <button class="p-2 text-gray-500 hover:text-gray-700">
                        <i data-feather="bell" class="w-5 h-5"></i>
                    </button>
                    <button class="p-2 text-gray-500 hover:text-gray-700">
                        <i data-feather="message-square" class="w-5 h-5"></i>
                    </button>
                    <button class="p-2 text-gray-500 hover:text-gray-700">
                        <i data-feather="log-out" class="w-5 h-5"></i>
                    </button>
                </div>
            </div>
        </header>

        <!-- Dashboard Content -->
        <main class="max-w-full mx-auto px-4 sm:px-6 lg:px-8 py-6">
            <!-- Stats -->
            <div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8">
                <div class="bg-white rounded-lg shadow p-6">
                    <div class="flex items-center">
                        <div class="p-3 rounded-full bg-blue-100 text-blue-600">
                            <i data-feather="shopping-cart" class="w-6 h-6"></i>
                        </div>
                        <div class="ml-4">
                            <p class="text-sm font-medium text-gray-500">Offene Bestellungen</p>
                            <p class="text-2xl font-semibold text-gray-900">12</p>
                        </div>
                    </div>
                </div>
                <div class="bg-white rounded-lg shadow p-6">
                    <div class="flex items-center">
                        <div class="p-3 rounded-full bg-green-100 text-green-600">
                            <i data-feather="check-circle" class="w-6 h-6"></i>
                        </div>
                        <div class="ml-4">
                            <p class="text-sm font-medium text-gray-500">Erledigte Bestellungen</p>
                            <p class="text-2xl font-semibold text-gray-900">47</p>
                        </div>
                    </div>
                </div>
                <div class="bg-white rounded-lg shadow p-6">
                    <div class="flex items-center">
                        <div class="p-3 rounded-full bg-yellow-100 text-yellow-600">
                            <i data-feather="clock" class="w-6 h-6"></i>
                        </div>
                        <div class="ml-4">
                            <p class="text-sm font-medium text-gray-500">Ausstehende Lieferungen</p>
                            <p class="text-2xl font-semibold text-gray-900">5</p>
                        </div>
                    </div>
                </div>
                <div class="bg-white rounded-lg shadow p-6">
                    <div class="flex items-center">
                        <div class="p-3 rounded-full bg-purple-100 text-purple-600">
                            <i data-feather="dollar-sign" class="w-6 h-6"></i>
                        </div>
                        <div class="ml-4">
                            <p class="text-sm font-medium text-gray-500">Monatliche Ausgaben</p>
                            <p class="text-2xl font-semibold text-gray-900">€8,745</p>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Recent Orders -->
            <div class="bg-white rounded-lg shadow overflow-hidden mb-8">
                <div class="px-6 py-4 border-b border-gray-200">
                    <div class="flex items-center justify-between">
                        <h2 class="text-lg font-medium text-gray-900">Letzte Bestellungen</h2>
                        <a href="#" class="text-sm font-medium text-blue-600 hover:text-blue-500">Alle anzeigen</a>
                    </div>
                </div>
                <div class="divide-y divide-gray-200">
                    <div class="px-6 py-4 hover:bg-gray-50">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm font-medium text-blue-600">#ORD-2023-1234</p>
                                <p class="text-sm text-gray-500">12 Produkte • €1,245.00</p>
                            </div>
                            <div class="flex items-center">
                                <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
                                    Geliefert
                                </span>
                                <button class="ml-4 p-1 text-gray-400 hover:text-gray-500">
                                    <i data-feather="chevron-right" class="w-5 h-5"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                    <div class="px-6 py-4 hover:bg-gray-50">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm font-medium text-blue-600">#ORD-2023-1233</p>
                                <p class="text-sm text-gray-500">8 Produkte • €876.50</p>
                            </div>
                            <div class="flex items-center">
                                <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">
                                    In Bearbeitung
                                </span>
                                <button class="ml-4 p-1 text-gray-400 hover:text-gray-500">
                                    <i data-feather="chevron-right" class="w-5 h-5"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                    <div class="px-6 py-4 hover:bg-gray-50">
                        <div class="flex items-center justify-between">
                            <div>
                                <p class="text-sm font-medium text-blue-600">#ORD-2023-1232</p>
                                <p class="text-sm text-gray-500">5 Produkte • €542.80</p>
                            </div>
                            <div class="flex items-center">
                                <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">
                                    Versandt
                                </span>
                                <button class="ml-4 p-1 text-gray-400 hover:text-gray-500">
                                    <i data-feather="chevron-right" class="w-5 h-5"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Quick Actions -->
            <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                <div class="bg-white rounded-lg shadow overflow-hidden">
                    <div class="px-6 py-4 border-b border-gray-200">
                        <h2 class="text-lg font-medium text-gray-900">Schnellbestellung</h2>
                    </div>
                    <div class="p-6">
                        <div class="relative">
                            <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
                                <i data-feather="search" class="h-5 w-5 text-gray-400"></i>
                            </div>
                            <input type="text" class="pl-10 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="PZN oder Produktname">
                        </div>
                        <button class="mt-4 w-full bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center justify-center">
                            <i data-feather="plus" class="w-4 h-4 mr-2"></i> Produkt hinzufügen
                        </button>
                    </div>
                </div>
                <div class="bg-white rounded-lg shadow overflow-hidden">
                    <div class="px-6 py-4 border-b border-gray-200">
                        <h2 class="text-lg font-medium text-gray-900">Mein Außendienst</h2>
                    </div>
                    <div class="p-6">
                        <div class="flex items-center">
                            <img class="h-12 w-12 rounded-full" src="http://static.photos/people/200x200/6" alt="Außendienst">
                            <div class="ml-4">
                                <p class="text-sm font-medium text-gray-900">Michael Bauer</p>
                                <p class="text-sm text-gray-500">Ihr persönlicher Ansprechpartner</p>
                            </div>
                        </div>
                        <div class="mt-6 space-y-2">
                            <button class="w-full bg-white border border-gray-300 text-gray-700 hover:bg-gray-50 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-center">
                                <i data-feather="phone" class="w-4 h-4 mr-2"></i> Anrufen
                            </button>
                            <button class="w-full bg-white border border-gray-300 text-gray-700 hover:bg-gray-50 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-center">
                                <i data-feather="mail" class="w-4 h-4 mr-2"></i> Nachricht senden
                            </button>
                            <button class="w-full bg-white border border-gray-300 text-gray-700 hover:bg-gray-50 px-4 py-2 rounded-md text-sm font-medium flex items-center justify-center">
                                <i data-feather="calendar" class="w-4 h-4 mr-2"></i> Termin vereinbaren
                            </button>
                        </div>
                    </div>
                </div>
                <div class="bg-white rounded-lg shadow overflow-hidden">
                    <div class="px-6 py-4 border-b border-gray-200">
                        <h2 class="text-lg font-medium text-gray-900">Service-Center</h2>
                    </div>
                    <div class="p-6">
                        <div class="space-y-4">
                            <button class="w-full bg-white border border-gray-300 text-gray-700 hover:bg-gray-50 px-4 py-3 rounded-md text-sm font-medium flex items-center justify-between">
                                <span>FAQ durchsuchen</span>
                                <i data-feather="help-circle" class="w-5 h-5"></i>
                            </button>
                            <button class="w-full bg-white border border-gray-300 text-gray-700 hover:bg-gray-50 px-4 py-3 rounded-md text-sm font-medium flex items-center justify-between">
                                <span>Live-Chat starten</span>
                                <i data-feather="message-square" class="w-5 h-5"></i>
                            </button>
                            <button class="w-full bg-white border border-gray-300 text-gray-700 hover:bg-gray-50 px-4 py-3 rounded-md text-sm font-medium flex items-center justify-between">
                                <span>Support-Ticket erstellen</span>
                                <i data-feather="file-text" class="w-5 h-5"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </main>
    </div>

    <script>
        feather.replace();
        
        // Sidebar toggle functionality
        document.getElementById('sidebarToggle').addEventListener('click', function() {
            const sidebar = document.querySelector('.sidebar');
            const mainContent = document.querySelector('.main-content');
            
            if (sidebar.classList.contains('sidebar-expanded')) {
                sidebar.classList.remove('sidebar-expanded');
                sidebar.classList.add('sidebar-collapsed');
                mainContent.classList.remove('content-expanded');
                mainContent.classList.add('content-collapsed');
                this.innerHTML = '<i data-feather="chevron-right" class="w-5 h-5"></i>';
            } else {
                sidebar.classList.remove('sidebar-collapsed');
                sidebar.classList.add('sidebar-expanded');
                mainContent.classList.remove('content-collapsed');
                mainContent.classList.add('content-expanded');
                this.innerHTML = '<i data-feather="chevron-left" class="w-5 h-5"></i>';
            }
            
            feather.replace();
        });
    </script>
</body>
</html>