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