Comments (11)
Yes, we should fix this. I'm not sure why this isn't working. I think this page should be inhereting from the 'page.html' but something does seem to be broken.
I'd bet @dsludwig knows what's up here.
from pangeo-binder.
If anyone wants to fix this in the next 10 minutes that would be great. 😜
from pangeo-binder.
It's due to the url prefix being a relative URL, which evaluates differently on different pages. #16 should fix it.
from pangeo-binder.
Hmmm, this still seems to be a problem. Will look into it more.
from pangeo-binder.
This appears to be now fixed.
from pangeo-binder.
from pangeo-binder.
You are right. I was looking at the wrong page
from pangeo-binder.
This is the URL we are looking for. It exists
https://binder.pangeo.io/extra_static/pangeo_simple_logo.svg
The logo link is rending as
<img id="logo" src="extra_static/pangeo_simple_logo.svg" width="390px" />
with a relative, rather than absolute, URL.
The problem is with these lines:
pangeo-binder/deploy/binder_config.yml
Lines 13 to 17 in b32b6bc
@minrk added the extra /
to url prefix. But it didn't work. Does it need to be in quotes perhaps?
from pangeo-binder.
@rabernat - I just tried with your attempt -- no joy!. Now the image is coming from: https://staging.binder.pangeo.io/v2/gh/jhamman/dask-examples/extra_static/pangeo_simple_logo.svg
So we need to strip out the repo info: https://staging.binder.pangeo.io/extra_static/pangeo_simple_logo.svg
from pangeo-binder.
@jhamman @rabernat I think the problem is in page.html
: https://github.com/pangeo-data/pangeo-custom-binderhub-templates/blob/master/templates/page.html#L22
Leading /
is missing. It should be like:
<img id="logo" src={% block logo_image %}"/extra_static/pangeo_simple_logo.svg"{% endblock logo_image %} width="390px" />
pangeo-data/pangeo-custom-binderhub-templates#2 didn't fix the logo in loading page because loading page uses loading.html
not index.html
.
I would also delete logo_image block
in index.html (https://github.com/pangeo-data/pangeo-custom-binderhub-templates/blob/master/templates/index.html#L10), since index.html is extending page.html and they have the same logo.
from pangeo-binder.
Thanks @bitnik. That gets us closer. Any idea why the change in pangeo-data/pangeo-custom-binderhub-templates@17bfade would cause the page header css to be stripped out?
from pangeo-binder.
Related Issues (20)
- 404 with nbgitpuller on pangeo gallery HOT 4
- New DockerHub Image retention policies will delete unused images after 6 months
- AWS BinderHub deploy failed on staging HOT 8
- Update prometheus-operator deployments HOT 5
- Failing deployment on AWS staging HOT 5
- Dask-Gateway Workers in CrashLoopBackOff HOT 2
- Patch setting of AWS credential file environment variable
- Can't set environment variables for dask-gateway HOT 1
- prod deployment failed on both AWS and GCP HOT 6
- Set cluster limits
- AWS binder failing to launch sessions due to SSL certificate problem HOT 3
- can't launch dask gateway cluster if image has dask-gateway>=0.9 HOT 7
- temporarily disabled aws binder due to bitcoin mining HOT 5
- Redirect problem with static file viewing
- Simple Pangeo binder spin up failing on provision HOT 4
- Launching server fails HOT 11
- Failing to build image (Docker Rate Limit for jupyter/repo2docker) HOT 3
- binder.pangeo.io shut down due to crypto mining HOT 7
- Unable to get AWS pangeo binder to work HOT 4
- Can't get R-based Conda environment to deploy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pangeo-binder.