aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/wiki
AgeCommit message (Collapse)Author
2024-09-05Remove duplicate sections in wiki history page.Munyoki Kilyungi
* gn2/wqflask/templates/wiki/history.html: Use a for loop to remove duplicate section. * gn2/wqflask/views.py (display_wiki_history): Pass all the entries directly into the template. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-05Display rows even if they dont exist.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-05Switch for dot access when accessing array elements in template.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-05Delete css block in wiki/history template.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-05Use div-adjacent element instead of hard-coding the table width.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-05Use bootstrap's contextual text colors.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-05Remove un-necessary "if" checks in comment history page.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-05Limit the table width to some set maximum width.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-05Add history button.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-05Add comment history page.Munyoki Kilyungi
* gn2/wqflask/templates/wiki/history.html: New page. * gn2/wqflask/views.py (display_wiki_history): New function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29refactor: drop monad_requests and mark required fieldsJohn Nduli
2024-08-29feat: add post actions for editting wiki contentJohn Nduli
2024-08-29feat: add template for editting wikiJohn Nduli
2024-08-29Handle errors correctly during wiki entry fetch.Munyoki Kilyungi
* gn2/wqflask/templates/wiki/genewiki.html: Flash messages during errors. * gn2/wqflask/views.py (display_genewiki_page): Use "raise_for_status()" to handle errors. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Move genewiki template to wiki template folder.Munyoki Kilyungi
* gn2/wqflask/templates/genewiki.html: Move this... * gn2/wqflask/templates/genewiki.html: ... here. * gn2/wqflask/views.py (display_genewiki_page): Update the render_template page. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>