##// END OF EJS Templates
TEST: Add test for handling of last_modified....
TEST: Add test for handling of last_modified. Saving should increment last_modified. Renaming should not. Noticed because incrementing last_modified on rename results in a scary error message from the frontend.

File last commit:

r20780:349e0a61
r20834:08ff7191
Show More
tree.html
187 lines | 9.0 KiB | text/html | HtmlLexer
Brian E. Granger
More work on the less setup.
r10706 {% extends "page.html" %}
Stefan van der Walt
Use template inheritance.
r5324
Brian E. Granger
Nice dashboard page titles like /.../examples/notebooks/
r15085 {% block title %}{{page_title}}{% endblock %}
Stefan van der Walt
Use template inheritance.
r5324
Stefan van der Walt
Add logout button.
r5325
{% block params %}
Brian Granger
Major refactoring of notebook....
r6193
MinRK
s/base_project_url/base_url/...
r15238 data-base-url="{{base_url}}"
MinRK
quote data attributes...
r13061 data-notebook-path="{{notebook_path}}"
Thomas Kluyver
Only display terminals in dashboard if terminals are available
r18557 data-terminals-available="{{terminals_available}}"
Brian Granger
Major refactoring of notebook....
r6193
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endblock %}
Stefan van der Walt
Use template inheritance.
r5324
Brian Granger
Major refactoring of notebook....
r6193
Brian Granger
Refactoring templates and top level js/css organization.
r6192 {% block site %}
Bussonnier Matthias
just indent everythin twice
r19478 <div id="ipython-main-app" class="container">
<div id="tab_content" class="tabbable">
<ul id="tabs" class="nav nav-tabs">
Jonathan Frederic
s/Notebooks/Files
r19574 <li class="active"><a href="#notebooks" data-toggle="tab">Files</a></li>
Paul Ivanov
put Running tab on the page
r15380 <li><a href="#running" data-toggle="tab">Running</a></li>
MinRK
use named tabs in tree
r10928 <li><a href="#clusters" data-toggle="tab">Clusters</a></li>
Bussonnier Matthias
just indent everythin twice
r19478 </ul>
<div class="tab-content">
<div id="notebooks" class="tab-pane active">
<div id="notebook_toolbar" class="row">
Matthias Bussonnier
a few 1 pixel fixes....
r19703 <div class="col-sm-8 no-padding">
Jonathan Frederic
Add dynamic instructions
r20779 <div class="dynamic-instructions">
Select items to perform actions on them.
</div>
Jonathan Frederic
Move upload to the right and dynamic buttons to the left.
r20777 <div class="dynamic-buttons">
<button title="Duplicate selected" class="duplicate-button btn btn-default btn-xs">Duplicate</button>
<button title="Rename selected" class="rename-button btn btn-default btn-xs">Rename</button>
<button title="Shutdown selected notebook(s)" class="shutdown-button btn btn-default btn-xs btn-warning">Shutdown</button>
<button title="Deleted selected" class="delete-button btn btn-default btn-xs btn-danger"><i class="fa fa-trash"></i></button>
</div>
Matthias Bussonnier
a few 1 pixel fixes....
r19703 </div>
<div class="col-sm-4 no-padding tree-buttons">
Jonathan Frederic
New new button
r19694 <div class="pull-right">
Jonathan Frederic
Move upload to the right and dynamic buttons to the left.
r20777 <form id='alternate_upload' class='alternate_upload'>
<span id="notebook_list_info">
<span class="btn btn-xs btn-default btn-upload">
Jonathan Frederic
Add tooltip on the upload button.
r20780 <input title="Click to browse for a file to upload." type="file" name="datafile" class="fileinput" multiple='multiple'>
Jonathan Frederic
Move upload to the right and dynamic buttons to the left.
r20777 Upload
</span>
</span>
</form>
Jonathan Frederic
New new button
r19694 <div id="new-buttons" class="btn-group">
Min RK
Add kernel-select dropdown to new notebook button...
r19260 <button class="dropdown-toggle btn btn-default btn-xs" data-toggle="dropdown">
Jonathan Frederic
New new button
r19694 <span>New</span>
Bussonnier Matthias
just indent everythin twice
r19478 <span class="caret"></span>
Min RK
Add kernel-select dropdown to new notebook button...
r19260 </button>
Jonathan Frederic
New new button
r19694 <ul id="new-menu" class="dropdown-menu">
<li role="presentation" id="new-file">
Bussonnier Matthias
rename "new-file" to "new > text file"...
r20143 <a role="menuitem" tabindex="-1" href="#">Text File</a>
Jonathan Frederic
New new button
r19694 </li>
<li role="presentation" id="new-folder">
<a role="menuitem" tabindex="-1" href="#">Folder</a>
</li>
Jonathan Frederic
New Terminal into new new button
r20000 {% if terminals_available %}
<li role="presentation" id="new-terminal">
<a role="menuitem" tabindex="-1" href="#">Terminal</a>
</li>
Min RK
Indicate that terminals are unavailable...
r20099 {% else %}
<li role="presentation" id="new-terminal-disabled" class="disabled">
<a role="menuitem" tabindex="-1" href="#">Terminals Unavailable</a>
</li>
Jonathan Frederic
New Terminal into new new button
r20000 {% endif %}
Jonathan Frederic
Reverse order of file/folder and notebooks in new menu
r19697 <li role="presentation" class="divider"></li>
<li role="presentation" class="dropdown-header" id="notebook-kernels">Notebooks</li>
Jonathan Frederic
New new button
r19694 </ul>
Min RK
Add kernel-select dropdown to new notebook button...
r19260 </div>
Matthias Bussonnier
ungroup button on dashboard...
r19687 <div class="btn-group">
<button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button>
</div>
Bussonnier Matthias
emit valid html:...
r19477 </div>
Brian E. Granger
Tighten spacing of dashboard.
r15077 </div>
Bussonnier Matthias
just indent everythin twice
r19478 </div>
<div id="notebook_list">
<div id="notebook_list_header" class="row list_header">
Mathieu
keep only basic changes...
r20396 <div class="btn-group dropdown" id="tree-selector">
Mathieu
add tooltips
r20398 <button title="Select All / None" type="button" class="btn btn-default btn-xs" id="button-select-all">
Mathieu
keep only basic changes...
r20396 <input type="checkbox" class="pull-left tree-selector" id="select-all"><span id="counter-select-all">&nbsp;</span></input>
Mathieu
add select-all badge
r20359 </button>
Mathieu
add tooltips
r20398 <button title="Select..." class="btn btn-default btn-xs dropdown-toggle" type="button" id="tree-selector-btn" data-toggle="dropdown" aria-expanded="true">
Jonathan Frederic
Address comments,...
r20321 <span class="caret"></span>
Mathieu
streamline tree-selector menu using checkboxes...
r20343 <span class="sr-only">Toggle Dropdown</span>
Jonathan Frederic
Address comments,...
r20321 </button>
Mathieu
keep only basic changes...
r20396 <ul id='selector-menu' class="dropdown-menu" role="menu" aria-labelledby="tree-selector-btn">
Mathieu
add tooltips
r20398 <li role="presentation"><a id="select-folders" role="menuitem" tabindex="-1" href="#" title="Select All Folders"><i class="menu_icon folder_icon icon-fixed-width"></i> Folders</a></li>
<li role="presentation"><a id="select-notebooks" role="menuitem" tabindex="-1" href="#" title="Select All Notebooks"><i class="menu_icon notebook_icon icon-fixed-width"></i> All Notebooks</a></li>
<li role="presentation"><a id="select-running-notebooks" role="menuitem" tabindex="-1" href="#" title="Select Running Notebooks"><i class="menu_icon running_notebook_icon icon-fixed-width"></i> Running</a></li>
<li role="presentation"><a id="select-files" role="menuitem" tabindex="-1" href="#" title="Select All Files"><i class="menu_icon file_icon icon-fixed-width"></i> Files</a></li>
Jonathan Frederic
Address comments,...
r20321 </ul>
</div>
MinRK
use row-fluid for tree_list
r10919 <div id="project_name">
Bussonnier Matthias
Fix project path url in dashbord...
r9275 <ul class="breadcrumb">
Bussonnier Matthias
just indent everythin twice
r19478 <li><a href="{{breadcrumbs[0][0]}}"><i class="fa fa-home"></i></a></li>
{% for crumb in breadcrumbs[1:] %}
<li><a href="{{crumb[0]}}">{{crumb[1]}}</a></li>
{% endfor %}
Bussonnier Matthias
Fix project path url in dashbord...
r9275 </ul>
MinRK
fight with bootstrap a little less in tree view
r10911 </div>
Bussonnier Matthias
just indent everythin twice
r19478 </div>
MinRK
use row-fluid for tree_list
r10919 </div>
</div>
Bussonnier Matthias
just indent everythin twice
r19478 <div id="running" class="tab-pane">
<div id="running_toolbar" class="row">
MinRK
move some responsive bootstrap transitions...
r17358 <div class="col-sm-8 no-padding">
Jonathan Frederic
Remove terminals page of the dashboard,...
r19992 <span id="running_list_info">Currently running Jupyter processes</span>
Paul Ivanov
put Running tab on the page
r15380 </div>
MinRK
move some responsive bootstrap transitions...
r17358 <div class="col-sm-4 no-padding tree-buttons">
Bussonnier Matthias
just indent everythin twice
r19478 <span id="running_buttons" class="pull-right">
<button id="refresh_running_list" title="Refresh running list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button>
</span>
Paul Ivanov
put Running tab on the page
r15380 </div>
Bussonnier Matthias
just indent everythin twice
r19478 </div>
Jonathan Frederic
Put lists in an accordion
r19993 <div class="panel-group" id="accordion" >
<div class="panel panel-default">
<div class="panel-heading">
<a data-toggle="collapse" data-target="#collapseOne" href="#">
Terminals
</a>
</div>
<div id="collapseOne" class=" collapse in">
<div class="panel-body">
Min RK
Indicate that terminals are unavailable...
r20099 <div id="terminal_list">
Peter Parente
Fix empty running table background...
r20447 <div id="terminal_list_header" class="row list_placeholder">
Min RK
Indicate that terminals are unavailable...
r20099 {% if terminals_available %}
<div> There are no terminals running. </div>
{% else %}
<div> Terminals are unavailable. </div>
Jonathan Frederic
Put lists in an accordion
r19993 {% endif %}
Min RK
Indicate that terminals are unavailable...
r20099 </div>
</div>
Jonathan Frederic
Put lists in an accordion
r19993 </div>
</div>
Thomas Kluyver
Add list of available terminals in the dashboard
r18555 </div>
Jonathan Frederic
Put lists in an accordion
r19993 <div class="panel panel-default">
<div class="panel-heading">
<a data-toggle="collapse" data-target="#collapseTwo" href="#">
Notebooks
</a>
</div>
<div id="collapseTwo" class=" collapse in">
<div class="panel-body">
<div id="running_list">
Peter Parente
Fix empty running table background...
r20447 <div id="running_list_placeholder" class="row list_placeholder">
Jonathan Frederic
Put lists in an accordion
r19993 <div> There are no notebooks running. </div>
</div>
</div>
</div>
</div>
Jonathan Frederic
Remove terminals page of the dashboard,...
r19992 </div>
Jonathan Frederic
Put lists in an accordion
r19993 </div>
Thomas Kluyver
Add list of available terminals in the dashboard
r18555 </div>
Bussonnier Matthias
just indent everythin twice
r19478 <div id="clusters" class="tab-pane">
<div id="cluster_toolbar" class="row">
MinRK
move some responsive bootstrap transitions...
r17358 <div class="col-xs-8 no-padding">
Bussonnier Matthias
just indent everythin twice
r19478 <span id="cluster_list_info">IPython parallel computing clusters</span>
Brian E. Granger
Tighten spacing of dashboard.
r15077 </div>
MinRK
move some responsive bootstrap transitions...
r17358 <div class="col-xs-4 no-padding tree-buttons">
Bussonnier Matthias
just indent everythin twice
r19478 <span id="cluster_buttons" class="pull-right">
<button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button>
</span>
Brian E. Granger
Tighten spacing of dashboard.
r15077 </div>
Bussonnier Matthias
just indent everythin twice
r19478 </div>
<div id="cluster_list">
Jonathan Frederic
Ran jdfreder/bootstrap2to3
r16913 <div id="cluster_list_header" class="row list_header">
Bussonnier Matthias
just indent everythin twice
r19478 <div class="profile_col col-xs-4">profile</div>
<div class="status_col col-xs-3">status</div>
<div class="engines_col col-xs-3" title="Enter the number of engines to start or empty for default"># of engines</div>
<div class="action_col col-xs-2">action</div>
MinRK
use row-fluid for cluster list
r10920 </div>
Bussonnier Matthias
just indent everythin twice
r19478 </div>
MinRK
use row-fluid for cluster list
r10920 </div>
Bussonnier Matthias
just indent everythin twice
r19478 </div><!-- class:tab-content -->
</div><!-- id:tab_content -->
</div><!-- ipython-main-app -->
Brian Granger
Refactoring templates and top level js/css organization.
r6192
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endblock %}
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488
Stefan van der Walt
Use template inheritance.
r5324 {% block script %}
Jonathan Frederic
@carreau review changes
r17204 {{super()}}
<script src="{{ static_url("tree/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
Cameron Bates
Refactor notebook to use Jinja2 instead of tornado templates
r8350 {% endblock %}