<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">So, <div class=""><br class=""></div><div class=""><br class=""></div><div class="">Have look at this repo : </div><div class=""><br class=""></div><div class=""><a href="https://github.com/jupyter/docker-demo-images" class="">https://github.com/jupyter/docker-demo-images</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">you see in particular that you can extend the page template: </div><div class=""><br class=""></div><div class=""><a href="https://github.com/jupyter/docker-demo-images/blob/feea0967a3493a7ebe514f53084d84a7c8bfe88c/common/templates/page.html" class="">https://github.com/jupyter/docker-demo-images/blob/feea0967a3493a7ebe514f53084d84a7c8bfe88c/common/templates/page.html</a></div><div class=""><br class=""></div><div class="">(only line 1 and 16-20 of interest) that you can put somewhere on your hard drive:</div><div class=""><br class=""></div><div class="">```/path/to/your/templates/page.html</div><div class=""><br class="">{% extends "templates/page.html" %}<br class=""><br class="">{% block header_buttons %}<br class=""> <span id="login_widget"><br class=""> <a class="pull-right" style=“...”>YouText</a><br class=""> </span><br class="">{% endblock %}</div><div class="">```</div><div class=""><br class=""></div><div class="">and then extend the template search path as in here:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/jupyter/docker-demo-images/blob/feea0967a3493a7ebe514f53084d84a7c8bfe88c/common/profile_default/ipython_notebook_config.py#L17" class="">https://github.com/jupyter/docker-demo-images/blob/feea0967a3493a7ebe514f53084d84a7c8bfe88c/common/profile_default/ipython_notebook_config.py#L17</a></div><div class=""><br class=""></div><div class="">c.NotebookApp.extra_template_paths = [‘/path/to/your/templates/‘]</div><div class=""><br class=""></div><div class="">You can put text, image, or anything else that will apply to all your pages. </div><div class="">You can also overwrite other template blocks. </div><div class=""><br class=""></div><div class="">The JupyterHub case for 1 person many servers is an interesting one. </div><div class="">I would bring it up as an issue on JupyterHub see if there are some abstractions we can</div><div class="">improve. </div><div class=""><br class=""></div><div class="">-- </div><div class="">M</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 6, 2015, at 09:35, Jon Wilson <<a href="mailto:jsw@fnal.gov" class="">jsw@fnal.gov</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">I run multiple notebook servers because there are several different <br class="">analysis machines that I use. One here at A&M that is actually the head <br class="">node of a cluster, three different machines at Stanford, one or more at <br class="">Fermilab. Different data and different computational capabilities are <br class="">available in different places. Some machines are available for analysis <br class="">of data from my current experiment, and some only for data from my <br class="">previous experiment. So on and so forth.<br class="">Regards,<br class="">Jon<br class=""><br class="">On 08/06/2015 11:30 AM, Matthias Bussonnier wrote:<br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">On Aug 6, 2015, at 09:19, G Jones <<a href="mailto:glenn.caltech@gmail.com" class="">glenn.caltech@gmail.com</a>> wrote:<br class=""><br class="">Hi,<br class="">I run ipython notebook servers on several different machines, and then set up ssh tunnels from my personal machine to access the notebook servers in my browser. The trouble is I have so many now that I am forgetting which port number corresponds to which notebook server. So I'd like to add a bit of text to the dashboard that says at least the machine name, and preferably some other identifying info, in case I have two servers running on the same machine. Is there an easy way to do this? I looked at the generate_page_title function in html/tree/handlers.py, but it seems to be hard coded to return either Home or the current directory path. Is there something built in configurable? I'd like to avoid having to do anything specialized as much as possible. I'm running ipython 3.1.0, but could upgrade if this feature is available in a newer version.<br class=""><br class=""></blockquote><br class="">Out of curiosity, why are you running multiple servers ?<br class=""><br class="">One server should be enough to browse all your hard drive and have access to many kernel ?<br class=""><br class="">If you really need multiple server, it might be possible to host them behind a jupyterHub modified instance so that they are behind a unique port,<br class="">but at different urls.<br class="">Would that suit you ?<br class=""><br class=""></blockquote><br class="">_______________________________________________<br class="">IPython-dev mailing list<br class=""><a href="mailto:IPython-dev@scipy.org" class="">IPython-dev@scipy.org</a><br class="">http://mail.scipy.org/mailman/listinfo/ipython-dev<br class=""></div></blockquote></div><br class=""></div></body></html>