Show More
@@ -1,148 +1,148 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-base-url="{{base_url}}" |
|
13 | data-base-url="{{base_url}}" | |
14 | data-notebook-path="{{notebook_path}}" |
|
14 | data-notebook-path="{{notebook_path}}" | |
15 | data-terminals-available="{{terminals_available}}" |
|
15 | data-terminals-available="{{terminals_available}}" | |
16 |
|
16 | |||
17 | {% endblock %} |
|
17 | {% endblock %} | |
18 |
|
18 | |||
19 |
|
19 | |||
20 | {% block site %} |
|
20 | {% block site %} | |
21 |
|
21 | |||
22 | <div id="ipython-main-app" class="container"> |
|
22 | <div id="ipython-main-app" class="container"> | |
23 | <div id="tab_content" class="tabbable"> |
|
23 | <div id="tab_content" class="tabbable"> | |
24 | <ul id="tabs" class="nav nav-tabs"> |
|
24 | <ul id="tabs" class="nav nav-tabs"> | |
25 | <li class="active"><a href="#notebooks" data-toggle="tab">Files</a></li> |
|
25 | <li class="active"><a href="#notebooks" data-toggle="tab">Files</a></li> | |
26 | <li><a href="#running" data-toggle="tab">Running</a></li> |
|
26 | <li><a href="#running" data-toggle="tab">Running</a></li> | |
27 | {% if terminals_available %} |
|
27 | {% if terminals_available %} | |
28 | <li><a href="#terminals" data-toggle="tab">Terminals</a></li> |
|
28 | <li><a href="#terminals" data-toggle="tab">Terminals</a></li> | |
29 | {% endif %} |
|
29 | {% endif %} | |
30 | <li><a href="#clusters" data-toggle="tab">Clusters</a></li> |
|
30 | <li><a href="#clusters" data-toggle="tab">Clusters</a></li> | |
31 | </ul> |
|
31 | </ul> | |
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"> |
|
34 | <div id="notebook_toolbar" class="row"> | |
35 | <div class="col-sm-12 no-padding"> |
|
35 | <div class="col-sm-12 no-padding"> | |
36 | <form id='alternate_upload' class='alternate_upload'> |
|
36 | <form id='alternate_upload' class='alternate_upload'> | |
37 | <span id="notebook_list_info"> |
|
37 | <span id="notebook_list_info"> | |
38 | To import a notebook, drag the file onto the listing below or |
|
38 | To import a notebook, drag the file onto the listing below or | |
39 | <span class="input-overlay"> |
|
39 | <span class="input-overlay"> | |
40 | <input type="file" name="datafile" class="fileinput" multiple='multiple'> |
|
40 | <input type="file" name="datafile" class="fileinput" multiple='multiple'> | |
41 | click here. |
|
41 | click here. | |
42 | </span> |
|
42 | </span> | |
43 | </span> |
|
43 | </span> | |
44 | </form> |
|
44 | </form> | |
45 | <div class="pull-right"> |
|
45 | <div class="pull-right"> | |
46 | <div id="new-buttons" class="btn-group"> |
|
46 | <div id="new-buttons" class="btn-group"> | |
47 | <button class="dropdown-toggle btn btn-default btn-xs" data-toggle="dropdown"> |
|
47 | <button class="dropdown-toggle btn btn-default btn-xs" data-toggle="dropdown"> | |
48 | <span>New</span> |
|
48 | <span>New</span> | |
49 | <span class="caret"></span> |
|
49 | <span class="caret"></span> | |
50 | </button> |
|
50 | </button> | |
51 | <ul id="new-menu" class="dropdown-menu"> |
|
51 | <ul id="new-menu" class="dropdown-menu"> | |
52 | <li role="presentation" class="dropdown-header" id="notebook-kernels">Notebooks</li> |
|
|||
53 | <li role="presentation" class="divider"></li> |
|
|||
54 | <li role="presentation" id="new-file"> |
|
52 | <li role="presentation" id="new-file"> | |
55 | <a role="menuitem" tabindex="-1" href="#">File</a> |
|
53 | <a role="menuitem" tabindex="-1" href="#">File</a> | |
56 | </li> |
|
54 | </li> | |
57 | <li role="presentation" id="new-folder"> |
|
55 | <li role="presentation" id="new-folder"> | |
58 | <a role="menuitem" tabindex="-1" href="#">Folder</a> |
|
56 | <a role="menuitem" tabindex="-1" href="#">Folder</a> | |
59 | </li> |
|
57 | </li> | |
|
58 | <li role="presentation" class="divider"></li> | |||
|
59 | <li role="presentation" class="dropdown-header" id="notebook-kernels">Notebooks</li> | |||
60 | </ul> |
|
60 | </ul> | |
61 | </div> |
|
61 | </div> | |
62 | <div class="btn-group"> |
|
62 | <div class="btn-group"> | |
63 | <button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> |
|
63 | <button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> | |
64 | </div> |
|
64 | </div> | |
65 | </div> |
|
65 | </div> | |
66 | </div> |
|
66 | </div> | |
67 | </div> |
|
67 | </div> | |
68 | <div id="notebook_list"> |
|
68 | <div id="notebook_list"> | |
69 | <div id="notebook_list_header" class="row list_header"> |
|
69 | <div id="notebook_list_header" class="row list_header"> | |
70 | <div id="project_name"> |
|
70 | <div id="project_name"> | |
71 | <ul class="breadcrumb"> |
|
71 | <ul class="breadcrumb"> | |
72 | <li><a href="{{breadcrumbs[0][0]}}"><i class="fa fa-home"></i></a></li> |
|
72 | <li><a href="{{breadcrumbs[0][0]}}"><i class="fa fa-home"></i></a></li> | |
73 | {% for crumb in breadcrumbs[1:] %} |
|
73 | {% for crumb in breadcrumbs[1:] %} | |
74 | <li><a href="{{crumb[0]}}">{{crumb[1]}}</a></li> |
|
74 | <li><a href="{{crumb[0]}}">{{crumb[1]}}</a></li> | |
75 | {% endfor %} |
|
75 | {% endfor %} | |
76 | </ul> |
|
76 | </ul> | |
77 | </div> |
|
77 | </div> | |
78 | </div> |
|
78 | </div> | |
79 | </div> |
|
79 | </div> | |
80 | </div> |
|
80 | </div> | |
81 | <div id="running" class="tab-pane"> |
|
81 | <div id="running" class="tab-pane"> | |
82 | <div id="running_toolbar" class="row"> |
|
82 | <div id="running_toolbar" class="row"> | |
83 | <div class="col-sm-8 no-padding"> |
|
83 | <div class="col-sm-8 no-padding"> | |
84 | <span id="running_list_info">Currently running IPython notebooks</span> |
|
84 | <span id="running_list_info">Currently running IPython notebooks</span> | |
85 | </div> |
|
85 | </div> | |
86 | <div class="col-sm-4 no-padding tree-buttons"> |
|
86 | <div class="col-sm-4 no-padding tree-buttons"> | |
87 | <span id="running_buttons" class="pull-right"> |
|
87 | <span id="running_buttons" class="pull-right"> | |
88 | <button id="refresh_running_list" title="Refresh running list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> |
|
88 | <button id="refresh_running_list" title="Refresh running list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> | |
89 | </span> |
|
89 | </span> | |
90 | </div> |
|
90 | </div> | |
91 | </div> |
|
91 | </div> | |
92 | <div id="running_list"> |
|
92 | <div id="running_list"> | |
93 | <div id="running_list_header" class="row list_header"> |
|
93 | <div id="running_list_header" class="row list_header"> | |
94 | <div> There are no notebooks running. </div> |
|
94 | <div> There are no notebooks running. </div> | |
95 | </div> |
|
95 | </div> | |
96 | </div> |
|
96 | </div> | |
97 | </div> |
|
97 | </div> | |
98 | {% if terminals_available %} |
|
98 | {% if terminals_available %} | |
99 | <div id="terminals" class="tab-pane"> |
|
99 | <div id="terminals" class="tab-pane"> | |
100 | <div id="terminal_toolbar" class="row"> |
|
100 | <div id="terminal_toolbar" class="row"> | |
101 | <div class="col-xs-8 no-padding"> |
|
101 | <div class="col-xs-8 no-padding"> | |
102 | <span id="terminal_list_info">Currently running terminals</span> |
|
102 | <span id="terminal_list_info">Currently running terminals</span> | |
103 | </div> |
|
103 | </div> | |
104 | <div class="col-xs-4 no-padding tree-buttons"> |
|
104 | <div class="col-xs-4 no-padding tree-buttons"> | |
105 | <span id="terminal_buttons" class="pull-right"> |
|
105 | <span id="terminal_buttons" class="pull-right"> | |
106 | <button id="new_terminal" title="New terminal" class="btn btn-default btn-xs">New Terminal</button> |
|
106 | <button id="new_terminal" title="New terminal" class="btn btn-default btn-xs">New Terminal</button> | |
107 | <button id="refresh_terminal_list" title="Refresh terminal list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> |
|
107 | <button id="refresh_terminal_list" title="Refresh terminal list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> | |
108 | </span> |
|
108 | </span> | |
109 | </div> |
|
109 | </div> | |
110 | </div> |
|
110 | </div> | |
111 | <div id="terminal_list"> |
|
111 | <div id="terminal_list"> | |
112 | <div id="terminal_list_header" class="row list_header"> |
|
112 | <div id="terminal_list_header" class="row list_header"> | |
113 | <div> There are no terminals running. </div> |
|
113 | <div> There are no terminals running. </div> | |
114 | </div> |
|
114 | </div> | |
115 | </div> |
|
115 | </div> | |
116 | </div> |
|
116 | </div> | |
117 | {% endif %} |
|
117 | {% endif %} | |
118 | <div id="clusters" class="tab-pane"> |
|
118 | <div id="clusters" class="tab-pane"> | |
119 | <div id="cluster_toolbar" class="row"> |
|
119 | <div id="cluster_toolbar" class="row"> | |
120 | <div class="col-xs-8 no-padding"> |
|
120 | <div class="col-xs-8 no-padding"> | |
121 | <span id="cluster_list_info">IPython parallel computing clusters</span> |
|
121 | <span id="cluster_list_info">IPython parallel computing clusters</span> | |
122 | </div> |
|
122 | </div> | |
123 | <div class="col-xs-4 no-padding tree-buttons"> |
|
123 | <div class="col-xs-4 no-padding tree-buttons"> | |
124 | <span id="cluster_buttons" class="pull-right"> |
|
124 | <span id="cluster_buttons" class="pull-right"> | |
125 | <button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> |
|
125 | <button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> | |
126 | </span> |
|
126 | </span> | |
127 | </div> |
|
127 | </div> | |
128 | </div> |
|
128 | </div> | |
129 | <div id="cluster_list"> |
|
129 | <div id="cluster_list"> | |
130 | <div id="cluster_list_header" class="row list_header"> |
|
130 | <div id="cluster_list_header" class="row list_header"> | |
131 | <div class="profile_col col-xs-4">profile</div> |
|
131 | <div class="profile_col col-xs-4">profile</div> | |
132 | <div class="status_col col-xs-3">status</div> |
|
132 | <div class="status_col col-xs-3">status</div> | |
133 | <div class="engines_col col-xs-3" title="Enter the number of engines to start or empty for default"># of engines</div> |
|
133 | <div class="engines_col col-xs-3" title="Enter the number of engines to start or empty for default"># of engines</div> | |
134 | <div class="action_col col-xs-2">action</div> |
|
134 | <div class="action_col col-xs-2">action</div> | |
135 | </div> |
|
135 | </div> | |
136 | </div> |
|
136 | </div> | |
137 | </div> |
|
137 | </div> | |
138 | </div><!-- class:tab-content --> |
|
138 | </div><!-- class:tab-content --> | |
139 | </div><!-- id:tab_content --> |
|
139 | </div><!-- id:tab_content --> | |
140 | </div><!-- ipython-main-app --> |
|
140 | </div><!-- ipython-main-app --> | |
141 |
|
141 | |||
142 | {% endblock %} |
|
142 | {% endblock %} | |
143 |
|
143 | |||
144 | {% block script %} |
|
144 | {% block script %} | |
145 | {{super()}} |
|
145 | {{super()}} | |
146 |
|
146 | |||
147 | <script src="{{ static_url("tree/js/main.js") }}" type="text/javascript" charset="utf-8"></script> |
|
147 | <script src="{{ static_url("tree/js/main.js") }}" type="text/javascript" charset="utf-8"></script> | |
148 | {% endblock %} |
|
148 | {% endblock %} |
General Comments 0
You need to be logged in to leave comments.
Login now