NASA-AMMOS / NASA-AMMOS/AIT-GUI

Additional page routes and Bottle templates

Open
#58 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.