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
Local battery template overrides experiment's style.css #70
Comments
Agreed, the user style needs to come first. We can't assume, however that the |
Yeah, it's probably a better solution if the user style is the last thing in the template. |
This sounds good to me. Would you like to PR with the change? |
I would, but I can't figure out how that template is built. |
I believe it's here: https://github.com/expfactory/expfactory-battery/blob/master/templates/exp.html |
How is that used to build |
Ah apologies - it isn't! I think we want this one from the other repository: https://github.com/expfactory/expfactory-python/blob/master/expfactory/templates/localbattery.html Apologies, it's been a while! |
:) No worries. Might be easier for you to commit than process a PR for such a small change? |
good idea :) All set : https://github.com/expfactory/expfactory-python/blob/master/expfactory/templates/localbattery.html Give it a try! |
Something not quite right with that. Looks like |
I haven't worked on this project in years, and I'm trying to help out because my colleagues are silent. If you would be able to, it would be great for you to test this and do a PR since others will likely have the same trouble. Thanks! |
PR submitted. |
I'm not sure how the templates are generated, but the installed
localbattery.html
(2.5.47) contains:This refers to
default_style.css
after an experiment'sstyle.css
making it awkward to override styles (e.g. experiment background colour). As the canonicalconfig.json
includesdefault_style.css
beforestyle.css
it looks like the reference in the template should be removed.The text was updated successfully, but these errors were encountered: