2016-09-25 02:24:41 +08:00
|
|
|
<div ng-controller="ImportCtrl">
|
2016-09-25 06:01:23 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12" ng-init="importerType">
|
|
|
|
<label>Import type
|
|
|
|
<select ng-model="importerType">
|
|
|
|
<option ng-repeat="importer in available_importers" value="{{importer.value}}">
|
|
|
|
{{importer.name}}
|
|
|
|
</option>
|
|
|
|
</select></label>
|
|
|
|
<input ng-if="importerType" type="file" file-select success="fileLoaded" error="fileLoadError" progress="fileSelectProgress"><br />
|
|
|
|
<button class="button" ng-click="startImport(importerType)" ng-if="importerType">Import</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-09-25 02:24:41 +08:00
|
|
|
</div>
|