##// END OF EJS Templates
Fix project path url in dashbord...
Bussonnier Matthias -
Show More
@@ -218,7 +218,9 b' class ProjectDashboardHandler(AuthenticatedHandler):'
218 nbm = self.application.notebook_manager
218 nbm = self.application.notebook_manager
219 project = nbm.notebook_dir
219 project = nbm.notebook_dir
220 template = self.application.jinja2_env.get_template('projectdashboard.html')
220 template = self.application.jinja2_env.get_template('projectdashboard.html')
221 self.write( template.render(project=project,
221 self.write( template.render(
222 project=project,
223 project_component=project.split('/'),
222 base_project_url=self.application.ipython_app.base_project_url,
224 base_project_url=self.application.ipython_app.base_project_url,
223 base_kernel_url=self.application.ipython_app.base_kernel_url,
225 base_kernel_url=self.application.ipython_app.base_kernel_url,
224 read_only=self.read_only,
226 read_only=self.read_only,
@@ -82,3 +82,8 b''
82 .ui-tabs .ui-tabs-nav li a {
82 .ui-tabs .ui-tabs-nav li a {
83 padding: .3em .5em;
83 padding: .3em .5em;
84 }
84 }
85
86 #project_name > .breadcrumb {
87 padding : 0;
88 background-color: transparent;
89 }
@@ -46,7 +46,13 b' data-read-only={{read_only}}'
46 {% endif %}
46 {% endif %}
47
47
48 <div id="notebook_list">
48 <div id="notebook_list">
49 <div id="project_name"><h2>{{project}}</h2></div>
49 <div id="project_name">
50 <ul class="breadcrumb">
51 {% for component in project_component %}
52 <li>{{component}} <span>/</span></li>
53 {% endfor %}
54 </ul>
55 </div>
50 </div>
56 </div>
51 </div>
57 </div>
52 <div id="tab2">
58 <div id="tab2">
General Comments 0
You need to be logged in to leave comments. Login now