File upload and persistence extension
- index.html extended with form input - pasta.html and pastalist.html show link to /file/{pasta.id}/{filename} path - files are saved in pasta_data folder - all data is now stored in pasta_data/database.json - changed pastalist.html date format to exclude year - added custom 404 error handler
This commit is contained in:
parent
c98aad7256
commit
36fa6598a8
9 changed files with 371 additions and 223 deletions
10
templates/error.html
Normal file
10
templates/error.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% include "header.html" %}
|
||||
<br>
|
||||
<h2>404</h2>
|
||||
<b>Not Found</b>
|
||||
<br>
|
||||
<br>
|
||||
<a href="/" > Go Home</a>
|
||||
<br>
|
||||
<br>
|
||||
{% include "footer.html" %}
|
Loading…
Add table
Add a link
Reference in a new issue