49 lines
1.7 KiB
HTML
49 lines
1.7 KiB
HTML
<div class="vn-pa-md">
|
|
<vn-horizontal>
|
|
<div class="actions-left">
|
|
<vn-button icon="view_column"
|
|
ng-click="$ctrl.shownColumns()"
|
|
vn-tooltip="Shown columns">
|
|
</vn-button>
|
|
|
|
<div ng-transclude="actions"></div> <!-- transcluded actions -->
|
|
</div>
|
|
<div class="actions">
|
|
<vn-button icon="search"
|
|
ng-click="$ctrl.displaySearch()"
|
|
vn-tooltip="Search">
|
|
</vn-button>
|
|
<div class="button-group">
|
|
<vn-button icon="add"
|
|
ng-click="$ctrl.createRow()"
|
|
vn-tooltip="Add new row">
|
|
</vn-button>
|
|
<vn-button icon="undo"
|
|
ng-click="$ctrl.model.undoChanges()"
|
|
vn-tooltip="Undo">
|
|
</vn-button>
|
|
<vn-button icon="delete"
|
|
ng-click="$ctrl.deleteAll('addRow')"
|
|
vn-tooltip="Remove selected rows">
|
|
</vn-button>
|
|
<vn-button icon="save"
|
|
ng-click="$ctrl.saveAll()"
|
|
vn-tooltip="Save data">
|
|
</vn-button>
|
|
</div>
|
|
|
|
<div class="button-group">
|
|
<vn-button icon="refresh"
|
|
ng-click="$ctrl.model.refresh()"
|
|
vn-tooltip="Refresh">
|
|
</vn-button>
|
|
<vn-button icon="more_vert"
|
|
ng-click="moreOptions.show($event)"
|
|
vn-tooltip="More">
|
|
</vn-button>
|
|
</div>
|
|
</div>
|
|
</vn-horizontal>
|
|
|
|
<div id="table"></div>
|
|
</div> |