feat: add logs
This commit is contained in:
parent
c40bdcbbed
commit
305bf8b571
11 changed files with 690 additions and 468 deletions
|
|
@ -16,7 +16,7 @@
|
|||
<%~ include('/workshop/sidebar', it) %>
|
||||
</div>
|
||||
<div id="main-editor" class="flex flex-grow flex-col">
|
||||
<h1>Files</h1>
|
||||
<h1 class="text-lg">Files</h1>
|
||||
<div>
|
||||
<form hx-encoding='multipart/form-data' hx-post='/workshop/<%= it.structure.id %>/files' hx-target="#files-list" hx-swap="afterbegin" _='on htmx:xhr:progress(loaded, total) set #progress.value to (loaded/total)*100'>
|
||||
<input type='file' name='file'>
|
||||
|
|
@ -39,4 +39,4 @@
|
|||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue