20 lines
925 B
HTML
20 lines
925 B
HTML
<div class="container">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">{{'Import from eventbrite CSV'}}</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<form name="ebCSVForm" class="well" ng-controller="FileUploadCtrl">
|
|
<div class="form-group">
|
|
<label for="eb-csv-import">{{'CSV file' | translate}}</label>
|
|
<input name="file" ng-file-select ng-model="file" type="file" id="eb-csv-import" ng-required="true">
|
|
<p class="help-block">{{'CSV exported from eventbrite' | translate}}</p>
|
|
</div>
|
|
|
|
<input type="submit" value="{{'Import' | translate}}" ng-click="upload(file, '/ebcsvpersons')" />
|
|
|
|
Result: total: <span>{{reply.total}}</span> valid: <span>{{reply.valid}}</span>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|