1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00
This commit is contained in:
Damodar Lohani 2022-02-17 10:52:51 +00:00
parent 8ba302c4b0
commit 2eabd1060b
3 changed files with 11 additions and 5 deletions

View file

@ -85,7 +85,7 @@ $fileLimitHuman = $this->getParam('fileLimitHuman', 0);
<thead>
<tr>
<th width="40"></th>
<th>Filename</th>
<th width="100%">Filename</th>
<th width="140">Type</th>
<th width="100">Size</th>
<th width="120">Created</th>
@ -164,7 +164,13 @@ $fileLimitHuman = $this->getParam('fileLimitHuman', 0);
<div class="margin-bottom-small">File Preview</div>
<div class="margin-bottom-small">
<img src="" class="file-preview" data-ls-attrs="src={{env.ENDPOINT}}/v1/storage/buckets/{{router.params.id}}/files/{{file.$id}}/preview?width=350&height=250&project={{router.params.project}}&mode=admin" loading="lazy" width="225" height="160" />
<div data-ls-if="{{file.chunksTotal}} != {{file.chunksUploaded}}" class="preview-box">
<div class="preview-box-image">
<img src="/images/default_preview.svg" />
</div>
<span class="preview-box-text">Preview not available</span>
</div>
<img data-ls-if="{{file.chunksTotal}} == {{file.chunksUploaded}}" src="" class="file-preview" data-ls-attrs="src={{env.ENDPOINT}}/v1/storage/buckets/{{router.params.id}}/files/{{file.$id}}/preview?width=350&height=250&project={{router.params.project}}&mode=admin" loading="lazy" width="225" height="160" />
</div>
<div class="margin-bottom-tiny">
@ -206,7 +212,7 @@ $fileLimitHuman = $this->getParam('fileLimitHuman', 0);
<span class="text-fade text-size-small" data-ls-bind="{{file.dateCreated|dateText}}"></span>
</td>
<td data-title="" style="overflow: visible">
<div class="drop-list pull-end" data-ls-ui-open="" data-button-aria="File Options" data-button-class="icon-dot-3" data-blur="1">
<div class="drop-list pull-end" data-ls-ui-open="" data-button-aria="File Options" data-button-class="icon-dot-3 reset-inner-button" data-blur="1">
<ul class="arrow-center">
<li><span data-ls-ui-trigger="modal-file-update-{{file.$id}}" class="link">Update</span></li>
<li><a href="javascript:void(0)" data-ls-ui-trigger="file-delete-{{file.$id}}">Delete</a></li>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long