2013-05-16 07:21:39 +08:00
|
|
|
{% extends "page.html" %}
|
2011-11-19 05:17:36 +08:00
|
|
|
|
2014-02-05 08:29:55 +08:00
|
|
|
{% block title %}{{page_title}}{% endblock %}
|
2011-11-19 05:17:36 +08:00
|
|
|
|
2011-11-19 08:59:48 +08:00
|
|
|
|
2013-05-22 06:33:24 +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 %}
|
2012-02-08 13:40:33 +08:00
|
|
|
|
2013-10-08 02:30:15 +08:00
|
|
|
data-project="{{project}}"
|
2014-02-06 08:16:32 +08:00
|
|
|
data-base-url="{{base_url}}"
|
2013-10-08 02:30:15 +08:00
|
|
|
data-notebook-path="{{notebook_path}}"
|
|
|
|
data-base-kernel-url="{{base_kernel_url}}"
|
2012-02-08 13:40:33 +08:00
|
|
|
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|
2011-11-19 05:17:36 +08:00
|
|
|
|
2012-02-08 13:40:33 +08:00
|
|
|
|
2012-02-08 08:05:54 +08:00
|
|
|
{% block site %}
|
|
|
|
|
2013-06-03 02:41:06 +08:00
|
|
|
<div id="ipython-main-app" class="container">
|
2012-02-08 08:05:54 +08:00
|
|
|
|
2014-02-03 14:50:08 +08:00
|
|
|
<div id="tab_content" class="tabbable">
|
|
|
|
<ul id="tabs" class="nav nav-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>
|
2012-02-08 14:03:33 +08:00
|
|
|
</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">
|
2014-02-03 14:50:08 +08:00
|
|
|
<div id="notebook_toolbar" class="row-fluid">
|
|
|
|
<div class="span8">
|
|
|
|
<form id='alternate_upload' class='alternate_upload' >
|
|
|
|
<span id="drag_info" style="position:absolute" >
|
|
|
|
To import a notebook, drag the file onto the listing below or <strong>click here</strong>.
|
|
|
|
</span>
|
|
|
|
<input type="file" name="datafile" class="fileinput" multiple='multiple'>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="span4 clearfix">
|
|
|
|
<span id="notebook_buttons" class="pull-right">
|
|
|
|
<button id="new_notebook" title="Create new notebook" class="btn btn-small">New Notebook</button>
|
|
|
|
<button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-small"><i class="icon-refresh"></i></button>
|
|
|
|
</span>
|
|
|
|
</div>
|
2012-02-08 14:03:33 +08:00
|
|
|
</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">
|
2013-01-03 20:15:56 +08:00
|
|
|
<ul class="breadcrumb">
|
2014-02-06 07:35:46 +08:00
|
|
|
<li><a href="{{breadcrumbs[0][0]}}"><i class="icon-home"></i></a><span>/</span></li>
|
2014-02-03 11:41:53 +08:00
|
|
|
{% for crumb in breadcrumbs[1:] %}
|
|
|
|
<li><a href="{{crumb[0]}}">{{crumb[1]}}</a> <span>/</span></li>
|
2013-01-03 20:15:56 +08:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2013-06-04 04:51:30 +08:00
|
|
|
</div>
|
2013-06-12 01:37:33 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2011-08-06 13:06:45 +08:00
|
|
|
</div>
|
2013-05-31 08:00:37 +08:00
|
|
|
|
2013-06-12 03:11:38 +08:00
|
|
|
<div id="clusters" class="tab-pane">
|
2012-02-09 03:42:31 +08:00
|
|
|
|
2014-02-03 14:50:08 +08:00
|
|
|
<div id="cluster_toolbar" class="row-fluid">
|
|
|
|
<div class="span8">
|
|
|
|
<span id="cluster_list_info">IPython parallel computing clusters</span>
|
|
|
|
</div>
|
|
|
|
<div class="span4" class="clearfix">
|
|
|
|
<span id="cluster_buttons" class="pull-right">
|
|
|
|
<button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-small"><i class="icon-refresh"></i></button>
|
|
|
|
</span>
|
|
|
|
</div>
|
2012-02-09 03:42:31 +08:00
|
|
|
</div>
|
|
|
|
|
2013-06-12 02:04:53 +08:00
|
|
|
<div id="cluster_list">
|
|
|
|
<div id="cluster_list_header" class="row-fluid list_header">
|
2014-02-03 14:50:08 +08:00
|
|
|
<div class="profile_col span4">profile</div>
|
|
|
|
<div class="status_col span3">status</div>
|
|
|
|
<div class="engines_col span3" title="Enter the number of engines to start or empty for default"># of engines</div>
|
|
|
|
<div class="action_col span2">action</div>
|
2013-06-12 02:04:53 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2011-08-05 13:57:01 +08:00
|
|
|
</div>
|
2012-02-08 14:03:33 +08:00
|
|
|
</div>
|
2012-02-08 08:05:54 +08:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|
2011-08-05 13:57:01 +08:00
|
|
|
|
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>
|
2012-08-28 23:58:56 +08:00
|
|
|
{% endblock %}
|