##// END OF EJS Templates
Merge pull request #1332 from astraw/alternate-url-prefix...
Merge pull request #1332 from astraw/alternate-url-prefix notebook - allow prefixes in URL path. This closes #1329. The basic idea is to allow prefixes in the path served. (E.g. serve on http://localhost:8888/ipython/ instead of http://localhost:8888/ ) This is useful for running the ipython notebook behind a proxy serving other content at other URLs. In that case, one would also need to proxy the websockets. Also, clean up some static paths in our html/css files by using template function calls instead of hardcoded paths.

File last commit:

r6002:382069c9
r6012:69c627ca merge
Show More
projectdashboard.html
43 lines | 1.1 KiB | text/html | HtmlLexer
{% extends layout.html %}
{% block title %}
IPython Dashboard
{% end %}
{% block stylesheet %}
<link rel="stylesheet" href="{{static_url("css/projectdashboard.css") }}" type="text/css" />
{% end %}
{% block meta %}
<meta name="read_only" content="{{read_only}}"/>
{% end %}
{% block params %}
data-project={{project}}
data-base-project-url={{base_project_url}}
data-base-kernel-url={{base_kernel_url}}
{% end %}
{% block content_panel %}
{% if logged_in or not read_only %}
<div id="content_toolbar">
<span id="drag_info">Drag files onto the list to import
notebooks.</span>
<span id="notebooks_buttons">
<button id="new_notebook">New Notebook</button>
</span>
</div>
{% end %}
<div id="notebook_list">
<div id="project_name"><h2>{{project}}</h2></div>
</div>
{% end %}
{% block script %}
<script src="{{static_url("js/notebooklist.js") }}" type="text/javascript" charset="utf-8"></script>
<script src="{{static_url("js/projectdashboardmain.js") }}" type="text/javascript" charset="utf-8"></script>
{% end %}