Show More
@@ -28,21 +28,23 b' div.traceback-wrapper{text-align:left;max-width:800px;margin:auto}' | |||||
28 | .center-nav{display:inline-block;margin-bottom:-4px} |
|
28 | .center-nav{display:inline-block;margin-bottom:-4px} | |
29 | .alternate_upload{background-color:none;display:inline} |
|
29 | .alternate_upload{background-color:none;display:inline} | |
30 | .alternate_upload.form{padding:0;margin:0} |
|
30 | .alternate_upload.form{padding:0;margin:0} | |
31 | .alternate_upload input.fileinput{background-color:#f00;position:relative;opacity:0;z-index:2;width:295px;margin-left:163px;cursor:pointer} |
|
31 | .alternate_upload input.fileinput{background-color:#f00;position:relative;opacity:0;z-index:2;width:295px;margin-left:163px;cursor:pointer;height:26px} | |
32 | .list_toolbar{padding:5px;height:25px;line-height:25px} |
|
32 | ul#tabs{margin-bottom:4px} | |
33 | .toolbar_info{float:left} |
|
33 | ul#tabs a{padding-top:4px;padding-bottom:4px} | |
34 | .toolbar_buttons{float:right} |
|
34 | .list_toolbar{padding:4px 0 4px 0} | |
|
35 | .list_toolbar [class*="span"]{min-height:26px} | |||
35 | .list_header{font-weight:bold} |
|
36 | .list_header{font-weight:bold} | |
36 |
.list_container{margin-top: |
|
37 | .list_container{margin-top:4px;margin-bottom:16px;border:1px solid #ababab;border-radius:4px} | |
37 | .list_container>div{border-bottom:1px solid #ababab}.list_container>div:hover .list-item{background-color:#f00} |
|
38 | .list_container>div{border-bottom:1px solid #ababab}.list_container>div:hover .list-item{background-color:#f00} | |
38 | .list_container>div:last-child{border:none} |
|
39 | .list_container>div:last-child{border:none} | |
39 | .list_item:hover .list_item{background-color:#ddd} |
|
40 | .list_item:hover .list_item{background-color:#ddd} | |
40 | .list_item a{text-decoration:none} |
|
41 | .list_item a{text-decoration:none} | |
41 | .list_item .span12{padding:3px} |
|
42 | .list_header>div,.list_item>div{padding-top:4px;padding-bottom:4px;padding-left:7px;padding-right:7px} | |
42 |
.item_name{line-height:2 |
|
43 | .item_name{line-height:22px} | |
43 |
.item_icon{font-size:14px;color:#5e5e5e; |
|
44 | .item_icon{font-size:14px;color:#5e5e5e;margin-right:7px} | |
44 | .list_container>div>span,.list_container>div>div{padding:8px} |
|
45 | .item_buttons{line-height:1em} | |
45 | input.nbname_input{height:15px;margin:0} |
|
46 | .toolbar_info{height:26px;line-height:26px} | |
|
47 | input.nbname_input{padding-top:3px;padding-bottom:3px;height:14px;line-height:14px;margin:0} | |||
46 | .highlight_text{color:#00f} |
|
48 | .highlight_text{color:#00f} | |
47 | #project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold} |
|
49 | #project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold} | |
48 | input.engine_num_input{height:20px;margin-bottom:2px;padding-top:0;padding-bottom:0;width:60px} |
|
50 | input.engine_num_input{height:20px;margin-bottom:2px;padding-top:0;padding-bottom:0;width:60px} |
@@ -1305,21 +1305,23 b' span#login_widget{float:right}' | |||||
1305 | .center-nav{display:inline-block;margin-bottom:-4px} |
|
1305 | .center-nav{display:inline-block;margin-bottom:-4px} | |
1306 | .alternate_upload{background-color:none;display:inline} |
|
1306 | .alternate_upload{background-color:none;display:inline} | |
1307 | .alternate_upload.form{padding:0;margin:0} |
|
1307 | .alternate_upload.form{padding:0;margin:0} | |
1308 | .alternate_upload input.fileinput{background-color:#f00;position:relative;opacity:0;z-index:2;width:295px;margin-left:163px;cursor:pointer} |
|
1308 | .alternate_upload input.fileinput{background-color:#f00;position:relative;opacity:0;z-index:2;width:295px;margin-left:163px;cursor:pointer;height:26px} | |
1309 | .list_toolbar{padding:5px;height:25px;line-height:25px} |
|
1309 | ul#tabs{margin-bottom:4px} | |
1310 | .toolbar_info{float:left} |
|
1310 | ul#tabs a{padding-top:4px;padding-bottom:4px} | |
1311 | .toolbar_buttons{float:right} |
|
1311 | .list_toolbar{padding:4px 0 4px 0} | |
|
1312 | .list_toolbar [class*="span"]{min-height:26px} | |||
1312 | .list_header{font-weight:bold} |
|
1313 | .list_header{font-weight:bold} | |
1313 |
.list_container{margin-top: |
|
1314 | .list_container{margin-top:4px;margin-bottom:16px;border:1px solid #ababab;border-radius:4px} | |
1314 | .list_container>div{border-bottom:1px solid #ababab}.list_container>div:hover .list-item{background-color:#f00} |
|
1315 | .list_container>div{border-bottom:1px solid #ababab}.list_container>div:hover .list-item{background-color:#f00} | |
1315 | .list_container>div:last-child{border:none} |
|
1316 | .list_container>div:last-child{border:none} | |
1316 | .list_item:hover .list_item{background-color:#ddd} |
|
1317 | .list_item:hover .list_item{background-color:#ddd} | |
1317 | .list_item a{text-decoration:none} |
|
1318 | .list_item a{text-decoration:none} | |
1318 | .list_item .span12{padding:3px} |
|
1319 | .list_header>div,.list_item>div{padding-top:4px;padding-bottom:4px;padding-left:7px;padding-right:7px} | |
1319 |
.item_name{line-height:2 |
|
1320 | .item_name{line-height:22px} | |
1320 |
.item_icon{font-size:14px;color:#5e5e5e; |
|
1321 | .item_icon{font-size:14px;color:#5e5e5e;margin-right:7px} | |
1321 | .list_container>div>span,.list_container>div>div{padding:8px} |
|
1322 | .item_buttons{line-height:1em} | |
1322 | input.nbname_input{height:15px;margin:0} |
|
1323 | .toolbar_info{height:26px;line-height:26px} | |
|
1324 | input.nbname_input{padding-top:3px;padding-bottom:3px;height:14px;line-height:14px;margin:0} | |||
1323 | .highlight_text{color:#00f} |
|
1325 | .highlight_text{color:#00f} | |
1324 | #project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold} |
|
1326 | #project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold} | |
1325 | input.engine_num_input{height:20px;margin-bottom:2px;padding-top:0;padding-bottom:0;width:60px} |
|
1327 | input.engine_num_input{height:20px;margin-bottom:2px;padding-top:0;padding-bottom:0;width:60px} |
@@ -100,16 +100,16 b' var IPython = (function (IPython) {' | |||||
100 |
|
100 | |||
101 | ClusterItem.prototype.state_stopped = function () { |
|
101 | ClusterItem.prototype.state_stopped = function () { | |
102 | var that = this; |
|
102 | var that = this; | |
103 |
var profile_col = $('< |
|
103 | var profile_col = $('<div/>').addClass('profile_col span4').text(this.data.profile); | |
104 |
var status_col = $('< |
|
104 | var status_col = $('<div/>').addClass('status_col span3').text('stopped'); | |
105 |
var engines_col = $('< |
|
105 | var engines_col = $('<div/>').addClass('engine_col span3'); | |
106 | var input = $('<input/>').attr('type','number') |
|
106 | var input = $('<input/>').attr('type','number') | |
107 | .attr('min',1) |
|
107 | .attr('min',1) | |
108 | .attr('size',3) |
|
108 | .attr('size',3) | |
109 | .addClass('engine_num_input'); |
|
109 | .addClass('engine_num_input'); | |
110 | engines_col.append(input); |
|
110 | engines_col.append(input); | |
111 | var start_button = $('<button/>').addClass("btn btn-mini").text("Start"); |
|
111 | var start_button = $('<button/>').addClass("btn btn-mini").text("Start"); | |
112 |
var action_col = $('< |
|
112 | var action_col = $('<div/>').addClass('action_col span2').append( | |
113 | $("<span/>").addClass("item_buttons btn-group").append( |
|
113 | $("<span/>").addClass("item_buttons btn-group").append( | |
114 | start_button |
|
114 | start_button | |
115 | ) |
|
115 | ) | |
@@ -151,11 +151,11 b' var IPython = (function (IPython) {' | |||||
151 |
|
151 | |||
152 | ClusterItem.prototype.state_running = function () { |
|
152 | ClusterItem.prototype.state_running = function () { | |
153 | var that = this; |
|
153 | var that = this; | |
154 |
var profile_col = $('< |
|
154 | var profile_col = $('<div/>').addClass('profile_col span4').text(this.data.profile); | |
155 |
var status_col = $('< |
|
155 | var status_col = $('<div/>').addClass('status_col span3').text('running'); | |
156 |
var engines_col = $('< |
|
156 | var engines_col = $('<div/>').addClass('engines_col span3').text(this.data.n); | |
157 | var stop_button = $('<button/>').addClass("btn btn-mini").text("Stop"); |
|
157 | var stop_button = $('<button/>').addClass("btn btn-mini").text("Stop"); | |
158 |
var action_col = $('< |
|
158 | var action_col = $('<div/>').addClass('action_col span2').append( | |
159 | $("<span/>").addClass("item_buttons btn-group").append( |
|
159 | $("<span/>").addClass("item_buttons btn-group").append( | |
160 | stop_button |
|
160 | stop_button | |
161 | ) |
|
161 | ) |
@@ -22,4 +22,5 b'' | |||||
22 | width: 295px; |
|
22 | width: 295px; | |
23 | margin-left:163px; |
|
23 | margin-left:163px; | |
24 | cursor: pointer; |
|
24 | cursor: pointer; | |
|
25 | height: 26px; | |||
25 | } |
|
26 | } |
@@ -5,21 +5,25 b'' | |||||
5 | * Author: IPython Development Team |
|
5 | * Author: IPython Development Team | |
6 | */ |
|
6 | */ | |
7 |
|
7 | |||
8 | #tabs { |
|
8 | @dashboard_tb_pad: 4px; | |
|
9 | @dashboard_lr_pad: 7px; | |||
|
10 | ||||
|
11 | ||||
|
12 | ul#tabs { | |||
|
13 | margin-bottom: @dashboard_tb_pad; | |||
9 | } |
|
14 | } | |
10 |
|
15 | |||
11 | .list_toolbar { |
|
16 | ul#tabs a { | |
12 | padding: 5px; |
|
17 | padding-top: @dashboard_tb_pad; | |
13 | height: 25px; |
|
18 | padding-bottom: @dashboard_tb_pad; | |
14 | line-height: 25px; |
|
|||
15 | } |
|
19 | } | |
16 |
|
20 | |||
17 |
.toolbar |
|
21 | .list_toolbar { | |
18 | float: left; |
|
22 | padding: @dashboard_tb_pad 0 @dashboard_tb_pad 0; | |
19 | } |
|
23 | } | |
20 |
|
24 | |||
21 | .toolbar_buttons { |
|
25 | .list_toolbar [class*="span"] { | |
22 | float: right; |
|
26 | min-height: 26px; | |
23 | } |
|
27 | } | |
24 |
|
28 | |||
25 | .list_header { |
|
29 | .list_header { | |
@@ -27,7 +31,7 b'' | |||||
27 | } |
|
31 | } | |
28 |
|
32 | |||
29 | .list_container { |
|
33 | .list_container { | |
30 |
margin-top: |
|
34 | margin-top: @dashboard_tb_pad; | |
31 | margin-bottom: 16px; |
|
35 | margin-bottom: 16px; | |
32 | border: 1px solid @border_color; |
|
36 | border: 1px solid @border_color; | |
33 | border-radius: 4px; |
|
37 | border-radius: 4px; | |
@@ -49,38 +53,39 b'' | |||||
49 | background-color: #ddd; |
|
53 | background-color: #ddd; | |
50 | }; |
|
54 | }; | |
51 | a {text-decoration: none;} |
|
55 | a {text-decoration: none;} | |
52 | .span12 {padding: 3px;} |
|
56 | } | |
|
57 | ||||
|
58 | .list_header>div, .list_item>div { | |||
|
59 | padding-top: @dashboard_tb_pad; | |||
|
60 | padding-bottom: @dashboard_tb_pad; | |||
|
61 | padding-left: @dashboard_lr_pad; | |||
|
62 | padding-right: @dashboard_lr_pad; | |||
53 | } |
|
63 | } | |
54 |
|
64 | |||
55 | .item_name { |
|
65 | .item_name { | |
56 |
line-height: 2 |
|
66 | line-height: 22px; | |
57 | } |
|
67 | } | |
58 |
|
68 | |||
59 | .item_icon { |
|
69 | .item_icon { | |
60 | font-size: 14px; |
|
70 | font-size: 14px; | |
61 | color: darken(@border_color, 30%); |
|
71 | color: darken(@border_color, 30%); | |
62 | margin-left: 5px; |
|
72 | margin-right: @dashboard_lr_pad; | |
63 | margin-right: 8px; |
|
|||
64 | } |
|
73 | } | |
65 |
|
74 | |||
66 | .list_container > div > span, .list_container > div > div { |
|
75 | .item_buttons { | |
67 | padding: 8px; |
|
76 | line-height: 1em; | |
68 | } |
|
77 | } | |
69 |
|
78 | |||
70 | .profile_col { |
|
79 | .toolbar_info { | |
71 | } |
|
80 | height: 26px; | |
72 |
|
81 | line-height: 26px; | ||
73 | .status_col { |
|
|||
74 | } |
|
|||
75 |
|
||||
76 | .engines_col { |
|
|||
77 | } |
|
|||
78 |
|
||||
79 | .action_col { |
|
|||
80 | } |
|
82 | } | |
81 |
|
83 | |||
82 | input.nbname_input { |
|
84 | input.nbname_input { | |
83 |
|
|
85 | padding-top: 3px; | |
|
86 | padding-bottom: 3px; | |||
|
87 | height: 14px; | |||
|
88 | line-height: 14px; | |||
84 | margin: 0px; |
|
89 | margin: 0px; | |
85 | } |
|
90 | } | |
86 |
|
91 |
@@ -22,25 +22,29 b' data-base-kernel-url="{{base_kernel_url}}"' | |||||
22 |
|
22 | |||
23 | <div id="ipython-main-app" class="container"> |
|
23 | <div id="ipython-main-app" class="container"> | |
24 |
|
24 | |||
25 |
<div id="tab |
|
25 | <div id="tab_content" class="tabbable"> | |
26 |
<ul class="nav nav-tabs" |
|
26 | <ul id="tabs" class="nav nav-tabs"> | |
27 | <li class="active"><a href="#notebooks" data-toggle="tab">Notebooks</a></li> |
|
27 | <li class="active"><a href="#notebooks" data-toggle="tab">Notebooks</a></li> | |
28 | <li><a href="#clusters" data-toggle="tab">Clusters</a></li> |
|
28 | <li><a href="#clusters" data-toggle="tab">Clusters</a></li> | |
29 | </ul> |
|
29 | </ul> | |
30 |
|
30 | |||
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"> |
|
33 | <div id="notebook_toolbar" class="row-fluid"> | |
34 | <form id='alternate_upload' class='alternate_upload' > |
|
34 | <div class="span8"> | |
35 | <span id="drag_info" style="position:absolute" > |
|
35 | <form id='alternate_upload' class='alternate_upload' > | |
36 | To import a notebook, drag the file onto the listing below or <strong>click here</strong>. |
|
36 | <span id="drag_info" style="position:absolute" > | |
37 | </span> |
|
37 | To import a notebook, drag the file onto the listing below or <strong>click here</strong>. | |
38 | <input type="file" name="datafile" class="fileinput" multiple='multiple'> |
|
38 | </span> | |
39 | </form> |
|
39 | <input type="file" name="datafile" class="fileinput" multiple='multiple'> | |
40 | <span id="notebook_buttons"> |
|
40 | </form> | |
41 | <button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-small">Refresh</button> |
|
41 | </div> | |
42 | <button id="new_notebook" title="Create new notebook" class="btn btn-small">New Notebook</button> |
|
42 | <div class="span4 clearfix"> | |
43 | </span> |
|
43 | <span id="notebook_buttons" class="pull-right"> | |
|
44 | <button id="new_notebook" title="Create new notebook" class="btn btn-small">New Notebook</button> | |||
|
45 | <button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-small"><i class="icon-refresh"></i></button> | |||
|
46 | </span> | |||
|
47 | </div> | |||
44 | </div> |
|
48 | </div> | |
45 |
|
49 | |||
46 | <div id="notebook_list"> |
|
50 | <div id="notebook_list"> | |
@@ -59,20 +63,23 b' data-base-kernel-url="{{base_kernel_url}}"' | |||||
59 |
|
63 | |||
60 | <div id="clusters" class="tab-pane"> |
|
64 | <div id="clusters" class="tab-pane"> | |
61 |
|
65 | |||
62 | <div id="cluster_toolbar"> |
|
66 | <div id="cluster_toolbar" class="row-fluid"> | |
63 | <span id="cluster_list_info">IPython parallel computing clusters</span> |
|
67 | <div class="span8"> | |
64 |
|
68 | <span id="cluster_list_info">IPython parallel computing clusters</span> | ||
65 | <span id="cluster_buttons"> |
|
69 | </div> | |
66 | <button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-small">Refresh</button> |
|
70 | <div class="span4" class="clearfix"> | |
67 | </span> |
|
71 | <span id="cluster_buttons" class="pull-right"> | |
|
72 | <button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-small"><i class="icon-refresh"></i></button> | |||
|
73 | </span> | |||
|
74 | </div> | |||
68 | </div> |
|
75 | </div> | |
69 |
|
76 | |||
70 | <div id="cluster_list"> |
|
77 | <div id="cluster_list"> | |
71 | <div id="cluster_list_header" class="row-fluid list_header"> |
|
78 | <div id="cluster_list_header" class="row-fluid list_header"> | |
72 |
< |
|
79 | <div class="profile_col span4">profile</div> | |
73 |
< |
|
80 | <div class="status_col span3">status</div> | |
74 |
< |
|
81 | <div class="engines_col span3" title="Enter the number of engines to start or empty for default"># of engines</div> | |
75 |
< |
|
82 | <div class="action_col span2">action</div> | |
76 | </div> |
|
83 | </div> | |
77 | </div> |
|
84 | </div> | |
78 | </div> |
|
85 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now