Skip to content

Conversation

@polklabs
Copy link
Contributor

@polklabs polklabs commented May 8, 2025

Example of a working integration. Feel free to use this branch, expand on it, or go in another direction.

For pages that have multiple versions (dialing and address) right now. There are new configs options that allows users to pick which template to use. It also allows future expansion such as multiple versions of the dialing page (since they update the UI in the show every season)

*.htm, *.html and *.js files have been updated to href to /stargate/dial and /stargate/address_book instead of a direct link to the file.

web_server.py has been updated to check the config and send a redirect request to the proper template. Speed dialing query is preserved and works between default and retro templates.

I was testing on my pi and had it working. So I believe I copied all changes over to this branch.
Also included my retro files with minor changes for the integration.

There may be a better way to handle it rather than redirects but I didn't want to mess with the apachi config.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant