aboutsummaryrefslogtreecommitdiff
path: root/t_idea/edit.html
Commit message (Collapse)AuthorAgeFilesLines
* Split server code and http codeRaymaekers Luca2024-10-121-45/+0
| | | | | | | | | | | | | | | | | | | | | | | | Create multiple instances of Ideez by running NewIdeez(), after creating they can be added to the Ideezes slice to manage them. NewIdeez() imports the data and registers the routes. main.go has the code for managing the instances and server.go has the code coupled to a single instance. For eg. main.go has the code which checks files with .data extension in data directory, and imports servers on startup. - Add import functionality - Add nginx configuration - Add style and copy animation - Check for https with "X-Forwarded-Proto" - Change assets and templates to reflect the new id change - Change port to 15118 - Add Id field to Idea - Do not check for duplicate titles anymore - Extract ideez_servers into const variable - Extract documentation in doc.go - Rename Server -> Ideez - Rename t_idea/ -> templates/ - Fix cancel not working with form by using javascript instead - Set logger prefix in different contexts
* Change CreatedAt to LastUpdatedRaymaekers Luca2024-10-091-1/+1
| | | | - The field now changes when the idea is edited.
* Fixed edit function not working because js bsRaymaekers Luca2024-10-061-1/+1
| | | | | Because for loop would declare a global variable, the closures would use the el of previous scope.
* Fixed css stylingRaymaekers Luca2024-09-291-1/+6
| | | | Updated the edit page such that the input areas would not overflow.
* Added og meta tagsRaymaekers Luca2024-09-291-0/+2
|
* Added edit functionalityv0.1.0Raymaekers Luca2024-09-291-0/+38
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