mirror of
https://github.com/Jackzmc/storage.git
synced 2025-05-12 12:03:14 +00:00
Finish moving to hbs
This commit is contained in:
parent
3147da7643
commit
7ff6e3cab4
7 changed files with 113 additions and 16 deletions
38
server/templates/libraries.html.hbs
Normal file
38
server/templates/libraries.html.hbs
Normal file
|
@ -0,0 +1,38 @@
|
|||
{{#> layouts/main }}
|
||||
<div class="">
|
||||
<h4 class="title is-4 is-inline">{{ library.name }} > Files</h4>
|
||||
<div class="is-pulled-right is-inline-block">
|
||||
<div class="buttons">
|
||||
<div class="button is-small">
|
||||
Display
|
||||
</div>
|
||||
<div class="button is-small">
|
||||
Sort
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="my-2">
|
||||
<table class="table is-fullwidth">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Name </td>
|
||||
<td>Size </td>
|
||||
<td>Last Updated </td>
|
||||
<td>Owner </td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each files }}
|
||||
<tr>
|
||||
<td class="px-4 py-4">
|
||||
<a href="{{ file_name }}">{{ file_name }}</a>
|
||||
</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Me</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{/layouts/main}}
|
Loading…
Add table
Add a link
Reference in a new issue