eventman/angular_app/import-persons.html

19 lines
830 B
HTML
Raw Normal View History

2015-03-29 00:46:42 +01:00
<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">
2015-03-29 09:58:52 +02:00
<form name="ebCSVForm" class="well" ng-controller="FileUploadCtrl">
2015-03-29 00:46:42 +01:00
<div class="form-group">
<label for="eb-csv-import">{{'CSV file' | translate}}</label>
2015-03-29 09:58:52 +02:00
<input name="file" ng-file-select ng-model="files" type="file" id="eb-csv-import" ng-required="true">
2015-03-29 00:46:42 +01:00
<p class="help-block">{{'CSV exported from eventbrite' | translate}}</p>
</div>
2015-03-29 09:58:52 +02:00
<input type="submit" value="{{'Import' | translate}}" ng-click="upload($file, '/ebcsvpersons')" />
2015-03-29 00:46:42 +01:00
</form>
</div>
</div>
</div>