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