feat: show creating time in file upload overview

Closes: gh-1551
This commit is contained in:
Nanne Baars
2023-12-04 10:17:34 +01:00
parent c7c2a61f65
commit 3d651526be
3 changed files with 35 additions and 21 deletions

View File

@ -1,8 +1,8 @@
server.error.include-stacktrace=always
server.error.path=/error.html
server.servlet.context-path=${webwolf.context}
server.port=${WEBWOLF_PORT:9090}
server.address=0.0.0.0
server.port=${webwolf.port}
server.address=${webwolf.host}
spring.application.name=WebWolf
webwolf.host=${WEBWOLF_HOST:127.0.0.1}

View File

@ -51,16 +51,15 @@
<tr>
<th>Filename</th>
<th>Size</th>
<th>Link</th>
<th>Creation time</th>
</tr>
</thead>
<tbody>
<tr th:each="f : ${files}">
<td th:text="${f.name}">filename</td>
<td th:text="${f.size}">size</td>
<td><a th:id="fileLink" th:href="@{'/' + ${f.link}}">link</a>
<span class="fa fa-files-o" title="Click to copy to clipboard"></span>
<td><a th:id="fileLink" th:href="@{'/' + ${f.link}}" th:text="${f.name}">link</a>
</td>
<td th:text="${f.size}">size</td>
<td th:text="${f.creationTime}">creation time</td>
</tr>
</tbody>
</table>