{% load i18n %}


<style> 
    #tb .btn{
        margin-top:0px;
        margin-bottom:0px;
    }

</style>



<script type="text/javascript">
    $(document).ready(function(){     
        var table=$('#tb').DataTable({
            dom: 'Bfrtip',
            autoWidth: true,
            pageLength: 10,
            buttons: [{extend:'excelHtml5',text: '导出到Excel'}],   
            language:lng,	
            columns:{{clmns|safe}},			
            data:{{data|safe}},           

        });    
    
        table.columns().every( function () {                        
            var that = this;             
            $('input', this.footer() ).on( 'keyup change clear', function () {
                if ( that.search() !== this.value ) {
                    that.search( this.value ).draw();
                }
            });
        });    
    });
</script>



<ol class="breadcrumb">
        <li>公司管理</li>
        <li>用户帐号</li>     
</ol>




<div class='clear-fix'></div>
   
   
       
<div class="x_panel">    

    <div  class="table-responsive"><table id='tb'  class="table table-striped table-bordered dt-responsive nowrap" cellspacing="0" width="100%">
        <thead>
            {% for c in clmns %}
                <th>{{c.title}}</th>
            {% endfor %}
                
        </thead>
        <tbody></tbody>
        <tfoot>
            {% for c in clmns %}
                <th><input type="text" placeholder="{{c.title}}"></th>            
            {% endfor %}            
        </tfoot>
    </table></div> 
</div>
