Answering myself again...
in the hub you can add this to the logout button of the template
{{user.orm_user.name}}
Still working on the docker image to see if it will work there too
On Thursday, August 4, 2016 at 11:08:39 AM UTC-7, Ted Liefeld wrote:
>
> On a related note,
>
> how can I access the current username so that I can change the logout
> button to be "Logout {username}" (a feature requested for my server by the
> management...
>
> Thanks
>
> On Thursday, August 4, 2016 at 4:04:48 AM UTC-7, Min RK wrote:
>>
>>
>>
>> On Wed, Aug 3, 2016 at 8:02 PM, Ted Liefeld <[email protected]>
>> 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.css
>>>
>>
>> That'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 TBD
>>>
>>
>> The 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 [email protected].
>>> To post to this group, send email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jupyter/3ce01808-6fe9-4902-8d26-39136107511f%40googlegroups.com
>>>
>>> <https://groups.google.com/d/msgid/jupyter/3ce01808-6fe9-4902-8d26-39136107511f%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/6d3e71a0-919e-4151-bc2e-cb2ffa380aa6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.