Show More
@@ -1,122 +1,122 b'' | |||||
1 | {% extends "page.html" %} |
|
1 | {% extends "page.html" %} | |
2 |
|
2 | |||
3 | {% block title %}{{page_title}}{% endblock %} |
|
3 | {% block title %}{{page_title}}{% endblock %} | |
4 |
|
4 | |||
5 |
|
5 | |||
6 | {% block stylesheet %} |
|
6 | {% block stylesheet %} | |
7 | {{super()}} |
|
7 | {{super()}} | |
8 | <link rel="stylesheet" href="{{ static_url("tree/css/override.css") }}" type="text/css" /> |
|
8 | <link rel="stylesheet" href="{{ static_url("tree/css/override.css") }}" type="text/css" /> | |
9 | {% endblock %} |
|
9 | {% endblock %} | |
10 |
|
10 | |||
11 | {% block params %} |
|
11 | {% block params %} | |
12 |
|
12 | |||
13 | data-project="{{project}}" |
|
13 | data-project="{{project}}" | |
14 | data-base-url="{{base_url}}" |
|
14 | data-base-url="{{base_url}}" | |
15 | data-notebook-path="{{notebook_path}}" |
|
15 | data-notebook-path="{{notebook_path}}" | |
16 | data-base-kernel-url="{{base_kernel_url}}" |
|
16 | data-base-kernel-url="{{base_kernel_url}}" | |
17 |
|
17 | |||
18 | {% endblock %} |
|
18 | {% endblock %} | |
19 |
|
19 | |||
20 |
|
20 | |||
21 | {% block site %} |
|
21 | {% block site %} | |
22 |
|
22 | |||
23 | <div id="ipython-main-app" class="container"> |
|
23 | <div id="ipython-main-app" class="container"> | |
24 |
|
24 | |||
25 | <div id="tab_content" class="tabbable"> |
|
25 | <div id="tab_content" class="tabbable"> | |
26 | <ul id="tabs" class="nav nav-tabs"> |
|
26 | <ul id="tabs" class="nav nav-tabs"> | |
27 | <li class="active"><a href="#notebooks" data-toggle="tab">Notebooks</a></li> |
|
27 | <li class="active"><a href="#notebooks" data-toggle="tab">Notebooks</a></li> | |
28 | <li><a href="#running" data-toggle="tab">Running</a></li> |
|
28 | <li><a href="#running" data-toggle="tab">Running</a></li> | |
29 | <li><a href="#clusters" data-toggle="tab">Clusters</a></li> |
|
29 | <li><a href="#clusters" data-toggle="tab">Clusters</a></li> | |
30 | </ul> |
|
30 | </ul> | |
31 |
|
31 | |||
32 | <div class="tab-content"> |
|
32 | <div class="tab-content"> | |
33 | <div id="notebooks" class="tab-pane active"> |
|
33 | <div id="notebooks" class="tab-pane active"> | |
34 | <div id="notebook_toolbar" class="row-fluid"> |
|
34 | <div id="notebook_toolbar" class="row-fluid"> | |
35 | <div class="span8"> |
|
35 | <div class="span8"> | |
36 | <form id='alternate_upload' class='alternate_upload' > |
|
36 | <form id='alternate_upload' class='alternate_upload' > | |
37 | <span id="drag_info" style="position:absolute" > |
|
37 | <span id="drag_info" style="position:absolute" > | |
38 | To import a notebook, drag the file onto the listing below or <strong>click here</strong>. |
|
38 | To import a notebook, drag the file onto the listing below or <strong>click here</strong>. | |
39 | </span> |
|
39 | </span> | |
40 | <input type="file" name="datafile" class="fileinput" multiple='multiple'> |
|
40 | <input type="file" name="datafile" class="fileinput" multiple='multiple'> | |
41 | </form> |
|
41 | </form> | |
42 | </div> |
|
42 | </div> | |
43 | <div class="span4 clearfix"> |
|
43 | <div class="span4 clearfix"> | |
44 | <span id="notebook_buttons" class="pull-right"> |
|
44 | <span id="notebook_buttons" class="pull-right"> | |
45 | <button id="new_notebook" title="Create new notebook" class="btn btn-small">New Notebook</button> |
|
45 | <button id="new_notebook" title="Create new notebook" class="btn btn-small">New Notebook</button> | |
46 | <button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-small"><i class="icon-refresh"></i></button> |
|
46 | <button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-small"><i class="icon-refresh"></i></button> | |
47 | </span> |
|
47 | </span> | |
48 | </div> |
|
48 | </div> | |
49 | </div> |
|
49 | </div> | |
50 |
|
50 | |||
51 | <div id="notebook_list"> |
|
51 | <div id="notebook_list"> | |
52 | <div id="notebook_list_header" class="row-fluid list_header"> |
|
52 | <div id="notebook_list_header" class="row-fluid list_header"> | |
53 | <div id="project_name"> |
|
53 | <div id="project_name"> | |
54 | <ul class="breadcrumb"> |
|
54 | <ul class="breadcrumb"> | |
55 | <li><a href="{{breadcrumbs[0][0]}}"><i class="icon-home"></i></a><span>/</span></li> |
|
55 | <li><a href="{{breadcrumbs[0][0]}}"><i class="icon-home"></i></a><span>/</span></li> | |
56 | {% for crumb in breadcrumbs[1:] %} |
|
56 | {% for crumb in breadcrumbs[1:] %} | |
57 | <li><a href="{{crumb[0]}}">{{crumb[1]}}</a> <span>/</span></li> |
|
57 | <li><a href="{{crumb[0]}}">{{crumb[1]}}</a> <span>/</span></li> | |
58 | {% endfor %} |
|
58 | {% endfor %} | |
59 | </ul> |
|
59 | </ul> | |
60 | </div> |
|
60 | </div> | |
61 | </div> |
|
61 | </div> | |
62 | </div> |
|
62 | </div> | |
63 | </div> |
|
63 | </div> | |
64 |
|
64 | |||
65 | <div id="running" class="tab-pane"> |
|
65 | <div id="running" class="tab-pane"> | |
66 |
|
66 | |||
67 | <div id="running_toolbar" class="row-fluid"> |
|
67 | <div id="running_toolbar" class="row-fluid"> | |
68 | <div class="span8"> |
|
68 | <div class="span8"> | |
69 | <span id="running_list_info">Currently running IPython notebooks</span> |
|
69 | <span id="running_list_info">Currently running IPython notebooks</span> | |
70 | </div> |
|
70 | </div> | |
71 | <div class="span4" class="clearfix"> |
|
71 | <div class="span4" class="clearfix"> | |
72 | <span id="running_buttons" class="pull-right"> |
|
72 | <span id="running_buttons" class="pull-right"> | |
73 | <button id="refresh_running_list" title="Refresh running list" class="btn btn-small"><i class="icon-refresh"></i></button> |
|
73 | <button id="refresh_running_list" title="Refresh running list" class="btn btn-small"><i class="icon-refresh"></i></button> | |
74 | </span> |
|
74 | </span> | |
75 | </div> |
|
75 | </div> | |
76 | </div> |
|
76 | </div> | |
77 |
|
77 | |||
78 | <div id="running_list"> |
|
78 | <div id="running_list"> | |
79 | <div id="running_list_header" class="row-fluid list_header" style='display:none'> |
|
79 | <div id="running_list_header" class="row-fluid list_header" style='display:none'> | |
80 |
<div> There are no |
|
80 | <div> There are no running kernels </div> | |
81 | <!-- damn it, I seem to need this stupid placeholder, otherwise items don't get added to the list --> |
|
81 | <!-- damn it, I seem to need this stupid placeholder, otherwise items don't get added to the list --> | |
82 | </div> |
|
82 | </div> | |
83 | </div> |
|
83 | </div> | |
84 | </div> |
|
84 | </div> | |
85 |
|
85 | |||
86 | <div id="clusters" class="tab-pane"> |
|
86 | <div id="clusters" class="tab-pane"> | |
87 |
|
87 | |||
88 | <div id="cluster_toolbar" class="row-fluid"> |
|
88 | <div id="cluster_toolbar" class="row-fluid"> | |
89 | <div class="span8"> |
|
89 | <div class="span8"> | |
90 | <span id="cluster_list_info">IPython parallel computing clusters</span> |
|
90 | <span id="cluster_list_info">IPython parallel computing clusters</span> | |
91 | </div> |
|
91 | </div> | |
92 | <div class="span4" class="clearfix"> |
|
92 | <div class="span4" class="clearfix"> | |
93 | <span id="cluster_buttons" class="pull-right"> |
|
93 | <span id="cluster_buttons" class="pull-right"> | |
94 | <button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-small"><i class="icon-refresh"></i></button> |
|
94 | <button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-small"><i class="icon-refresh"></i></button> | |
95 | </span> |
|
95 | </span> | |
96 | </div> |
|
96 | </div> | |
97 | </div> |
|
97 | </div> | |
98 |
|
98 | |||
99 | <div id="cluster_list"> |
|
99 | <div id="cluster_list"> | |
100 | <div id="cluster_list_header" class="row-fluid list_header"> |
|
100 | <div id="cluster_list_header" class="row-fluid list_header"> | |
101 | <div class="profile_col span4">profile</div> |
|
101 | <div class="profile_col span4">profile</div> | |
102 | <div class="status_col span3">status</div> |
|
102 | <div class="status_col span3">status</div> | |
103 | <div class="engines_col span3" title="Enter the number of engines to start or empty for default"># of engines</div> |
|
103 | <div class="engines_col span3" title="Enter the number of engines to start or empty for default"># of engines</div> | |
104 | <div class="action_col span2">action</div> |
|
104 | <div class="action_col span2">action</div> | |
105 | </div> |
|
105 | </div> | |
106 | </div> |
|
106 | </div> | |
107 | </div> |
|
107 | </div> | |
108 | </div> |
|
108 | </div> | |
109 |
|
109 | |||
110 | </div> |
|
110 | </div> | |
111 |
|
111 | |||
112 | {% endblock %} |
|
112 | {% endblock %} | |
113 |
|
113 | |||
114 | {% block script %} |
|
114 | {% block script %} | |
115 | {{super()}} |
|
115 | {{super()}} | |
116 | <script src="{{ static_url("base/js/utils.js") }}" type="text/javascript" charset="utf-8"></script> |
|
116 | <script src="{{ static_url("base/js/utils.js") }}" type="text/javascript" charset="utf-8"></script> | |
117 | <script src="{{static_url("base/js/dialog.js") }}" type="text/javascript" charset="utf-8"></script> |
|
117 | <script src="{{static_url("base/js/dialog.js") }}" type="text/javascript" charset="utf-8"></script> | |
118 | <script src="{{static_url("tree/js/notebooklist.js") }}" type="text/javascript" charset="utf-8"></script> |
|
118 | <script src="{{static_url("tree/js/notebooklist.js") }}" type="text/javascript" charset="utf-8"></script> | |
119 | <script src="{{static_url("tree/js/kernellist.js") }}" type="text/javascript" charset="utf-8"></script> |
|
119 | <script src="{{static_url("tree/js/kernellist.js") }}" type="text/javascript" charset="utf-8"></script> | |
120 | <script src="{{static_url("tree/js/clusterlist.js") }}" type="text/javascript" charset="utf-8"></script> |
|
120 | <script src="{{static_url("tree/js/clusterlist.js") }}" type="text/javascript" charset="utf-8"></script> | |
121 | <script src="{{static_url("tree/js/main.js") }}" type="text/javascript" charset="utf-8"></script> |
|
121 | <script src="{{static_url("tree/js/main.js") }}" type="text/javascript" charset="utf-8"></script> | |
122 | {% endblock %} |
|
122 | {% endblock %} |
General Comments 0
You need to be logged in to leave comments.
Login now