<div id="page-content" class="page-wrapper pb0 clearfix">

    <ul class="nav nav-tabs bg-white title" role="tablist">
        <li class="title-tab">
            <h4 class="pl15 pt10 pr15"><?php echo app_lang("leads"); ?></h4>
        </li>

        <?php echo view("leads/tabs", array("active_tab" => "leads_kanban")); ?>

        <div class="tab-title clearfix no-border">
            <div class="title-button-group">
                <?php echo modal_anchor(get_uri("leads/import_modal_form"), "<i data-feather='upload' class='icon-16'></i> " . app_lang('import_leads'), array("class" => "btn btn-default", "title" => app_lang('import_leads'))); ?>
                <?php echo modal_anchor(get_uri("leads/modal_form"), "<i data-feather='plus-circle' class='icon-16'></i> " . app_lang('add_lead'), array("class" => "btn btn-default", "title" => app_lang('add_lead'))); ?>
            </div>
        </div>
    </ul>
    <div class="leads-kanban-view">
        <div class="card border-top-0 rounded-top-0">
            <div class="bg-white">
                <div id="kanban-filters"></div>
            </div>

            <div id="load-kanban"></div>
        </div>
    </div>
</div>

<script>
    $(document).ready(function() {
        window.scrollToKanbanContent = true;
    });
</script>

<?php echo view("leads/kanban/all_leads_kanban_helper_js"); ?>