(control-service) Move Actions up in storage-details

Papercut fix. If a file storage area has a lot of files, you have to scroll down a long way to get to the actions otherwise.
This commit is contained in:
Viktor Lofgren 2023-09-02 15:41:55 +02:00
parent c68d17d482
commit 07d7507ac6

View File

@ -25,25 +25,6 @@
</table>
{{/with}}
{{#if storage.files}}
<h1>Contents </h1>
<table>
<tr>
<th>File Name</th>
<th>Last Mod</th>
<th>Size</th>
</tr>
{{#each storage.files}}
<tr>
<td>
<a href="/storage/{{storage.self.storage.id}}/file?name={{filename}}">{{filename}}</a>
<td>{{mTime}}</td>
<td>{{size}}</td>
</tr>
{{/each}}
</table>
{{/if}}
<h2>Actions</h2>
<table>
<tr>
@ -110,6 +91,26 @@
{{/if}}
{{/with}}
</table>
{{#if storage.files}}
<h1>Contents </h1>
<table>
<tr>
<th>File Name</th>
<th>Last Mod</th>
<th>Size</th>
</tr>
{{#each storage.files}}
<tr>
<td>
<a href="/storage/{{storage.self.storage.id}}/file?name={{filename}}">{{filename}}</a>
<td>{{mTime}}</td>
<td>{{size}}</td>
</tr>
{{/each}}
</table>
{{/if}}
{{#if storage.related}}
<h2>Related</h2>
<table>