Show More
@@ -92,16 +92,16 b' define([' | |||||
92 |
|
92 | |||
93 | ClusterItem.prototype.state_stopped = function () { |
|
93 | ClusterItem.prototype.state_stopped = function () { | |
94 | var that = this; |
|
94 | var that = this; | |
95 |
var profile_col = $('<div/>').addClass('profile_col col- |
|
95 | var profile_col = $('<div/>').addClass('profile_col col-xs-4').text(this.data.profile); | |
96 |
var status_col = $('<div/>').addClass('status_col col- |
|
96 | var status_col = $('<div/>').addClass('status_col col-xs-3').text('stopped'); | |
97 |
var engines_col = $('<div/>').addClass('engine_col col- |
|
97 | var engines_col = $('<div/>').addClass('engine_col col-xs-3'); | |
98 | var input = $('<input/>').attr('type','number') |
|
98 | var input = $('<input/>').attr('type','number') | |
99 | .attr('min',1) |
|
99 | .attr('min',1) | |
100 | .attr('size',3) |
|
100 | .attr('size',3) | |
101 | .addClass('engine_num_input form-control'); |
|
101 | .addClass('engine_num_input form-control'); | |
102 | engines_col.append(input); |
|
102 | engines_col.append(input); | |
103 | var start_button = $('<button/>').addClass("btn btn-default btn-xs").text("Start"); |
|
103 | var start_button = $('<button/>').addClass("btn btn-default btn-xs").text("Start"); | |
104 |
var action_col = $('<div/>').addClass('action_col col- |
|
104 | var action_col = $('<div/>').addClass('action_col col-xs-2').append( | |
105 | $("<span/>").addClass("item_buttons btn-group").append( |
|
105 | $("<span/>").addClass("item_buttons btn-group").append( | |
106 | start_button |
|
106 | start_button | |
107 | ) |
|
107 | ) | |
@@ -144,11 +144,11 b' define([' | |||||
144 |
|
144 | |||
145 | ClusterItem.prototype.state_running = function () { |
|
145 | ClusterItem.prototype.state_running = function () { | |
146 | var that = this; |
|
146 | var that = this; | |
147 |
var profile_col = $('<div/>').addClass('profile_col col- |
|
147 | var profile_col = $('<div/>').addClass('profile_col col-xs-4').text(this.data.profile); | |
148 |
var status_col = $('<div/>').addClass('status_col col- |
|
148 | var status_col = $('<div/>').addClass('status_col col-xs-3').text('running'); | |
149 |
var engines_col = $('<div/>').addClass('engines_col col- |
|
149 | var engines_col = $('<div/>').addClass('engines_col col-xs-3').text(this.data.n); | |
150 | var stop_button = $('<button/>').addClass("btn btn-default btn-xs").text("Stop"); |
|
150 | var stop_button = $('<button/>').addClass("btn btn-default btn-xs").text("Stop"); | |
151 |
var action_col = $('<div/>').addClass('action_col col- |
|
151 | var action_col = $('<div/>').addClass('action_col col-xs-2').append( | |
152 | $("<span/>").addClass("item_buttons btn-group").append( |
|
152 | $("<span/>").addClass("item_buttons btn-group").append( | |
153 | stop_button |
|
153 | stop_button | |
154 | ) |
|
154 | ) |
@@ -15,7 +15,7 b'' | |||||
15 |
|
15 | |||
16 | {% if login_available %} |
|
16 | {% if login_available %} | |
17 | <div class="row"> |
|
17 | <div class="row"> | |
18 |
<div class="navbar col-m |
|
18 | <div class="navbar col-sm-8 col-sm-offset2"> | |
19 | <div class="navbar-inner"> |
|
19 | <div class="navbar-inner"> | |
20 | <div class="container"> |
|
20 | <div class="container"> | |
21 | <div class="center-nav"> |
|
21 | <div class="center-nav"> |
@@ -31,7 +31,7 b' data-notebook-path="{{notebook_path}}"' | |||||
31 | <div class="tab-content"> |
|
31 | <div class="tab-content"> | |
32 | <div id="notebooks" class="tab-pane active"> |
|
32 | <div id="notebooks" class="tab-pane active"> | |
33 | <div id="notebook_toolbar" class="row"> |
|
33 | <div id="notebook_toolbar" class="row"> | |
34 |
<div class="col-m |
|
34 | <div class="col-sm-8 no-padding"> | |
35 | <form id='alternate_upload' class='alternate_upload' > |
|
35 | <form id='alternate_upload' class='alternate_upload' > | |
36 | <span id="notebook_list_info" style="position:absolute" > |
|
36 | <span id="notebook_list_info" style="position:absolute" > | |
37 | To import a notebook, drag the file onto the listing below or <strong>click here</strong>. |
|
37 | To import a notebook, drag the file onto the listing below or <strong>click here</strong>. | |
@@ -39,7 +39,7 b' data-notebook-path="{{notebook_path}}"' | |||||
39 | <input type="file" name="datafile" class="fileinput" multiple='multiple'> |
|
39 | <input type="file" name="datafile" class="fileinput" multiple='multiple'> | |
40 | </form> |
|
40 | </form> | |
41 | </div> |
|
41 | </div> | |
42 |
<div class="col-m |
|
42 | <div class="col-sm-4 no-padding tree-buttons"> | |
43 | <span id="notebook_buttons" class="pull-right"> |
|
43 | <span id="notebook_buttons" class="pull-right"> | |
44 | <button id="new_notebook" title="Create new notebook" class="btn btn-default btn-xs">New Notebook</button> |
|
44 | <button id="new_notebook" title="Create new notebook" class="btn btn-default btn-xs">New Notebook</button> | |
45 | <button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-default btn-xs"><i class="icon-refresh"></i></button> |
|
45 | <button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-default btn-xs"><i class="icon-refresh"></i></button> | |
@@ -64,10 +64,10 b' data-notebook-path="{{notebook_path}}"' | |||||
64 | <div id="running" class="tab-pane"> |
|
64 | <div id="running" class="tab-pane"> | |
65 |
|
65 | |||
66 | <div id="running_toolbar" class="row"> |
|
66 | <div id="running_toolbar" class="row"> | |
67 |
<div class="col-m |
|
67 | <div class="col-sm-8 no-padding"> | |
68 | <span id="running_list_info">Currently running IPython notebooks</span> |
|
68 | <span id="running_list_info">Currently running IPython notebooks</span> | |
69 | </div> |
|
69 | </div> | |
70 |
<div class="col-m |
|
70 | <div class="col-sm-4 no-padding tree-buttons"> | |
71 | <span id="running_buttons" class="pull-right"> |
|
71 | <span id="running_buttons" class="pull-right"> | |
72 | <button id="refresh_running_list" title="Refresh running list" class="btn btn-default btn-xs"><i class="icon-refresh"></i></button> |
|
72 | <button id="refresh_running_list" title="Refresh running list" class="btn btn-default btn-xs"><i class="icon-refresh"></i></button> | |
73 | </span> |
|
73 | </span> | |
@@ -84,10 +84,10 b' data-notebook-path="{{notebook_path}}"' | |||||
84 | <div id="clusters" class="tab-pane"> |
|
84 | <div id="clusters" class="tab-pane"> | |
85 |
|
85 | |||
86 | <div id="cluster_toolbar" class="row"> |
|
86 | <div id="cluster_toolbar" class="row"> | |
87 |
<div class="col- |
|
87 | <div class="col-xs-8 no-padding"> | |
88 | <span id="cluster_list_info">IPython parallel computing clusters</span> |
|
88 | <span id="cluster_list_info">IPython parallel computing clusters</span> | |
89 | </div> |
|
89 | </div> | |
90 |
<div class="col- |
|
90 | <div class="col-xs-4 no-padding tree-buttons"> | |
91 | <span id="cluster_buttons" class="pull-right"> |
|
91 | <span id="cluster_buttons" class="pull-right"> | |
92 | <button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-default btn-xs"><i class="icon-refresh"></i></button> |
|
92 | <button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-default btn-xs"><i class="icon-refresh"></i></button> | |
93 | </span> |
|
93 | </span> | |
@@ -96,10 +96,10 b' data-notebook-path="{{notebook_path}}"' | |||||
96 |
|
96 | |||
97 | <div id="cluster_list"> |
|
97 | <div id="cluster_list"> | |
98 | <div id="cluster_list_header" class="row list_header"> |
|
98 | <div id="cluster_list_header" class="row list_header"> | |
99 |
<div class="profile_col col- |
|
99 | <div class="profile_col col-xs-4">profile</div> | |
100 |
<div class="status_col col- |
|
100 | <div class="status_col col-xs-3">status</div> | |
101 |
<div class="engines_col col- |
|
101 | <div class="engines_col col-xs-3" title="Enter the number of engines to start or empty for default"># of engines</div> | |
102 |
<div class="action_col col- |
|
102 | <div class="action_col col-xs-2">action</div> | |
103 | </div> |
|
103 | </div> | |
104 | </div> |
|
104 | </div> | |
105 | </div> |
|
105 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now