salix/front/core/components/searchbar/searchbar.html

44 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2017-02-21 10:36:43 +00:00
<form ng-submit="$ctrl.onSubmit()">
2019-10-09 22:47:29 +00:00
<vn-textfield
2019-11-10 10:08:44 +00:00
class="dense standout"
2020-06-12 08:53:33 +00:00
placeholder="{{::$ctrl.placeholder | translate}}"
2019-10-09 22:47:29 +00:00
ng-model="$ctrl.searchString">
<prepend>
<vn-icon
icon="search"
2019-11-10 10:08:44 +00:00
ng-click="$ctrl.onSubmit()"
2019-10-09 22:47:29 +00:00
pointer>
</vn-icon>
2019-11-10 10:08:44 +00:00
<div class="search-params">
<span
ng-repeat="param in $ctrl.params"
class="search-param"
title="{{param.chip}}">
<vn-icon
icon="close"
ng-click="$ctrl.removeParam($index)">
</vn-icon>
{{param.chip}}
</span>
</div>
2019-10-09 22:47:29 +00:00
</prepend>
<append>
<vn-icon
2019-04-12 12:33:08 +00:00
ng-if="$ctrl.info"
icon="info_outline"
2019-10-09 22:47:29 +00:00
vn-tooltip="{{$ctrl.info}}"
pointer>
</vn-icon>
<vn-icon
ng-if="$ctrl.panel"
ng-click="$ctrl.openPanel($event)"
icon="arrow_drop_down"
2019-04-12 12:33:08 +00:00
pointer>
2019-10-09 22:47:29 +00:00
</vn-icon>
</append>
</vn-textfield>
</form>
<vn-popover
vn-id="popover"
on-close="$ctrl.onPopoverClose()">
</vn-popover>