Styled book form and added an ux dropzone component.

This commit is contained in:
krzysiej
2022-05-31 14:34:47 +02:00
parent 040c82831b
commit 9817aa4c3f
14 changed files with 211 additions and 25 deletions

View File

@@ -21,7 +21,7 @@
</tr>
<tr>
<th>Description</th>
<td>{{ book.description }}</td>
<td>{{ book.description | nl2br }}</td>
</tr>
<tr>
<th>Publisher</th>
@@ -39,7 +39,7 @@
<tr>
<th>Id</th>
<th>File name</th>
<th>File size</th>
<th class="text-end">File size</th>
<th>Extension</th>
<th>Download</th>
<th>Remove</th>
@@ -50,7 +50,7 @@
<tr>
<td>{{ file.id }}</td>
<td>{{ file.fileName }}</td>
<td>{{ file.fileSize | bytes_format }}</td>
<td class="text-end">{{ file.fileSize | bytes_format }}</td>
<td>{{ file.extension }}</td>
<td><a href="{{ path('app_file_download', {id: file.id }) }}" class="link-secondary">download</a></td>
<td><a href="{{ path('app_file_delete', {id: file.id}) }}" class="link-danger">remove</a></td>