aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/wiki
AgeCommit message (Collapse)Author
2024-09-26feat: Modify templates to extend from index_page.Alexander_Kabui
* This ensures we have the global search functionality included for all.
2024-09-19Add a page for searching GeneWiki by symbol.Munyoki Kilyungi
* gn2/wqflask/templates/wiki/search.html: New template. * gn2/wqflask/views.py (search_wiki): New end-point. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-17fix: ui redesign with history button and ignore default web_url valueJohn Nduli
2024-09-17feat: hide edit button if user isnt logged inJohn Nduli
2024-09-17feat: show edit button in view rif pageJohn Nduli
2024-09-17feat: prefill email in edit rifJohn Nduli
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>