kohlpharma / dashboard.html
rocketman77's picture
change Kohlpharma to lowercase kohlpharma - Follow Up Deployment
c5a2f83 verified
Raw History Blame Contribute Delete
18.3 kB
<!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>