<!DOCTYPE html>
<html lang="de" dir="ltr" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=0.75, user-scalable=no">

    <title>Kunden</title>
    <script th:src="@{/js/filterTable.js}"></script>
    <link rel="stylesheet" th:href="@{/css/ecom.css}"/>
</head>

<body>
<nav th:replace="fragments/header :: header">Header</nav>
<div class="sidebar-layout content-width">
    <nav></nav>
    <div>
        <h1>Kunden</h1>
        <script th:src="@{/js/back.js}"></script>
        <div class="back" data-group="intern" data-name="Zurück zur Kundenübersicht." data-insert="false"></div>
    </div>
</div>
<main class="sidebar-layout content-width">
    <nav th:replace="fragments/intern :: sidebar"></nav>
    <div class="content-width">
        <p>
        <table id="main-table">
            <tr>
                <th colspan="7">
                    <input type="text" placeholder="Filtern" class="smaller jsFilterTable full-width"
                           data-target-id="main-table"></input>
                </th>
            </tr>
            <tr>
                <th>Kundennummer</th>
                <th>Beitrittsdatum</th>
                <th>Name</th>
                <th>E-Mail</th>
                <th>Status</th>
                <th></th>
            </tr>
            <tr>
                <td>1209</td>
                <td>2019-11-10</td>
                <td>Hans Maier</td>
                <td>hans.maier@example.com</td>
                <td>Geschäftskunde</td>
                <td><a th:href="@{/intern/customers/4884}" class="button smaller">Details</a></td>
            </tr>
            <tr>
                <td>1208</td>
                <td>2019-11-10</td>
                <td>Hans Maier</td>
                <td>hans.maier@example.com</td>
                <td>Inaktiv, Geschäftskunde</td>
                <td><a th:href="@{/intern/customers/4884}" class="button smaller">Details</a></td>
            </tr>
            <tr>
                <td>1207</td>
                <td>2019-11-10</td>
                <td>Hans Maier</td>
                <td>hans.maier@example.com</td>
                <td></td>
                <td><a th:href="@{/intern/customers/4884}" class="button smaller">Details</a></td>
            </tr>
            <tr>
                <td>1206</td>
                <td>2019-11-10</td>
                <td>Hans Maier</td>
                <td>hans.maier@example.com</td>
                <td></td>
                <td><a th:href="@{/intern/customers/4884}" class="button smaller">Details</a></td>
            </tr>
            <tr>
                <td>1205</td>
                <td>2019-11-10</td>
                <td>Hans Maier</td>
                <td>hans.maier@example.com</td>
                <td></td>
                <td><a th:href="@{/intern/customers/4884}" class="button smaller">Details</a></td>
            </tr>
            <tr>
                <td>1204</td>
                <td>2019-11-10</td>
                <td>Hans Maier</td>
                <td>hans.maier@example.com</td>
                <td></td>
                <td><a th:href="@{/intern/customers/4884}" class="button smaller">Details</a></td>
            </tr>
            <tr>
                <td>1203</td>
                <td>2019-11-10</td>
                <td>Hans Maier</td>
                <td>hans.maier@example.com</td>
                <td></td>
                <td><a th:href="@{/intern/customers/4884}" class="button smaller">Details</a></td>
            </tr>
            <tr>
                <td>1202</td>
                <td>2019-11-10</td>
                <td>Hans Maier</td>
                <td>hans.maier@example.com</td>
                <td></td>
                <td><a th:href="@{/intern/customers/4884}" class="button smaller">Details</a></td>
            </tr>
            <tr>
                <td>1201</td>
                <td>2019-11-10</td>
                <td>Hans Maier</td>
                <td>hans.maier@example.com</td>
                <td>Inaktiv, Mitarbeiter</td>
                <td><a th:href="@{/intern/customers/4884}" class="button smaller">Details</a></td>
            </tr>
            <tr>
                <td>1214</td>
                <td>2019-11-10</td>
                <td>Hans Maier</td>
                <td>admin@example.com</td>
                <td>Mitarbeiter</td>
                <td><a th:href="@{/intern/customers/4884}" class="button smaller">Details</a></td>
            </tr>
        </table>
        </p>
    </div>
</main>
<footer th:replace="fragments/footer :: footer"></footer>
</body>

</html>
