346 lines
12 KiB
HTML
346 lines
12 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>BMC Hub - Material Customers</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
|
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
|
|
<style>
|
|
:root {
|
|
--md-sys-color-primary: #6750A4;
|
|
--md-sys-color-on-primary: #FFFFFF;
|
|
--md-sys-color-primary-container: #EADDFF;
|
|
--md-sys-color-on-primary-container: #21005D;
|
|
--md-sys-color-surface: #FEF7FF;
|
|
--md-sys-color-surface-container: #F3EDF7;
|
|
--md-sys-color-on-surface: #1D1B20;
|
|
--md-sys-color-outline: #79747E;
|
|
--md-sys-shape-corner-large: 16px;
|
|
--md-sys-shape-corner-medium: 12px;
|
|
--md-sys-shape-corner-full: 100px;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--md-sys-color-surface);
|
|
color: var(--md-sys-color-on-surface);
|
|
font-family: 'Roboto', sans-serif;
|
|
display: flex;
|
|
}
|
|
|
|
/* Navigation Rail */
|
|
.nav-rail {
|
|
width: 80px;
|
|
height: 100vh;
|
|
position: fixed;
|
|
background: var(--md-sys-color-surface);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 24px 0;
|
|
border-right: 1px solid #E7E0EC;
|
|
z-index: 100;
|
|
}
|
|
|
|
.nav-fab {
|
|
width: 56px;
|
|
height: 56px;
|
|
background: var(--md-sys-color-primary-container);
|
|
color: var(--md-sys-color-on-primary-container);
|
|
border-radius: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 40px;
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.nav-fab:hover {
|
|
box-shadow: 0 6px 12px rgba(0,0,0,0.15);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.nav-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-bottom: 24px;
|
|
text-decoration: none;
|
|
color: var(--md-sys-color-on-surface);
|
|
width: 100%;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nav-icon-container {
|
|
width: 56px;
|
|
height: 32px;
|
|
border-radius: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 4px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.nav-item.active .nav-icon-container {
|
|
background-color: var(--md-sys-color-primary-container);
|
|
}
|
|
|
|
.nav-item.active i {
|
|
color: var(--md-sys-color-on-primary-container);
|
|
}
|
|
|
|
.nav-label {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 80px;
|
|
padding: 24px;
|
|
width: 100%;
|
|
}
|
|
|
|
.top-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.search-bar {
|
|
background: var(--md-sys-color-surface-container);
|
|
border-radius: 28px;
|
|
padding: 0 16px;
|
|
height: 56px;
|
|
display: flex;
|
|
align-items: center;
|
|
width: 400px;
|
|
}
|
|
|
|
.search-bar input {
|
|
border: none;
|
|
background: transparent;
|
|
margin-left: 12px;
|
|
width: 100%;
|
|
outline: none;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.card-md {
|
|
background: var(--md-sys-color-surface-container);
|
|
border-radius: var(--md-sys-shape-corner-large);
|
|
padding: 24px;
|
|
border: none;
|
|
}
|
|
|
|
.btn-filled {
|
|
background: var(--md-sys-color-primary);
|
|
color: var(--md-sys-color-on-primary);
|
|
border-radius: 20px;
|
|
padding: 10px 24px;
|
|
border: none;
|
|
font-weight: 500;
|
|
letter-spacing: 0.1px;
|
|
transition: box-shadow 0.2s;
|
|
}
|
|
|
|
.btn-filled:hover {
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.table th {
|
|
font-weight: 500;
|
|
color: var(--md-sys-color-outline);
|
|
border-bottom: 1px solid #E7E0EC;
|
|
}
|
|
|
|
.table td {
|
|
padding: 16px 8px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 6px 16px;
|
|
border-radius: 8px;
|
|
border: 1px solid #79747E;
|
|
margin-right: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
background: transparent;
|
|
}
|
|
|
|
.chip.active {
|
|
background: var(--md-sys-color-primary-container);
|
|
border-color: transparent;
|
|
color: var(--md-sys-color-on-primary-container);
|
|
}
|
|
|
|
.chip:hover:not(.active) {
|
|
background: rgba(0,0,0,0.05);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<nav class="nav-rail">
|
|
<div class="nav-fab">
|
|
<i class="bi bi-pencil-fill fs-5"></i>
|
|
</div>
|
|
|
|
<a href="index.html" class="nav-item">
|
|
<div class="nav-icon-container">
|
|
<i class="bi bi-grid"></i>
|
|
</div>
|
|
<span class="nav-label">Home</span>
|
|
</a>
|
|
|
|
<a href="customers.html" class="nav-item active">
|
|
<div class="nav-icon-container">
|
|
<i class="bi bi-people-fill"></i>
|
|
</div>
|
|
<span class="nav-label">Kunder</span>
|
|
</a>
|
|
|
|
<a href="#" class="nav-item">
|
|
<div class="nav-icon-container">
|
|
<i class="bi bi-hdd"></i>
|
|
</div>
|
|
<span class="nav-label">Udstyr</span>
|
|
</a>
|
|
|
|
<a href="#" class="nav-item">
|
|
<div class="nav-icon-container">
|
|
<i class="bi bi-gear"></i>
|
|
</div>
|
|
<span class="nav-label">Opsætning</span>
|
|
</a>
|
|
</nav>
|
|
|
|
<div class="main-content">
|
|
<div class="top-bar">
|
|
<h2 class="m-0 fw-normal">Kunder</h2>
|
|
<div class="search-bar">
|
|
<i class="bi bi-search text-muted"></i>
|
|
<input type="text" placeholder="Søg efter kunde...">
|
|
</div>
|
|
<div class="d-flex align-items-center gap-3">
|
|
<button class="btn-filled"><i class="bi bi-plus-lg me-2"></i>Opret Kunde</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mb-4">
|
|
<button class="chip active">Alle Kunder</button>
|
|
<button class="chip">Aktive</button>
|
|
<button class="chip">Inaktive</button>
|
|
<button class="chip">VIP</button>
|
|
</div>
|
|
|
|
<div class="card-md">
|
|
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th>Virksomhed</th>
|
|
<th>Kontaktperson</th>
|
|
<th>CVR</th>
|
|
<th>Status</th>
|
|
<th>Hardware</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<div class="d-flex align-items-center">
|
|
<div class="rounded-circle bg-primary text-white d-flex align-items-center justify-content-center me-3" style="width: 40px; height: 40px;">A</div>
|
|
<div>
|
|
<div class="fw-medium">Advokatgruppen A/S</div>
|
|
<div class="small text-muted">København K</div>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="fw-medium">Jens Jensen</div>
|
|
<div class="small text-muted">jens@advokat.dk</div>
|
|
</td>
|
|
<td class="text-muted">12345678</td>
|
|
<td><span class="badge rounded-pill text-bg-success bg-opacity-25 text-success">Aktiv</span></td>
|
|
<td>
|
|
<span class="badge bg-secondary bg-opacity-10 text-secondary border">Firewall</span>
|
|
<span class="badge bg-secondary bg-opacity-10 text-secondary border">Switch</span>
|
|
</td>
|
|
<td class="text-end">
|
|
<button class="btn btn-icon"><i class="bi bi-three-dots-vertical"></i></button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="d-flex align-items-center">
|
|
<div class="rounded-circle bg-secondary text-white d-flex align-items-center justify-content-center me-3" style="width: 40px; height: 40px;">B</div>
|
|
<div>
|
|
<div class="fw-medium">Byg & Bo ApS</div>
|
|
<div class="small text-muted">Aarhus C</div>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="fw-medium">Mette Hansen</div>
|
|
<div class="small text-muted">mh@bygbo.dk</div>
|
|
</td>
|
|
<td class="text-muted">87654321</td>
|
|
<td><span class="badge rounded-pill text-bg-success bg-opacity-25 text-success">Aktiv</span></td>
|
|
<td>
|
|
<span class="badge bg-secondary bg-opacity-10 text-secondary border">Router</span>
|
|
</td>
|
|
<td class="text-end">
|
|
<button class="btn btn-icon"><i class="bi bi-three-dots-vertical"></i></button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="d-flex align-items-center">
|
|
<div class="rounded-circle bg-danger text-white d-flex align-items-center justify-content-center me-3" style="width: 40px; height: 40px;">C</div>
|
|
<div>
|
|
<div class="fw-medium">Cafe Møller</div>
|
|
<div class="small text-muted">Odense M</div>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="fw-medium">Peter Møller</div>
|
|
<div class="small text-muted">pm@cafe.dk</div>
|
|
</td>
|
|
<td class="text-muted">11223344</td>
|
|
<td><span class="badge rounded-pill text-bg-warning bg-opacity-25 text-warning">Afventer</span></td>
|
|
<td>
|
|
<span class="text-muted">-</span>
|
|
</td>
|
|
<td class="text-end">
|
|
<button class="btn btn-icon"><i class="bi bi-three-dots-vertical"></i></button>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="d-flex justify-content-end mt-4">
|
|
<nav>
|
|
<ul class="pagination">
|
|
<li class="page-item disabled"><a class="page-link border-0 bg-transparent" href="#">Forrige</a></li>
|
|
<li class="page-item active"><a class="page-link border-0 rounded-circle mx-1" style="background-color: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container);" href="#">1</a></li>
|
|
<li class="page-item"><a class="page-link border-0 bg-transparent text-dark" href="#">2</a></li>
|
|
<li class="page-item"><a class="page-link border-0 bg-transparent text-dark" href="#">3</a></li>
|
|
<li class="page-item"><a class="page-link border-0 bg-transparent text-dark" href="#">Næste</a></li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html> |