Answering my own post (partially) for anyone who comes later
The hub seems to use this version of the file
/usr/local/share/jupyter/hub/static/css/style.min.css
on my AWS instance (deployed following these instructions https://github.com/jupyterhub/jupyterhub/wiki/Deploying-JupyterHub-on-AWS) but you do need to restart to have changes reflected. Also need to still figure out how to customize the docker-spawned single user notebooks that seem to be using a drive mounted from somewhere still TBD
On Wednesday, August 3, 2016 at 10:25:35 AM UTC-7, Ted Liefeld wrote:I am installing a jupyterhub (using custom auth and dockerspawner) for a project and we would like to customize the css for the hub and the notebooks. I can't seem to find any docs that indicate where I can find the css and there are ~30 different files matching style.min.css on my installation. Can someone point me to a doc on customizing the jupyterhub appearance or suggest what the right path is for the css?
Running jupyterhub 0.6.1 fwiw
Thanks
Ted
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/3ce01808-6fe9-4902-8d26-39136107511f%40googlegroups.com.
On Wed, Aug 3, 2016 at 8:02 PM, Ted Liefeld <lie...@broadinstitute.org> wrote:Answering my own post (partially) for anyone who comes later
The hub seems to use this version of the file
/usr/local/share/jupyter/hub/static/css/style.min.cssThat's the default installation location, yes. For customization, one option is to edit the LESS files in the JupyterHub repo prior to installation, then run:python setup.py css
on my AWS instance (deployed following these instructions https://github.com/jupyterhub/jupyterhub/wiki/Deploying-JupyterHub-on-AWS) but you do need to restart to have changes reflected. Also need to still figure out how to customize the docker-spawned single user notebooks that seem to be using a drive mounted from somewhere still TBDThe default spawner doesn't mount any volumes, but you can ask it to via configuration.
On Wednesday, August 3, 2016 at 10:25:35 AM UTC-7, Ted Liefeld wrote:I am installing a jupyterhub (using custom auth and dockerspawner) for a project and we would like to customize the css for the hub and the notebooks. I can't seem to find any docs that indicate where I can find the css and there are ~30 different files matching style.min.css on my installation. Can someone point me to a doc on customizing the jupyterhub appearance or suggest what the right path is for the css?
Running jupyterhub 0.6.1 fwiw
Thanks
Ted
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
Answering myself again...
in the hub you can add this to the logout button of the template
{{user.orm_user.name}}
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/6d3e71a0-919e-4151-bc2e-cb2ffa380aa6%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/32256b91-71c4-4103-a594-96fc76e75c19%40googlegroups.com.
var username = (""+ window.location).split('/')[4];
$('#logout').html( "Logout " + username)
c.DockerSpawner.volumes = {
'<PATH TO DIRECTORY WITH custom.js ON HUB SERVER>':'/opt/conda/lib/python3.5/site-packages/notebook/static/custom',
}