#68: Added a "Close" button when an single file into an upload fails
This commit is contained in:
parent
ef4df1ab32
commit
393cc590c1
@ -86,13 +86,16 @@
|
|||||||
<p v-if="!isUploadInProgress" class="text-danger" style="font-weight: bold">
|
<p v-if="!isUploadInProgress" class="text-danger" style="font-weight: bold">
|
||||||
<span v-text="imagesFailed"></span> @lang('admin.upload_file_number_failed')
|
<span v-text="imagesFailed"></span> @lang('admin.upload_file_number_failed')
|
||||||
</p>
|
</p>
|
||||||
<p v-if="imagesUploaded > 0">
|
<p v-if="imagesUploaded > 0" class="text-right">
|
||||||
@lang('admin.upload_file_failed_continue')<br /><br/>
|
@lang('admin.upload_file_failed_continue')<br /><br/>
|
||||||
<a href="{{ route('albums.analyse', ['id' => $album->id, 'queue_token' => $queue_token]) }}" class="btn btn-primary">@lang('forms.continue_action')</a>
|
</p>
|
||||||
|
<p class="text-right">
|
||||||
|
<button type="button" class="btn btn-secondary" data-dismiss="modal" v-if="!isUploadInProgress && imagesUploaded === 0">@lang('forms.close_action')</button>
|
||||||
|
<a href="{{ route('albums.analyse', ['id' => $album->id, 'queue_token' => $queue_token]) }}" class="btn btn-primary" v-if="imagesUploaded > 0">@lang('forms.continue_action')</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul v-for="message in statusMessages">
|
<ul v-for="message in statusMessages">
|
||||||
<li v-bind:class="{ message: message.message_class }" v-text="message.message_text"></li>
|
<li v-bind:class="message.message_class" v-text="message.message_text"></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user