Age | Commit message (Collapse) | Author |
|
Added a new edit functionality and page with styling.
Other minor changes:
- Added assets folder served under /static/
- Created a new template edit.html
- grouped ideas.html and edit.html under t_idea
- Changed router to use mux and organized routes
- Added more checks on empty titles
- Added javascript to t_idea/index.html for intuitive button
functionality
|
|
|
|
- Added a delete button next to each idea instead of deleting them by
name
- Changed Post to Think
- Added a text when there are no ideas
- Added more CSS for the create
- Added checks for denying empty fields
|
|
- Also added sending back errors to the template for displaying what
went wrong.
- Renamed Description to Text
- Added Delete operation for an idea
- Removed Store type because it had no real value
|
|
The data file uses a version number for debugging and is serialized into
a data file, for now this is good enough but because of encapsulating
the data in a struct there is no convenient way of appending to the
Ideas slice.
- Removed the Rating as it is not really constructive.
- Added handling of SIGINT to keep the data even on exit from air of
Ctrl-c
- Removed example data
- Use log instaed of fmt everywhere
- Removed Makefile
|
|
|