Add basic support for csv user import
This commit is contained in:
@@ -351,8 +351,8 @@
|
||||
<div class="modal-body">
|
||||
<div ng-show="!userImport.done">
|
||||
<div ng-show="!userImport.busy">
|
||||
<input type="file" style="display: none;" id="userImportFileInput" accept="application/json"/>
|
||||
<button class="btn btn-primary" ng-click="userImport.openFileInput()">Select JSON file</button>
|
||||
<input type="file" style="display: none;" id="userImportFileInput" accept="application/json,text/csv"/>
|
||||
<button class="btn btn-primary" ng-click="userImport.openFileInput()">Select JSON or CSV file</button>
|
||||
<br/>
|
||||
<br/>
|
||||
<p class="text-danger" ng-show="userImport.error.file">{{ userImport.error.file }}</p>
|
||||
|
||||
Reference in New Issue
Block a user