tree.html
145 lines
| 6.0 KiB
| text/html
|
HtmlLexer
|
r10706 | {% extends "page.html" %} | ||
|
r5324 | |||
|
r15085 | {% block title %}{{page_title}}{% endblock %} | ||
|
r5324 | |||
|
r5325 | |||
{% block params %} | ||||
|
r6193 | |||
|
r15238 | data-base-url="{{base_url}}" | ||
|
r13061 | data-notebook-path="{{notebook_path}}" | ||
|
r18557 | data-terminals-available="{{terminals_available}}" | ||
|
r6193 | |||
|
r8350 | {% endblock %} | ||
|
r5324 | |||
|
r6193 | |||
|
r6192 | {% block site %} | ||
|
r19478 | <div id="ipython-main-app" class="container"> | ||
<div id="tab_content" class="tabbable"> | ||||
<ul id="tabs" class="nav nav-tabs"> | ||||
|
r19574 | <li class="active"><a href="#notebooks" data-toggle="tab">Files</a></li> | ||
|
r15380 | <li><a href="#running" data-toggle="tab">Running</a></li> | ||
|
r18557 | {% if terminals_available %} | ||
|
r18555 | <li><a href="#terminals" data-toggle="tab">Terminals</a></li> | ||
|
r18557 | {% endif %} | ||
|
r10928 | <li><a href="#clusters" data-toggle="tab">Clusters</a></li> | ||
|
r19478 | </ul> | ||
<div class="tab-content"> | ||||
<div id="notebooks" class="tab-pane active"> | ||||
<div id="notebook_toolbar" class="row"> | ||||
|
r19703 | <div class="col-sm-8 no-padding"> | ||
|
r19478 | <form id='alternate_upload' class='alternate_upload'> | ||
<span id="notebook_list_info"> | ||||
To import a notebook, drag the file onto the listing below or | ||||
<span class="input-overlay"> | ||||
<input type="file" name="datafile" class="fileinput" multiple='multiple'> | ||||
click here. | ||||
</span> | ||||
</span> | ||||
</form> | ||||
|
r19703 | </div> | ||
<div class="col-sm-4 no-padding tree-buttons"> | ||||
|
r19694 | <div class="pull-right"> | ||
<div id="new-buttons" class="btn-group"> | ||||
|
r19260 | <button class="dropdown-toggle btn btn-default btn-xs" data-toggle="dropdown"> | ||
|
r19694 | <span>New</span> | ||
|
r19478 | <span class="caret"></span> | ||
|
r19260 | </button> | ||
|
r19694 | <ul id="new-menu" class="dropdown-menu"> | ||
<li role="presentation" id="new-file"> | ||||
<a role="menuitem" tabindex="-1" href="#">File</a> | ||||
</li> | ||||
<li role="presentation" id="new-folder"> | ||||
<a role="menuitem" tabindex="-1" href="#">Folder</a> | ||||
</li> | ||||
|
r19697 | <li role="presentation" class="divider"></li> | ||
<li role="presentation" class="dropdown-header" id="notebook-kernels">Notebooks</li> | ||||
|
r19694 | </ul> | ||
|
r19260 | </div> | ||
|
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> | ||||
|
r19477 | </div> | ||
|
r15077 | </div> | ||
|
r19478 | </div> | ||
<div id="notebook_list"> | ||||
<div id="notebook_list_header" class="row list_header"> | ||||
|
r10919 | <div id="project_name"> | ||
|
r9275 | <ul class="breadcrumb"> | ||
|
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 %} | ||||
|
r9275 | </ul> | ||
|
r10911 | </div> | ||
|
r19478 | </div> | ||
|
r10919 | </div> | ||
</div> | ||||
|
r19478 | <div id="running" class="tab-pane"> | ||
<div id="running_toolbar" class="row"> | ||||
|
r17358 | <div class="col-sm-8 no-padding"> | ||
|
r19478 | <span id="running_list_info">Currently running IPython notebooks</span> | ||
|
r15380 | </div> | ||
|
r17358 | <div class="col-sm-4 no-padding tree-buttons"> | ||
|
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> | ||||
|
r15380 | </div> | ||
|
r19478 | </div> | ||
<div id="running_list"> | ||||
<div id="running_list_header" class="row list_header"> | ||||
<div> There are no notebooks running. </div> | ||||
</div> | ||||
</div> | ||||
|
r15380 | </div> | ||
|
r19478 | {% if terminals_available %} | ||
<div id="terminals" class="tab-pane"> | ||||
<div id="terminal_toolbar" class="row"> | ||||
|
r18555 | <div class="col-xs-8 no-padding"> | ||
|
r19478 | <span id="terminal_list_info">Currently running terminals</span> | ||
|
r18555 | </div> | ||
<div class="col-xs-4 no-padding tree-buttons"> | ||||
|
r19478 | <span id="terminal_buttons" class="pull-right"> | ||
<button id="new_terminal" title="New terminal" class="btn btn-default btn-xs">New Terminal</button> | ||||
<button id="refresh_terminal_list" title="Refresh terminal list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> | ||||
</span> | ||||
|
r18555 | </div> | ||
|
r19478 | </div> | ||
<div id="terminal_list"> | ||||
|
r18555 | <div id="terminal_list_header" class="row list_header"> | ||
|
r19478 | <div> There are no terminals running. </div> | ||
|
r18555 | </div> | ||
|
r19478 | </div> | ||
|
r18555 | </div> | ||
|
r19478 | {% endif %} | ||
<div id="clusters" class="tab-pane"> | ||||
<div id="cluster_toolbar" class="row"> | ||||
|
r17358 | <div class="col-xs-8 no-padding"> | ||
|
r19478 | <span id="cluster_list_info">IPython parallel computing clusters</span> | ||
|
r15077 | </div> | ||
|
r17358 | <div class="col-xs-4 no-padding tree-buttons"> | ||
|
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> | ||||
|
r15077 | </div> | ||
|
r19478 | </div> | ||
<div id="cluster_list"> | ||||
|
r16913 | <div id="cluster_list_header" class="row list_header"> | ||
|
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> | ||||
|
r10920 | </div> | ||
|
r19478 | </div> | ||
|
r10920 | </div> | ||
|
r19478 | </div><!-- class:tab-content --> | ||
</div><!-- id:tab_content --> | ||||
</div><!-- ipython-main-app --> | ||||
|
r6192 | |||
|
r8350 | {% endblock %} | ||
|
r4488 | |||
|
r5324 | {% block script %} | ||
|
r17204 | {{super()}} | ||
<script src="{{ static_url("tree/js/main.js") }}" type="text/javascript" charset="utf-8"></script> | ||||
|
r8350 | {% endblock %} | ||