{{#if environmentArray.length}}
diff --git a/app/components/form-ports/template.hbs b/app/components/form-ports/template.hbs
index 5c21e0575..4f65d7bb7 100644
--- a/app/components/form-ports/template.hbs
+++ b/app/components/form-ports/template.hbs
@@ -5,7 +5,7 @@
{{#unless editing}}
-
+
{{/unless}}
{{#if portsArray.length}}
diff --git a/app/components/info-multi-stats/component.js b/app/components/info-multi-stats/component.js
index ec3ece094..8959a2f08 100644
--- a/app/components/info-multi-stats/component.js
+++ b/app/components/info-multi-stats/component.js
@@ -21,6 +21,7 @@ export default Ember.Component.extend({
cpuGraph: null,
cpuData: null,
setCpuScale: false,
+ cpuD3Data: null,
memoryCanvas: '#memoryGraph',
memoryGraph: null,
@@ -142,6 +143,7 @@ export default Ember.Component.extend({
row.push(point.cpu_total);
}
+ this.set('cpuD3Data', data);
if ( point.cpu_count && this.get('renderOk') && !this.get('setCpuScale') )
{
graph.axis.max(point.cpu_count*100);
@@ -234,6 +236,7 @@ export default Ember.Component.extend({
x.push(i);
}
this.set('cpuData', [x]);
+ this.set('cpuD3Data', [x]);
var cpuGraph = c3.generate({
bindto: this.get('cpuCanvas'),
@@ -405,11 +408,14 @@ export default Ember.Component.extend({
//console.log('Init Network');
var x = ['x'];
+ var z = [];
for ( var i = 0 ; i < MAX_POINTS ; i++ )
{
x.push(i);
+ z.push(i);
}
this.set('networkData', [x]);
+ this.set('networkD3Data', z);
var networkGraph = c3.generate({
bindto: this.get('networkCanvas'),
diff --git a/app/components/info-multi-stats/template.hbs b/app/components/info-multi-stats/template.hbs
index 393e2fbdc..d7014a360 100644
--- a/app/components/info-multi-stats/template.hbs
+++ b/app/components/info-multi-stats/template.hbs
@@ -1,16 +1,17 @@
+
+
+
+ Info: {{model.displayState~}}
+
+
+
+
-
-
diff --git a/app/host/containers/template.hbs b/app/host/containers/template.hbs
index b3ddcc386..883748112 100644
--- a/app/host/containers/template.hbs
+++ b/app/host/containers/template.hbs
@@ -1,23 +1,19 @@
-
-
-
-
- {{sortable-th sortable=this action="changeSort" name="state" width="120"}}
- {{sortable-th sortable=this action="changeSort" name="name"}}
- {{sortable-th sortable=this action="changeSort" name="ip" width="110" label="IP Address"}}
- {{sortable-th sortable=this action="changeSort" name="image"}}
- {{sortable-th sortable=this action="changeSort" name="command"}}
- Stats
-
-
-
-
- {{#each arranged as |container|}}
- {{container-row model=container showStats=true cpuMax=cpuMax memoryMax=memoryMax storageMax=storageMax networkMax=networkMax}}
- {{else}}
- This host does not have any containers yet.
- {{/each}}
-
-
-
-
+
+
+
+ {{sortable-th sortable=this action="changeSort" name="state" width="120"}}
+ {{sortable-th sortable=this action="changeSort" name="name"}}
+ {{sortable-th sortable=this action="changeSort" name="ip" width="110" label="IP Address"}}
+ {{sortable-th sortable=this action="changeSort" name="image (command)"}}
+ Stats
+
+
+
+
+ {{#each arranged as |container|}}
+ {{container-row model=container showStats=true cpuMax=cpuMax memoryMax=memoryMax storageMax=storageMax networkMax=networkMax}}
+ {{else}}
+ This host does not have any containers yet.
+ {{/each}}
+
+
diff --git a/app/host/storage/template.hbs b/app/host/storage/template.hbs
index f5b0c2df2..4ed9326de 100644
--- a/app/host/storage/template.hbs
+++ b/app/host/storage/template.hbs
@@ -1,20 +1,17 @@
-
-
-
-
- {{sortable-th sortable=this action="changeSort" name="state" width="120"}}
- {{sortable-th sortable=this action="changeSort" name="hostPath"}}
- Mounts
-
-
-
-
- {{#each arranged as |volume|}}
- {{volume-row model=volume}}
- {{else}}
- This host does not have any volumes.
- {{/each}}
-
-
-
-
+
+
+
+ {{sortable-th sortable=this action="changeSort" name="state" width="120"}}
+ {{sortable-th sortable=this action="changeSort" name="hostPath"}}
+ Mounts
+
+
+
+
+ {{#each arranged as |volume|}}
+ {{volume-row model=volume}}
+ {{else}}
+ This host does not have any volumes.
+ {{/each}}
+
+
diff --git a/app/host/template.hbs b/app/host/template.hbs
index d8a795253..61ef5045b 100644
--- a/app/host/template.hbs
+++ b/app/host/template.hbs
@@ -12,6 +12,73 @@
{{#info-multi-stats model=model linkName="hostStats" single=true}}
+
+
+ IP Address
+ {{model.displayIp}} {{zero-clipboard text=model.displayIp}}
+
+
+ {{#if model.memoryBlurb}}
+ Memory
+ {{model.memoryBlurb}}
+ {{else}}
+ No Memory Footprint
+ {{/if}}
+
+
+ {{#if model.osDetail}}
+ OS
+ {{model.osDetail}}
+ {{else}}
+ No OS Details
+ {{/if}}
+
+
+ {{#if model.dockerBlurb}}
+ Docker
+ {{model.dockerBlurb}}
+ {{else}}
+ No Docker Details
+ {{/if}}
+
+
+
+
+ {{#if model.cpuBlurb}}
+ CPU
+ {{model.cpuBlurb}}{{#if model.cpuTooltip}} {{/if}}
+ {{/if}}
+
+
+ {{#if model.diskBlurb}}
+ Storage
+ {{#if model.diskDetail}}
+ {{#each model.diskDetail as |disk|}}
+ {{disk.value}}
+ {{/each}}
+ {{else}}
+ {{model.diskBlurb}} (total)
+ {{/if}}
+ {{else}}
+ No Storage Details
+ {{/if}}
+
+
+ {{#if model.info.osInfo.kernelVersion}}
+ Kernel
+ {{model.info.osInfo.kernelVersion}}
+ {{/if}}
+
+
+ Provider
+ {{#if model.machine}}
+ {{model.machine.driver}}
+ {{else}}
+ No Provider
+ {{/if}}
+
+
+ {{!--
{{#if model.showTransitioningMessage}}
@@ -21,87 +88,17 @@
{{/if}}
-
-
- IP Address
- {{model.displayIp}} {{zero-clipboard text=model.displayIp}}
-
-
- {{#if model.machine}}
-
- Provider
- {{model.machine.driver}}
-
- {{/if}}
-
- {{#if model.cpuBlurb}}
-
- CPU
- {{model.cpuBlurb}}{{#if model.cpuTooltip}} {{/if}}
-
- {{/if}}
-
- {{#if model.memoryBlurb}}
-
- Memory
- {{model.memoryBlurb}}
-
- {{/if}}
-
- {{#if model.diskBlurb}}
-
- Storage
- {{#if model.diskDetail}}
- {{#each model.diskDetail as |disk|}}
- {{disk.value}}
- {{/each}}
- {{else}}
- {{model.diskBlurb}} (total)
- {{/if}}
-
- {{/if}}
-
- {{#if model.osDetail}}
-
- OS
- {{model.osDetail}}
-
- {{/if}}
-
- {{#if model.info.osInfo.kernelVersion}}
-
- Kernel
- {{model.info.osInfo.kernelVersion}}
-
- {{/if}}
-
- {{#if model.dockerBlurb}}
-
- Docker
- {{model.dockerBlurb}}
-
- {{/if}}
-
-
- Labels
- {{#if userLabelArray.length}}
- {{#each userLabelArray as |label|}}
- {{label.key}}{{#if label.value}}={{label.value}}{{/if}}
- {{/each}}
- {{else}}
- None
- {{/if}}
-
+ --}}
{{/info-multi-stats}}