2019-10-18 19:36:30 +00:00
|
|
|
<div class="container">
|
|
|
|
<div
|
|
|
|
ng-transclude="prepend"
|
|
|
|
class="prepend">
|
|
|
|
</div>
|
|
|
|
<div class="infix">
|
|
|
|
<div class="fix prefix"></div>
|
|
|
|
<div class="control">
|
|
|
|
<section
|
|
|
|
class="value"
|
|
|
|
ng-click="$ctrl.openFileSelector()"
|
2019-10-28 20:40:24 +00:00
|
|
|
tabindex="0">
|
2019-06-06 11:59:11 +00:00
|
|
|
</section>
|
|
|
|
<input
|
2019-10-18 19:36:30 +00:00
|
|
|
type="file"
|
2019-10-28 20:40:24 +00:00
|
|
|
accept="{{$ctrl.accept}}"
|
|
|
|
style="display: none;">
|
2019-10-18 19:36:30 +00:00
|
|
|
</input>
|
2019-06-06 11:59:11 +00:00
|
|
|
</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">
|
2019-06-06 11:59:11 +00:00
|
|
|
</div>
|
2019-10-18 19:36:30 +00:00
|
|
|
<div class="underline blur"></div>
|
|
|
|
<div class="underline focus"></div>
|
2019-06-06 11:59:11 +00:00
|
|
|
</div>
|
2019-10-18 19:36:30 +00:00
|
|
|
<div class="hint"></div>
|