<%# Canopy - The next generation of stoner streaming software
Copyright (C) 2024-2025 Rainbownapkin and the TTN Community

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>. %>
<div class="admin-list-div">
    <h3 id="channel-ban-title">Channel Bans:</h3>
    <div class="control-prompt">
        <input placeholder="Add Username..." id="new-ban-input" class="control-prompt">
        <button id="new-ban-button" class="danger-button">Ban</button>
    </div>
    <div class="dynamic-container">
        <table id="admin-ban-list-table" class="admin-list-table">
            <tr class="admin-list-entry-title-row">
                <td class="admin-list-entry-item admin-list-entry-img-title"><h3>Img</h3></td>
                <td id="admin-user-list-entry-id-title" class="admin-list-entry-item not-first-col"><h3>ID</h3></td>
                <td class="admin-list-entry-item not-first-col"><h3>Name</h3></td>
                <td class="admin-list-entry-item not-first-col"><h3>Ban<br>Alts</h3></td>
                <td id="channel-user-list-entry-ban-date-title" class="admin-list-entry-item not-first-col"><h3>Ban Date</h3></td>
                <td id="channel-user-list-entry-expiration-date-title" class="admin-list-entry-item not-first-col"><h3>Expires</h3></td>
                <td id="channel-user-list-entry-actions-title" class="admin-list-entry-item not-first-col">&nbsp;</td>
            </tr>
            <%# This is getting filled via AJAX since we need to refresh it when new users are added anywho. %>
        </table>
    </div>
</div>