mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Working on time tracker
This commit is contained in:
parent
5e0f838271
commit
32ae5d55ad
@ -83,10 +83,10 @@
|
||||
|
||||
<!-- Navbar Filter -->
|
||||
<div class="input-group input-group-lg">
|
||||
<span class="input-group-addon" style="width:1%;" title="{{ trans('texts.filter_sort') }}"><span class="glyphicon glyphicon-filter"></span></span>
|
||||
<span class="input-group-addon" style="width:1%;" data-bind="click: onFilterClick" title="{{ trans('texts.filter_sort') }}"><span class="glyphicon glyphicon-filter"></span></span>
|
||||
<input id="search" type="search" class="form-control search" autocomplete="off" autofocus="autofocus"
|
||||
data-bind="event: { focus: onFilterFocus, input: onFilterChanged, keypress: onFilterKeyPress }, value: filter, valueUpdate: 'afterkeydown', attr: {placeholder: placeholder}">
|
||||
<span class="input-group-addon" style="width:1%;" title="{{ trans('texts.refresh') }}"><span class="glyphicon glyphicon-repeat"></span></span>
|
||||
<span class="input-group-addon" style="width:1%;" data-bind="click: onRefreshClick" title="{{ trans('texts.refresh') }}"><span class="glyphicon glyphicon-repeat"></span></span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -21,6 +21,14 @@
|
||||
task.save(data, true);
|
||||
}
|
||||
|
||||
self.onFilterClick = function() {
|
||||
console.log('filter...');
|
||||
}
|
||||
|
||||
self.onRefreshClick = function() {
|
||||
location.reload();
|
||||
}
|
||||
|
||||
self.submitBulkAction = function(action, task) {
|
||||
if (! task || ! action) {
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user