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