Show More
@@ -1,187 +1,187 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 params %} |
|
6 | {% block params %} | |
7 |
|
7 | |||
8 | data-base-url="{{base_url}}" |
|
8 | data-base-url="{{base_url}}" | |
9 | data-notebook-path="{{notebook_path}}" |
|
9 | data-notebook-path="{{notebook_path}}" | |
10 | data-terminals-available="{{terminals_available}}" |
|
10 | data-terminals-available="{{terminals_available}}" | |
11 |
|
11 | |||
12 | {% endblock %} |
|
12 | {% endblock %} | |
13 |
|
13 | |||
14 |
|
14 | |||
15 | {% block site %} |
|
15 | {% block site %} | |
16 |
|
16 | |||
17 | <div id="ipython-main-app" class="container"> |
|
17 | <div id="ipython-main-app" class="container"> | |
18 | <div id="tab_content" class="tabbable"> |
|
18 | <div id="tab_content" class="tabbable"> | |
19 | <ul id="tabs" class="nav nav-tabs"> |
|
19 | <ul id="tabs" class="nav nav-tabs"> | |
20 | <li class="active"><a href="#notebooks" data-toggle="tab">Files</a></li> |
|
20 | <li class="active"><a href="#notebooks" data-toggle="tab">Files</a></li> | |
21 | <li><a href="#running" data-toggle="tab">Running</a></li> |
|
21 | <li><a href="#running" data-toggle="tab">Running</a></li> | |
22 | <li><a href="#clusters" data-toggle="tab">Clusters</a></li> |
|
22 | <li><a href="#clusters" data-toggle="tab">Clusters</a></li> | |
23 | </ul> |
|
23 | </ul> | |
24 | <div class="tab-content"> |
|
24 | <div class="tab-content"> | |
25 | <div id="notebooks" class="tab-pane active"> |
|
25 | <div id="notebooks" class="tab-pane active"> | |
26 | <div id="notebook_toolbar" class="row"> |
|
26 | <div id="notebook_toolbar" class="row"> | |
27 | <div class="col-sm-8 no-padding"> |
|
27 | <div class="col-sm-8 no-padding"> | |
28 | <div class="dynamic-instructions"> |
|
28 | <div class="dynamic-instructions"> | |
29 | Select items to perform actions on them. |
|
29 | Select items to perform actions on them. | |
30 | </div> |
|
30 | </div> | |
31 | <div class="dynamic-buttons"> |
|
31 | <div class="dynamic-buttons"> | |
32 | <button title="Duplicate selected" class="duplicate-button btn btn-default btn-xs">Duplicate</button> |
|
32 | <button title="Duplicate selected" class="duplicate-button btn btn-default btn-xs">Duplicate</button> | |
33 | <button title="Rename selected" class="rename-button btn btn-default btn-xs">Rename</button> |
|
33 | <button title="Rename selected" class="rename-button btn btn-default btn-xs">Rename</button> | |
34 | <button title="Shutdown selected notebook(s)" class="shutdown-button btn btn-default btn-xs btn-warning">Shutdown</button> |
|
34 | <button title="Shutdown selected notebook(s)" class="shutdown-button btn btn-default btn-xs btn-warning">Shutdown</button> | |
35 | <button title="Deleted selected" class="delete-button btn btn-default btn-xs btn-danger"><i class="fa fa-trash"></i></button> |
|
35 | <button title="Deleted selected" class="delete-button btn btn-default btn-xs btn-danger"><i class="fa fa-trash"></i></button> | |
36 | </div> |
|
36 | </div> | |
37 | </div> |
|
37 | </div> | |
38 | <div class="col-sm-4 no-padding tree-buttons"> |
|
38 | <div class="col-sm-4 no-padding tree-buttons"> | |
39 | <div class="pull-right"> |
|
39 | <div class="pull-right"> | |
40 | <form id='alternate_upload' class='alternate_upload'> |
|
40 | <form id='alternate_upload' class='alternate_upload'> | |
41 | <span id="notebook_list_info"> |
|
41 | <span id="notebook_list_info"> | |
42 | <span class="btn btn-xs btn-default btn-upload"> |
|
42 | <span class="btn btn-xs btn-default btn-upload"> | |
43 | <input type="file" name="datafile" class="fileinput" multiple='multiple'> |
|
43 | <input title="Click to browse for a file to upload." type="file" name="datafile" class="fileinput" multiple='multiple'> | |
44 | Upload |
|
44 | Upload | |
45 | </span> |
|
45 | </span> | |
46 | </span> |
|
46 | </span> | |
47 | </form> |
|
47 | </form> | |
48 | <div id="new-buttons" class="btn-group"> |
|
48 | <div id="new-buttons" class="btn-group"> | |
49 | <button class="dropdown-toggle btn btn-default btn-xs" data-toggle="dropdown"> |
|
49 | <button class="dropdown-toggle btn btn-default btn-xs" data-toggle="dropdown"> | |
50 | <span>New</span> |
|
50 | <span>New</span> | |
51 | <span class="caret"></span> |
|
51 | <span class="caret"></span> | |
52 | </button> |
|
52 | </button> | |
53 | <ul id="new-menu" class="dropdown-menu"> |
|
53 | <ul id="new-menu" class="dropdown-menu"> | |
54 | <li role="presentation" id="new-file"> |
|
54 | <li role="presentation" id="new-file"> | |
55 | <a role="menuitem" tabindex="-1" href="#">Text File</a> |
|
55 | <a role="menuitem" tabindex="-1" href="#">Text File</a> | |
56 | </li> |
|
56 | </li> | |
57 | <li role="presentation" id="new-folder"> |
|
57 | <li role="presentation" id="new-folder"> | |
58 | <a role="menuitem" tabindex="-1" href="#">Folder</a> |
|
58 | <a role="menuitem" tabindex="-1" href="#">Folder</a> | |
59 | </li> |
|
59 | </li> | |
60 | {% if terminals_available %} |
|
60 | {% if terminals_available %} | |
61 | <li role="presentation" id="new-terminal"> |
|
61 | <li role="presentation" id="new-terminal"> | |
62 | <a role="menuitem" tabindex="-1" href="#">Terminal</a> |
|
62 | <a role="menuitem" tabindex="-1" href="#">Terminal</a> | |
63 | </li> |
|
63 | </li> | |
64 | {% else %} |
|
64 | {% else %} | |
65 | <li role="presentation" id="new-terminal-disabled" class="disabled"> |
|
65 | <li role="presentation" id="new-terminal-disabled" class="disabled"> | |
66 | <a role="menuitem" tabindex="-1" href="#">Terminals Unavailable</a> |
|
66 | <a role="menuitem" tabindex="-1" href="#">Terminals Unavailable</a> | |
67 | </li> |
|
67 | </li> | |
68 | {% endif %} |
|
68 | {% endif %} | |
69 | <li role="presentation" class="divider"></li> |
|
69 | <li role="presentation" class="divider"></li> | |
70 | <li role="presentation" class="dropdown-header" id="notebook-kernels">Notebooks</li> |
|
70 | <li role="presentation" class="dropdown-header" id="notebook-kernels">Notebooks</li> | |
71 | </ul> |
|
71 | </ul> | |
72 | </div> |
|
72 | </div> | |
73 | <div class="btn-group"> |
|
73 | <div class="btn-group"> | |
74 | <button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> |
|
74 | <button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> | |
75 | </div> |
|
75 | </div> | |
76 | </div> |
|
76 | </div> | |
77 | </div> |
|
77 | </div> | |
78 | </div> |
|
78 | </div> | |
79 | <div id="notebook_list"> |
|
79 | <div id="notebook_list"> | |
80 | <div id="notebook_list_header" class="row list_header"> |
|
80 | <div id="notebook_list_header" class="row list_header"> | |
81 | <div class="btn-group dropdown" id="tree-selector"> |
|
81 | <div class="btn-group dropdown" id="tree-selector"> | |
82 | <button title="Select All / None" type="button" class="btn btn-default btn-xs" id="button-select-all"> |
|
82 | <button title="Select All / None" type="button" class="btn btn-default btn-xs" id="button-select-all"> | |
83 | <input type="checkbox" class="pull-left tree-selector" id="select-all"><span id="counter-select-all"> </span></input> |
|
83 | <input type="checkbox" class="pull-left tree-selector" id="select-all"><span id="counter-select-all"> </span></input> | |
84 | </button> |
|
84 | </button> | |
85 | <button title="Select..." class="btn btn-default btn-xs dropdown-toggle" type="button" id="tree-selector-btn" data-toggle="dropdown" aria-expanded="true"> |
|
85 | <button title="Select..." class="btn btn-default btn-xs dropdown-toggle" type="button" id="tree-selector-btn" data-toggle="dropdown" aria-expanded="true"> | |
86 | <span class="caret"></span> |
|
86 | <span class="caret"></span> | |
87 | <span class="sr-only">Toggle Dropdown</span> |
|
87 | <span class="sr-only">Toggle Dropdown</span> | |
88 | </button> |
|
88 | </button> | |
89 | <ul id='selector-menu' class="dropdown-menu" role="menu" aria-labelledby="tree-selector-btn"> |
|
89 | <ul id='selector-menu' class="dropdown-menu" role="menu" aria-labelledby="tree-selector-btn"> | |
90 | <li role="presentation"><a id="select-folders" role="menuitem" tabindex="-1" href="#" title="Select All Folders"><i class="menu_icon folder_icon icon-fixed-width"></i> Folders</a></li> |
|
90 | <li role="presentation"><a id="select-folders" role="menuitem" tabindex="-1" href="#" title="Select All Folders"><i class="menu_icon folder_icon icon-fixed-width"></i> Folders</a></li> | |
91 | <li role="presentation"><a id="select-notebooks" role="menuitem" tabindex="-1" href="#" title="Select All Notebooks"><i class="menu_icon notebook_icon icon-fixed-width"></i> All Notebooks</a></li> |
|
91 | <li role="presentation"><a id="select-notebooks" role="menuitem" tabindex="-1" href="#" title="Select All Notebooks"><i class="menu_icon notebook_icon icon-fixed-width"></i> All Notebooks</a></li> | |
92 | <li role="presentation"><a id="select-running-notebooks" role="menuitem" tabindex="-1" href="#" title="Select Running Notebooks"><i class="menu_icon running_notebook_icon icon-fixed-width"></i> Running</a></li> |
|
92 | <li role="presentation"><a id="select-running-notebooks" role="menuitem" tabindex="-1" href="#" title="Select Running Notebooks"><i class="menu_icon running_notebook_icon icon-fixed-width"></i> Running</a></li> | |
93 | <li role="presentation"><a id="select-files" role="menuitem" tabindex="-1" href="#" title="Select All Files"><i class="menu_icon file_icon icon-fixed-width"></i> Files</a></li> |
|
93 | <li role="presentation"><a id="select-files" role="menuitem" tabindex="-1" href="#" title="Select All Files"><i class="menu_icon file_icon icon-fixed-width"></i> Files</a></li> | |
94 | </ul> |
|
94 | </ul> | |
95 | </div> |
|
95 | </div> | |
96 | <div id="project_name"> |
|
96 | <div id="project_name"> | |
97 | <ul class="breadcrumb"> |
|
97 | <ul class="breadcrumb"> | |
98 | <li><a href="{{breadcrumbs[0][0]}}"><i class="fa fa-home"></i></a></li> |
|
98 | <li><a href="{{breadcrumbs[0][0]}}"><i class="fa fa-home"></i></a></li> | |
99 | {% for crumb in breadcrumbs[1:] %} |
|
99 | {% for crumb in breadcrumbs[1:] %} | |
100 | <li><a href="{{crumb[0]}}">{{crumb[1]}}</a></li> |
|
100 | <li><a href="{{crumb[0]}}">{{crumb[1]}}</a></li> | |
101 | {% endfor %} |
|
101 | {% endfor %} | |
102 | </ul> |
|
102 | </ul> | |
103 | </div> |
|
103 | </div> | |
104 | </div> |
|
104 | </div> | |
105 | </div> |
|
105 | </div> | |
106 | </div> |
|
106 | </div> | |
107 | <div id="running" class="tab-pane"> |
|
107 | <div id="running" class="tab-pane"> | |
108 | <div id="running_toolbar" class="row"> |
|
108 | <div id="running_toolbar" class="row"> | |
109 | <div class="col-sm-8 no-padding"> |
|
109 | <div class="col-sm-8 no-padding"> | |
110 | <span id="running_list_info">Currently running Jupyter processes</span> |
|
110 | <span id="running_list_info">Currently running Jupyter processes</span> | |
111 | </div> |
|
111 | </div> | |
112 | <div class="col-sm-4 no-padding tree-buttons"> |
|
112 | <div class="col-sm-4 no-padding tree-buttons"> | |
113 | <span id="running_buttons" class="pull-right"> |
|
113 | <span id="running_buttons" class="pull-right"> | |
114 | <button id="refresh_running_list" title="Refresh running list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> |
|
114 | <button id="refresh_running_list" title="Refresh running list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> | |
115 | </span> |
|
115 | </span> | |
116 | </div> |
|
116 | </div> | |
117 | </div> |
|
117 | </div> | |
118 | <div class="panel-group" id="accordion" > |
|
118 | <div class="panel-group" id="accordion" > | |
119 | <div class="panel panel-default"> |
|
119 | <div class="panel panel-default"> | |
120 | <div class="panel-heading"> |
|
120 | <div class="panel-heading"> | |
121 | <a data-toggle="collapse" data-target="#collapseOne" href="#"> |
|
121 | <a data-toggle="collapse" data-target="#collapseOne" href="#"> | |
122 | Terminals |
|
122 | Terminals | |
123 | </a> |
|
123 | </a> | |
124 | </div> |
|
124 | </div> | |
125 | <div id="collapseOne" class=" collapse in"> |
|
125 | <div id="collapseOne" class=" collapse in"> | |
126 | <div class="panel-body"> |
|
126 | <div class="panel-body"> | |
127 | <div id="terminal_list"> |
|
127 | <div id="terminal_list"> | |
128 | <div id="terminal_list_header" class="row list_placeholder"> |
|
128 | <div id="terminal_list_header" class="row list_placeholder"> | |
129 | {% if terminals_available %} |
|
129 | {% if terminals_available %} | |
130 | <div> There are no terminals running. </div> |
|
130 | <div> There are no terminals running. </div> | |
131 | {% else %} |
|
131 | {% else %} | |
132 | <div> Terminals are unavailable. </div> |
|
132 | <div> Terminals are unavailable. </div> | |
133 | {% endif %} |
|
133 | {% endif %} | |
134 | </div> |
|
134 | </div> | |
135 | </div> |
|
135 | </div> | |
136 | </div> |
|
136 | </div> | |
137 | </div> |
|
137 | </div> | |
138 | </div> |
|
138 | </div> | |
139 | <div class="panel panel-default"> |
|
139 | <div class="panel panel-default"> | |
140 | <div class="panel-heading"> |
|
140 | <div class="panel-heading"> | |
141 | <a data-toggle="collapse" data-target="#collapseTwo" href="#"> |
|
141 | <a data-toggle="collapse" data-target="#collapseTwo" href="#"> | |
142 | Notebooks |
|
142 | Notebooks | |
143 | </a> |
|
143 | </a> | |
144 | </div> |
|
144 | </div> | |
145 | <div id="collapseTwo" class=" collapse in"> |
|
145 | <div id="collapseTwo" class=" collapse in"> | |
146 | <div class="panel-body"> |
|
146 | <div class="panel-body"> | |
147 | <div id="running_list"> |
|
147 | <div id="running_list"> | |
148 | <div id="running_list_placeholder" class="row list_placeholder"> |
|
148 | <div id="running_list_placeholder" class="row list_placeholder"> | |
149 | <div> There are no notebooks running. </div> |
|
149 | <div> There are no notebooks running. </div> | |
150 | </div> |
|
150 | </div> | |
151 | </div> |
|
151 | </div> | |
152 | </div> |
|
152 | </div> | |
153 | </div> |
|
153 | </div> | |
154 | </div> |
|
154 | </div> | |
155 | </div> |
|
155 | </div> | |
156 | </div> |
|
156 | </div> | |
157 | <div id="clusters" class="tab-pane"> |
|
157 | <div id="clusters" class="tab-pane"> | |
158 | <div id="cluster_toolbar" class="row"> |
|
158 | <div id="cluster_toolbar" class="row"> | |
159 | <div class="col-xs-8 no-padding"> |
|
159 | <div class="col-xs-8 no-padding"> | |
160 | <span id="cluster_list_info">IPython parallel computing clusters</span> |
|
160 | <span id="cluster_list_info">IPython parallel computing clusters</span> | |
161 | </div> |
|
161 | </div> | |
162 | <div class="col-xs-4 no-padding tree-buttons"> |
|
162 | <div class="col-xs-4 no-padding tree-buttons"> | |
163 | <span id="cluster_buttons" class="pull-right"> |
|
163 | <span id="cluster_buttons" class="pull-right"> | |
164 | <button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> |
|
164 | <button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-default btn-xs"><i class="fa fa-refresh"></i></button> | |
165 | </span> |
|
165 | </span> | |
166 | </div> |
|
166 | </div> | |
167 | </div> |
|
167 | </div> | |
168 | <div id="cluster_list"> |
|
168 | <div id="cluster_list"> | |
169 | <div id="cluster_list_header" class="row list_header"> |
|
169 | <div id="cluster_list_header" class="row list_header"> | |
170 | <div class="profile_col col-xs-4">profile</div> |
|
170 | <div class="profile_col col-xs-4">profile</div> | |
171 | <div class="status_col col-xs-3">status</div> |
|
171 | <div class="status_col col-xs-3">status</div> | |
172 | <div class="engines_col col-xs-3" title="Enter the number of engines to start or empty for default"># of engines</div> |
|
172 | <div class="engines_col col-xs-3" title="Enter the number of engines to start or empty for default"># of engines</div> | |
173 | <div class="action_col col-xs-2">action</div> |
|
173 | <div class="action_col col-xs-2">action</div> | |
174 | </div> |
|
174 | </div> | |
175 | </div> |
|
175 | </div> | |
176 | </div> |
|
176 | </div> | |
177 | </div><!-- class:tab-content --> |
|
177 | </div><!-- class:tab-content --> | |
178 | </div><!-- id:tab_content --> |
|
178 | </div><!-- id:tab_content --> | |
179 | </div><!-- ipython-main-app --> |
|
179 | </div><!-- ipython-main-app --> | |
180 |
|
180 | |||
181 | {% endblock %} |
|
181 | {% endblock %} | |
182 |
|
182 | |||
183 | {% block script %} |
|
183 | {% block script %} | |
184 | {{super()}} |
|
184 | {{super()}} | |
185 |
|
185 | |||
186 | <script src="{{ static_url("tree/js/main.js") }}" type="text/javascript" charset="utf-8"></script> |
|
186 | <script src="{{ static_url("tree/js/main.js") }}" type="text/javascript" charset="utf-8"></script> | |
187 | {% endblock %} |
|
187 | {% endblock %} |
General Comments 0
You need to be logged in to leave comments.
Login now