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