From 9be9249f7168e1799b1c6689da44d1efb15667ae Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 26 May 2018 23:15:09 +0200 Subject: modularize... circular dependencies... whatever --- app/client/system/system.component.js | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'app/client/system/system.component.js') diff --git a/app/client/system/system.component.js b/app/client/system/system.component.js index 00c5395..5d75964 100644 --- a/app/client/system/system.component.js +++ b/app/client/system/system.component.js @@ -9,15 +9,25 @@ import * as systemActions from './system.actions' import * as taskActions from '../task/task.actions' const cpu_test_task = { - id: 1073, - activity: 'train', + activity: 'cpu', library: 'test', dataset: 'test', epochs: 1, opt: {} } const gpu_test_task = { - + activity: 'gpu', + library: 'test', + dataset: 'test', + epochs: 1, + opt: {} +} +const live_test_task = { + activity: 'live', + library: 'test', + dataset: 'test', + epochs: 1, + opt: {} } class System extends Component { @@ -61,13 +71,17 @@ class System extends Component { - + - + + + + + {this.renderCommandOutput()} -- cgit v1.2.3-70-g09d2