aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates
AgeCommit message (Collapse)Author
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>
2024-08-29Delete un-used css block in genewiki html template.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Update genewiki page to be the same as GN1.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Remove gn-entries from NCBI.Munyoki Kilyungi
Will re-add this section once the API is finalised. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Apply dj-lint jinja linter against genewiki.html.Munyoki Kilyungi
* gn2/wqflask/templates/genewiki.html: Run: ``` djlint gn2/wqflask/templates/genewiki.html \ --profile=jinja --reformat --format-css \ --format-js ``` Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Rename generif -> genewiki.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-29Add htmx js api for delete functionality.Alexander_Kabui
2024-08-29Fix bug: Update DOM correctly when rating error occurs.Alexander_Kabui
2024-08-29Mark answer and references as safe to render a tags.Alexander_Kabui
2024-08-29Add UI code for gnqa history search delete functionality.Alexander_Kabui
2024-08-29Update endpoints and add search history functionality.Alexander_Kabui
2024-08-29Refactor template code for gnqa search historyAlexander_Kabui
2024-08-28Set fixed width of 500px for phenotype descriptionszsloan
2024-08-28Fix timestamp attribute nameszsloan
They were previously stored as 'created_timestamp' and 'changed_timestamp', but are now stored as 'created' and 'changed'
2024-08-28Remove javascript escape function from View Collection page to fix encoding ↵zsloan
issues
2024-08-28fix: remove bearer token from html and javascriptJohn Nduli
2024-08-28fix: use bearer token to query auth serverJohn Nduli
2024-08-28Stop using the escape function for descriptions on the search result pagezsloan
Apparently escape is deprecated, and it's also introducing some issues. We may encounter other descriptions with problems as a result of this, but they should be fixed in a different way.
2024-08-28Change text for Block filtering options to Filter to more accurately reflect ↵zsloan
their current use
2024-08-28Add two new links to tutorials pagezsloan
2024-08-28fix: show no_data instead of Loading when there is no results from searchJohn Nduli
2024-08-28fix: correct javascript if statementJohn Nduli
2024-08-28fix: datatables error when search returns empty resultJohn Nduli
2024-08-28Add link to GeneCup to tool buttonszsloan
This also includes a function for converting a list of traits/datasets to symbols, which was added to trait.py
2024-08-28Link to global search syntax document as markdown on githubzsloan
2024-08-28Automatically decide whether to use Xapian or SQL (uses Xapian if possible) ↵zsloan
+ remove separate search button Change logic so that SQL is used for non-term Publish searches, since searches for phenotype trait IDs currently don't work in Xapian
2024-08-28Set default value for Mean and Additive Effectzsloan
2024-08-28Add default value for location and symbolzsloan
Adding these in the DataTables column definitions is convenient because it means they don't need to be dealt with in the Python code
2024-08-28Add separate button for Xapian searchzsloan
This will be temporary in the longer run, but can stay until all functionality is reproduced.
2024-08-28Remove flawed "group role" idea: use just "role".Frederick Muriuki Muriithi
2024-08-28Remove deprecated endpoints/views and templatesFrederick Muriuki Muriithi
2024-08-28Fix error display logicFrederick Muriuki Muriithi
2024-08-28Create a new resource role.Frederick Muriuki Muriithi
2024-08-28Provide UI to delete role.Frederick Muriuki Muriithi
2024-08-28List user assigned role of interest.Frederick Muriuki Muriithi
2024-08-28Organise UI into rows: each row holding related data.Frederick Muriuki Muriithi
2024-08-28Unassign privilege from resource role.Frederick Muriuki Muriithi
2024-08-28Implement "Resource Role Page"Frederick Muriuki Muriithi
Show the page, providing all UI elements necessary, even if the elements themselves are not active.
2024-08-28Simplify 'View-Resource page' UIFrederick Muriuki Muriithi
Get rid of the resource role details and provide button-like elements to help navigate to view more details.
2024-08-28PoC: Display resource roles on View-Resource page.Frederick Muriuki Muriithi
2024-08-28Update UI: Use resource roles rather than obsolete group rolesFrederick Muriuki Muriithi
In a fix to fix a privilege-escalation bug, the `…/group/roles` endpoint was entirely removed and replaced with the less error-prone `…/resource/…/roles` endpoint. This commit updates the code to use the new endpoint's data as appropriate. We also fix typos in some url_for routing arguments.
2024-08-28UI: Add placeholder for resource rolesFrederick Muriuki Muriithi
2024-08-28Remove the "Roles" page.Frederick Muriuki Muriithi
2024-08-28Build search URI endpoint on server rather than on JSFrederick Muriuki Muriithi
To help with maintenance, build the search URI on the server rather than in the javascript.
2024-08-28Build phenotype results template URI on backendFrederick Muriuki Muriithi
Build the template URI on the backend to remove the need to remember to update the javascript if the URI changes in the future.
2024-08-28Change default for Mean Expr filter to OR for correlations to avoid ↵zsloan
excluding any results when the page first loads
2024-08-28Remove styling for search field.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-28Revert "Feature/gnqa search history"Alexander Kabui
2024-08-26Set fixed width of 500px for phenotype descriptionszsloan
2024-08-21Fix timestamp attribute nameszsloan
They were previously stored as 'created_timestamp' and 'changed_timestamp', but are now stored as 'created' and 'changed'