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