<!-- Copyright (C) 2016 NooBaa -->

<div class="row card-shadow pad content-middle">
    <div class="column greedy push-next">
        <h3 class="heading3">
            Function Triggers: {{triggerCount}}
        </h3>
    </div>
    <button class="btn" ko.click="onAddTrigger">
        Add Trigger
    </button>
</div>

<data-table class="functions-table greedy" params="
    columns: columns,
    sorting: ko.pc(sorting, onSort, $component),
    data: rows,
    loading: !dataReady(),
    emptyMessage: 'No triggers configured for this function'
"></data-table>

<paginator params="
    itemCount: triggerCount,
    pageSize: ko.pc(pageSize, onPageSize, $component),
    page: ko.pc(page, onPage, $component)
"></paginator>


