<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SANDI Admin - Client Management</title>
    <link rel="stylesheet" href="/css/admin.css">
</head>
<body>
    <div class="container">
        <h1>SANDI Admin - Client Management</h1>
        
        <div class="section">
            <h2>Add/Edit Client</h2>
            <form id="clientForm">
                <div class="form-group">
                    <label for="clientId">Client ID:</label>
                    <input type="text" id="clientId" name="clientId" required>
                </div>
                <div class="form-group">
                    <label for="name">Name:</label>
                    <input type="text" id="name" name="name" required>
                </div>
                <div class="form-group">
                    <label for="collection">Collection:</label>
                    <input type="text" id="collection" name="collection" required>
                </div>
                <div class="form-group">
                    <label for="active">Active:</label>
                    <input type="checkbox" id="active" name="active" checked>
                </div>
                <button type="submit">Save Client</button>
                <button type="button" id="clearForm">Clear</button>
            </form>
        </div>

        <div class="section">
            <h2>Existing Clients</h2>
            <table id="clientsTable">
                <thead>
                    <tr>
                        <th>Client ID</th>
                        <th>Name</th>
                        <th>Collection</th>
                        <th>Active</th>
                        <th>Actions</th>
                    </tr>
                </thead>
                <tbody>
                </tbody>
            </table>
        </div>
    </div>

    <script src="/js/admin.js"></script>
</body>
</html>