NASA-AMMOS / NASA-AMMOS/AIT-GUI
Additional page routes and Bottle templates
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 31
- Forks
- 15
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
@jordanpadams ran into an issue with templates rendering when trying to make an additional page. Adding another page (such as /query.html) that contains a template results in the template rendering as the include tag instead of the content.
% include('navbar.html')
Not sure if this is related to the way we're handling pages (currently only / returns a page) and static files, file naming conventions (E.g., .tpl instead of .html), or both.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace how the root route / is handled, then inspect the handling of static files and Bottle templates. Compare the behavior of an additional route such as /query.html and the navbar.html include; done means the new page renders template content rather than the include tag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100