Files @ 1ce4e23c2207
Branch filter:

Location: kallithea/kallithea/templates/admin/my_account/my_account_watched.html

mads
style: apply Bootstrap-compatible table.table class, now when the conflicting div.table styling is gone

Based on work by Dominik Ruf.
<h4>${_('Repositories You are Watching')}</h4>

<div>
    <table class="table" id="datatable_list_wrap"></table>
</div>

<script>
  var data = ${c.data|n};
  var myDataTable = $("#datatable_list_wrap").DataTable({
        data: data.records,
        columns: [
            {data: "raw_name", "visible": false, searchable: false},
            {data: "name", "orderData": 1, title: "${_('Name')}"},
            {data: "last_rev_raw", "visible": false, searchable: false},
            {data: "last_changeset", "orderData": 3, title: "${_('Tip')}", searchable: false},
        ],
        order: [[2, "asc"]],
        dom: '<"dataTables_left"f><"dataTables_right"ilp>t',
        pageLength: 100
    });
</script>