<div class="my-4">
    <div class="offset-2 col-8 p-3 context-main-bg">
        <legend class="text-center">Bookmark Export</legend>
        <hr>
        {BKMTUTS}
        <p class="px-2">
            Our export tool allows you to select bookmarks and folders from your AllTheBookmarks account and generate a file that you can then import into any browser. 
            Giving you access to all your bookmarks right inside your browser.
        </p>
        <p class="px-2">
            You can simply select the folders you want to bring into your browser on this page and click generate. A notification will pop-up showing you where you can 
            find your file for download. You take that newly saved file an import it into your browser of choice.
        </p>
        <p class="px-2">
            If you need help importing your bookmarks, we have <a href="/tutorials" class="text-decoration-none atb-green">tutorials</a> available for every major browser that can help.
        </p>
        <p class="px-2 text-muted text-center">
            This explanation and others like it can be hidden in your <a href="/usercp/settings" class="text-decoration-none atb-green">Profile Settings</a>.
        </p>
        <hr>
        {/BKMTUTS}
        <h3 class="text-center">Select which folders to include in the export</h3>
        <form action="" method="post">
            <div class="row g-3 col-4 offset-4">
                <table class="table context-main">
                    <thead>
                        <tr>
                            <th class="text-center" style="width: 80%">Title</th>
                            <th style="width: 20%">
                                <input type="checkbox" onchange="checkAll(this)" name="check.g" value="BF_[]">
                            </th>
                        </tr>
                    </thead>
                    <tbody class="">
                        <tr>
                            <td class="text-center">Unsorted</td>
                            <td>
                                <input type="checkbox" value="unsorted" name="BF_[]">
                            </td>
                        </tr>
                        {LOOP}
                        <tr>
                            <td class="text-center">{prettyTitle}</td>
                            <td>
                                <input type="checkbox" value="{ID}" name="BF_[]">
                            </td>
                        </tr>
                        {/LOOP}
                        {ALT}
                        <tr>
                            <td class="text-center context-main" colspan="7">
                                No Folders To Export
                            </td>
                        </tr>
                        {/ALT}
                    </tbody>
                </table>
            </div>
            <div class="mb-3 row">
                <label for="title" class="col-lg-3 col-form-label text-end align-items-center">Bookmark Filters:</label>
                <div class="col-lg-6">
                    <div class="p-2">
                        <!-- Status Filters -->
                        <div class="d-flex align-items-center border p-2 rounded mb-3 context-main-bg">
                            <div class="me-3 fw-bold">Status:</div>
                            <div class="form-check form-switch me-3">
                                <input class="form-check-input" type="checkbox" value="true" id="archivedIncluded" name="archivedIncluded">
                                <label class="form-check-label" for="archivedIncluded">Include Archived</label>
                            </div>
                            <div class="form-check form-switch">
                                <input class="form-check-input" type="checkbox" value="true" id="hiddenIncluded" name="hiddenIncluded">
                                <label class="form-check-label" for="hiddenIncluded">Include Hidden</label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="text-center">
                <p>Literally every browser is chromium based now, so they all have a standard import/export.</p>
                <button type="submit" name="submit" value="submit" class="btn atb-green-bg btn-lg">Create Export</button>
            </div>
        </form>
    </div>
</div>