diff options
author | xengineering <me@xengineering.eu> | 2023-03-31 20:41:48 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-03-31 21:46:53 +0200 |
commit | 39298f14d366b351708e7f5ef30d1b6575155792 (patch) | |
tree | 0973ec7cc3722661e3463280870f31a295b36dc8 /data/templates/add.html | |
parent | f1308a436040f3a72e058e10ec2693cfb599da30 (diff) | |
download | ceres-39298f14d366b351708e7f5ef30d1b6575155792.tar ceres-39298f14d366b351708e7f5ef30d1b6575155792.tar.zst ceres-39298f14d366b351708e7f5ef30d1b6575155792.zip |
Reduce to ID and Markdown
The upstream URL can be encoded easily by the user in the Markdown-based
description. The title can be parsed by the first found top-level
heading in the Markdown text.
Thus these two columns are no longer used. To avoid an additional
migration they will be kept in the database.
Diffstat (limited to 'data/templates/add.html')
-rw-r--r-- | data/templates/add.html | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/data/templates/add.html b/data/templates/add.html deleted file mode 100644 index 0282ef0..0000000 --- a/data/templates/add.html +++ /dev/null @@ -1,29 +0,0 @@ -<!DOCTYPE html> - -<html> - - {{ template "head.html" }} - - <body> - - <header> - <nav> - <a href="/index.html">HOME</a> - </nav> - <h1>Add a recipe</h1> - </header> - - <main> - <form action="/add_recipes" method="post"> - <input placeholder="Title" type="text" id="custom_title" name="title"><br> - <input placeholder="Link (optional)" type="text" id="custom_link" name="url"><br> - <button type="submit">add</button> - </form> - - {{ template "footer.html" }} - - </main> - - </body> - -</html> |