|
|
|
@ -21,25 +21,55 @@
|
|
|
|
|
Storage Files Index |
|
|
|
|
</a> |
|
|
|
|
</div> |
|
|
|
|
<div class="be-section-entry"> |
|
|
|
|
<form action="/storage/multi-upload" |
|
|
|
|
method="POST" |
|
|
|
|
enctype="multipart/form-data"> |
|
|
|
|
<input required type="hidden" |
|
|
|
|
name="AUTHENTICITY-TOKEN" |
|
|
|
|
value="{{token}}"> |
|
|
|
|
<input required type="file" |
|
|
|
|
name="STORAGE-FILES" multiple> |
|
|
|
|
<button class="be-gui-button-no-text" |
|
|
|
|
title="Click to upload files to storage" |
|
|
|
|
type="submit"> |
|
|
|
|
<img alt="Upload to Storage" |
|
|
|
|
src="/images/icons/up-arrow.png"> |
|
|
|
|
</button> |
|
|
|
|
</form> |
|
|
|
|
<div class="be-section-entries"> |
|
|
|
|
<div class="be-section-entry"> |
|
|
|
|
<form action="/storage/multi-upload" |
|
|
|
|
method="POST" |
|
|
|
|
enctype="multipart/form-data"> |
|
|
|
|
<input required type="hidden" |
|
|
|
|
name="AUTHENTICITY-TOKEN" |
|
|
|
|
value="{{token}}"> |
|
|
|
|
<input required type="file" |
|
|
|
|
name="STORAGE-FILES" multiple> |
|
|
|
|
<button class="be-gui-button-no-text" |
|
|
|
|
title="Click to upload files to storage" |
|
|
|
|
type="submit"> |
|
|
|
|
<img alt="Upload to Storage" |
|
|
|
|
src="/images/icons/up-arrow.png"> |
|
|
|
|
</button> |
|
|
|
|
</form> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="be-section-entries"> |
|
|
|
|
{% for item in storage-files %} |
|
|
|
|
<div class="be-section-entry"> |
|
|
|
|
<p>{{item.name | safe}}</p> |
|
|
|
|
<div class="be-entry-controls"> |
|
|
|
|
<a class="be-gui-link-no-text" |
|
|
|
|
title="Click to view '{{item.name}}'" |
|
|
|
|
href="/storage/view/media/{{item.slug}}"> |
|
|
|
|
<img alt="{{item.name}}" |
|
|
|
|
src="/images/icons/view-entry.png"> |
|
|
|
|
</a> |
|
|
|
|
{% if roles.administrator %} |
|
|
|
|
<form action="/storage/delete/{{item.slug}}" method="post"> |
|
|
|
|
<input required type="hidden" |
|
|
|
|
name="AUTHENTICITY-TOKEN" |
|
|
|
|
value="{{token}}"> |
|
|
|
|
<button class="be-gui-button-no-text" |
|
|
|
|
title="Click to delete '{{item.name}}'" |
|
|
|
|
type="submit"> |
|
|
|
|
<img alt="Delete Page" |
|
|
|
|
src="/images/icons/delete-entry.png"> |
|
|
|
|
</button> |
|
|
|
|
</form> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
{% endfor %} |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="be-dashboard-section"> |
|
|
|
|
<h2>Archive</h2> |
|
|
|
|
<div class="be-section-controls"> |
|
|
|
|