(control) UX polish

This commit is contained in:
Viktor Lofgren 2024-01-13 12:31:13 +01:00
parent 8dea7217a6
commit 81eaf79a25
2 changed files with 8 additions and 20 deletions

View File

@ -25,6 +25,12 @@
</tr> </tr>
{{/each}} {{/each}}
</table> </table>
<div class="m-3 p-3 border bg-light">
This lists the base paths for the storage object classes. If the index runs in a container,
these are the paths inside the container. If the index runs on a host, these are the paths
on the host.
</div>
</div> </div>
</body> </body>
{{> control/partials/foot-includes }} {{> control/partials/foot-includes }}

View File

@ -29,7 +29,7 @@
</tr> </tr>
<tr> <tr>
<th>Created</th> <th>Created</th>
<th>State</th> <th title="Tracks the storage objects last used">Used</th>
<th>Path</th> <th>Path</th>
<th>Description</th> <th>Description</th>
</tr> </tr>
@ -37,26 +37,8 @@
<tr> <tr>
<td title="{{timestampFull}}">{{timestamp}}</td> <td title="{{timestampFull}}">{{timestamp}}</td>
<td> <td>
{{#if storage.delete}}
<span title="This item will be deleted">DELETING</span>
{{/if}}
{{#if storage.new}}
<span title="This item is being created">NEW</span>
{{/if}}
{{#if storage.noState}}
<div class="form-check form-switch">
<label class="form-check-label" for="flexSwitchCheckDefault">Archived</label>
<input class="form-check-input" type="checkbox" id="flexSwitchCheckDefault">
</div>
{{/if}}
{{#if storage.active}} {{#if storage.active}}
<div class="form-check form-switch"> <span title="This storage object is used">&check;</span>
<label class="form-check-label" for="flexSwitchCheckDefault">Active</label>
<input class="form-check-input" type="checkbox" id="flexSwitchCheckDefault">
</div>
{{/if}} {{/if}}
</td> </td>
<td><a href="details?fid={{storage.id}}">{{relPath}}</a></td> <td><a href="details?fid={{storage.id}}">{{relPath}}</a></td>