{LOOP}
<div class="col-xlg-6 col-lg-6 col-md-6 col-sm-6 bookmark-card" id="folderCard{ID}">
    <div class="card m-3 accordion">
        <div class="accordion-item">
            <div class="card-header accordion-header bg-{color} context-main">
                <div class="d-flex justify-content-between align-items-center w-100">
                    <span data-bs-target="#Collapse{ID}" data-bs-toggle="collapse" aria-expanded="true" aria-controls="Collapse{ID}">
                        <span class="text-center px-5">{privacyBadge}</span>
                        <span class="h4 text-center px-5">{title}</span>
                    </span>
                    <a class="btn btn-sm btn-rounded btn-share atb-green-bg" data-bs-toggle="modal" data-bs-target="#linkShare{ID}">
                        <i class="fa fa-fw fa-share"></i>
                    </a>
                </div>
            </div>
            
            <div class="modal fade context-main" id="linkShare{ID}" tabindex="-1" style="display: none;" aria-hidden="true">
                <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
                    <div class="modal-content">
                        <div class="modal-header context-main-bg">
                            <h1 class="modal-title fs-5">Share Url</h1>
                            <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                        </div>
                        <div class="modal-body context-second-bg">
                            <p>This link can be shared with anyone and will show display info as long as it is set to public privacy.</p>
                            <input type="text" value="{SITE_URL}shared/folder/{uuid}" name="input" class="w-100 form-control" id="shareFolderUrlInput{ID}">
                            <button class="btn btn-secondary mt-2" onclick="copyElementText('shareFolderUrlInput{ID}')">Copy</button>
                        </div>
                    </div>
                </div>
            </div>

            <div id="Collapse{ID}" class="accordion-collapse collapse w-100 position-relative show">
                <div class="card-body accordion-body p-2 context-second-bg">
                    <ul class="list-group">
                        {bookmarkListRows}
                    </ul>
                </div>
                <div class="card-footer d-flex justify-content-center align-items-center context-main-bg">
                    <span class="ms-auto">
                        <a href="{ROOT_URL}bookmarks/bookmarks/{ID}" class="btn btn-sm atb-green-outline"><i class="fa fa-fw fa-list"></i></a>
                        <a href="{ROOT_URL}bookmarks/folders/{ID}" class="btn btn-sm atb-green-outline"><i class="fa fa-fw fa-info-circle"></i></a></td>
                    </span>
                </div>
            </div>
        </div>
    </div>
</div>
{/LOOP}
{ALT}
<div class="context-other-bg">
    <p class="context-other-bg">no Folders</p>
</div>
{/ALT}