Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GUI static file configuration parameters #138

Open
MJJoyce opened this issue Sep 6, 2019 · 0 comments
Open

Update GUI static file configuration parameters #138

MJJoyce opened this issue Sep 6, 2019 · 0 comments
Labels

Comments

@MJJoyce
Copy link
Member

MJJoyce commented Sep 6, 2019

The HTMLRoot state object currently pulls config from gui.html.directory. This used to be under the section where we customized the GUI. With the current plugin configuration this ends up as a stranded awkward chunk of configuration.

We should move this into the plugin configuration and update this object as needed in the GUI plugin __init__

class HTMLRoot:
    Static = pkg_resources.resource_filename('ait.gui', 'static/')
    User   = ait.config.get('gui.html.directory', Static)
Futabay pushed a commit that referenced this issue Oct 6, 2020
Futabay pushed a commit that referenced this issue Nov 3, 2020
Futabay pushed a commit that referenced this issue Nov 3, 2020
Futabay pushed a commit that referenced this issue Nov 3, 2020
Futabay pushed a commit that referenced this issue Nov 9, 2020
MJJoyce added a commit that referenced this issue Nov 16, 2020
Issue #138 - Update GUI static file configuration parameters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant