salix/front/core/components/input-file/index.html

52 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2019-10-18 19:36:30 +00:00
<div class="container">
<div
ng-transclude="prepend"
class="prepend">
</div>
2022-11-02 07:18:58 +00:00
<div class="infix" >
2019-10-18 19:36:30 +00:00
<div class="fix prefix"></div>
<div class="control">
<section
2022-11-03 07:18:24 +00:00
class="value"
ng-click="$ctrl.openFileSelector()"
tabindex="0">
</section>
<input
2019-10-18 19:36:30 +00:00
type="file"
2022-11-03 07:18:24 +00:00
accept="{{$ctrl.accept}}">
2019-10-18 19:36:30 +00:00
</input>
</div>
2019-10-18 19:36:30 +00:00
<div class="fix suffix"></div>
<label>
2020-05-08 17:56:39 +00:00
<span translate>{{$ctrl.label}}</span>
2019-10-18 19:36:30 +00:00
<span class="required">*</span>
</label>
</div>
<div class="icons pre">
<vn-icon
icon="clear"
translate-attr="{title: 'Clear'}"
ng-click="$ctrl.onClear($event)">
</vn-icon>
<vn-icon
2020-03-11 07:02:58 +00:00
icon="icon-attach"
2019-10-18 19:36:30 +00:00
vn-tooltip="Select a file"
ng-click="$ctrl.openFileSelector()">
</vn-icon>
<vn-icon
2019-10-28 20:40:24 +00:00
ng-if="::$ctrl.info != null"
2019-10-18 19:36:30 +00:00
icon="info_outline"
vn-tooltip="{{::$ctrl.info}}">
</vn-icon>
</div>
<div
ng-transclude="append"
class="append">
</div>
<div class="icons post">
</div>
2019-10-18 19:36:30 +00:00
<div class="underline blur"></div>
<div class="underline focus"></div>
</div>
2019-10-18 19:36:30 +00:00
<div class="hint"></div>