notebook/IPython/html/templates/tree.html

92 lines
3.3 KiB
HTML
Raw Normal View History

2013-05-16 07:21:39 +08:00
{% extends "page.html" %}
2011-11-19 05:17:36 +08:00
{% block title %}IPython Dashboard{% endblock %}
2011-11-19 05:17:36 +08:00
2011-11-19 08:59:48 +08:00
{% block stylesheet %}
{{super()}}
<link rel="stylesheet" href="{{ static_url("tree/css/override.css") }}" type="text/css" />
{% endblock %}
2011-11-19 08:59:48 +08:00
{% block params %}
data-project="{{project}}"
data-base-project-url="{{base_project_url}}"
data-notebook-path="{{notebook_path}}"
data-base-kernel-url="{{base_kernel_url}}"
{% endblock %}
2011-11-19 05:17:36 +08:00
{% block site %}
<div id="ipython-main-app" class="container">
2013-05-31 08:00:37 +08:00
<div id="tabs" class="tabbable">
<ul class="nav nav-tabs" id="tabs">
2013-06-12 03:11:38 +08:00
<li class="active"><a href="#notebooks" data-toggle="tab">Notebooks</a></li>
<li><a href="#clusters" data-toggle="tab">Clusters</a></li>
</ul>
2013-05-31 08:00:37 +08:00
<div class="tab-content">
2013-06-12 03:11:38 +08:00
<div id="notebooks" class="tab-pane active">
<div id="notebook_toolbar">
2012-04-28 00:56:26 +08:00
<form id='alternate_upload' class='alternate_upload' >
2012-05-31 14:33:52 +08:00
<span id="drag_info" style="position:absolute" >
To import a notebook, drag the file onto the listing below or <strong>click here</strong>.
</span>
2012-04-27 18:55:58 +08:00
<input type="file" name="datafile" class="fileinput" multiple='multiple'>
</form>
<span id="notebook_buttons">
2013-06-01 06:02:22 +08:00
<button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-small">Refresh</button>
<button id="new_notebook" title="Create new notebook" class="btn btn-small">New Notebook</button>
</span>
</div>
2013-06-12 01:37:33 +08:00
<div id="notebook_list">
2013-06-12 02:04:53 +08:00
<div id="notebook_list_header" class="row-fluid list_header">
2013-06-12 01:37:33 +08:00
<div id="project_name">
<ul class="breadcrumb">
{% for component in tree_url_path.strip('/').split('/') %}
<li>{{component}} <span>/</span></li>
{% endfor %}
</ul>
</div>
2013-06-12 01:37:33 +08:00
</div>
</div>
</div>
2013-05-31 08:00:37 +08:00
2013-06-12 03:11:38 +08:00
<div id="clusters" class="tab-pane">
<div id="cluster_toolbar">
<span id="cluster_list_info">IPython parallel computing clusters</span>
<span id="cluster_buttons">
2013-06-01 06:02:22 +08:00
<button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-small">Refresh</button>
</span>
</div>
2013-06-12 02:04:53 +08:00
<div id="cluster_list">
<div id="cluster_list_header" class="row-fluid list_header">
<span class="profile_col span4">profile</span>
<span class="status_col span3">status</span>
<span class="engines_col span3" title="Enter the number of engines to start or empty for default"># of engines</span>
<span class="action_col span2">action</span>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
2011-11-19 05:17:36 +08:00
{% block script %}
2013-01-31 01:54:31 +08:00
{{super()}}
2013-10-08 02:31:01 +08:00
<script src="{{ static_url("base/js/utils.js") }}" type="text/javascript" charset="utf-8"></script>
2013-06-12 02:14:10 +08:00
<script src="{{static_url("base/js/dialog.js") }}" type="text/javascript" charset="utf-8"></script>
2013-05-16 07:21:39 +08:00
<script src="{{static_url("tree/js/notebooklist.js") }}" type="text/javascript" charset="utf-8"></script>
<script src="{{static_url("tree/js/clusterlist.js") }}" type="text/javascript" charset="utf-8"></script>
2013-05-16 08:53:57 +08:00
<script src="{{static_url("tree/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
{% endblock %}