Pony.fm/public/templates/uploader/index.html

35 lines
1.6 KiB
HTML
Raw Normal View History

<div class="uploader">
2015-10-25 03:35:37 +01:00
<div class="dropzone" uploader>
<p>Drop files here to begin your upload!</p>
</div>
2015-10-25 03:35:37 +01:00
<p>FLAC, WAV, and AIFF files will be accepted. Each file can be up to 200 MB in size.</p>
2013-09-01 11:17:53 +02:00
2015-10-25 03:35:37 +01:00
<p>Tracks must be a <strong>minimum</strong> of 30 seconds long.</p>
2013-09-01 11:17:53 +02:00
2015-10-25 03:35:37 +01:00
<p>Please note that you need to publish your tracks after uploading them before they will become available to the public.</p>
2013-09-01 11:17:53 +02:00
2015-10-25 03:35:37 +01:00
<ul class="uploads">
<li ng-repeat="upload in data.queue" ng-class="{'uploading': upload.isUploading, 'has-error': upload.error != null, 'is-processing': upload.isProcessing || upload.progress >= 100}" ng-animate="'upload-queue'">
2015-10-25 03:35:37 +01:00
<p>
2015-10-25 03:35:37 +01:00
<span ng-show="!upload.success">
<strong ng-show="upload.isUploading && upload.error == null && upload.progress < 100">Uploading&hellip;</strong>
<strong ng-show="upload.isProcessing || (upload.isUploading && upload.progress >= 100)">Processing&hellip;</strong>
2015-10-25 03:35:37 +01:00
<strong ng-show="upload.error != null">Error</strong>
{{upload.name}} -
<strong ng-show="upload.error != null">{{upload.error}}</strong>
</span>
2015-10-25 03:35:37 +01:00
<span ng-show="upload.success">
<a href="/account/tracks/edit/{{upload.trackId}}" class="btn btn-small btn-primary">
Publish
</a>
{{upload.name}}
</span>
</p>
<div class="bar" pfm-progress-bar="upload.progress"></div>
</li>
</ul>
</div>