Skip to content

Commit 4aecadf

Browse files
committed
split view
1 parent 405761b commit 4aecadf

File tree

1 file changed

+29
-6
lines changed

1 file changed

+29
-6
lines changed

services/static-webserver/client/source/class/osparc/jobs/ActivityOverview.js

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,18 @@ qx.Class.define("osparc.jobs.ActivityOverview", {
4040

4141
members: {
4242
__buildLayout: function(projectData) {
43-
this._add(new qx.ui.basic.Label(this.tr("Runs History")).set({
43+
const runsHistoryTitleLayout = new qx.ui.container.Composite(new qx.ui.layout.HBox(5).set({
44+
alignY: "middle",
45+
})).set({
46+
paddingLeft: 10,
47+
});
48+
const runsHistoryTitle = new qx.ui.basic.Label(this.tr("Runs History")).set({
4449
font: "text-14"
45-
}));
50+
});
51+
runsHistoryTitleLayout.add(runsHistoryTitle);
52+
const runsHistoryTitleHelper = new osparc.ui.hint.InfoHint(this.tr("In this table, the history of the project runs is shown."))
53+
runsHistoryTitleLayout.add(runsHistoryTitleHelper);
54+
this._add(runsHistoryTitleLayout);
4655

4756
const latestOnly = false;
4857
const projectUuid = projectData["uuid"];
@@ -55,17 +64,31 @@ qx.Class.define("osparc.jobs.ActivityOverview", {
5564
runsTable.set({
5665
maxHeight: 250,
5766
})
58-
this._add(runsTable);
67+
this._add(runsTable, {
68+
flex: 1
69+
});
70+
5971

60-
this._add(new qx.ui.basic.Label(this.tr("Latest Tasks")).set({
72+
const latestTasksTitleLayout = new qx.ui.container.Composite(new qx.ui.layout.HBox(5).set({
73+
alignY: "middle",
74+
})).set({
75+
paddingLeft: 10,
76+
});
77+
const latestTasksTitle = new qx.ui.basic.Label(this.tr("Latest Tasks")).set({
6178
font: "text-14"
62-
}));
79+
});
80+
latestTasksTitleLayout.add(latestTasksTitle);
81+
const latestTasksTitleHelper = new osparc.ui.hint.InfoHint(this.tr("In this table, only the latest tasks or simulations are shown. If available, the logs can be downloaded."))
82+
latestTasksTitleLayout.add(latestTasksTitleHelper);
83+
this._add(latestTasksTitleLayout);
6384

6485
const subRunsTable = new osparc.jobs.SubRunsTable(projectData["uuid"]);
6586
subRunsTable.set({
6687
maxHeight: 250,
6788
})
68-
this._add(subRunsTable);
89+
this._add(subRunsTable, {
90+
flex: 1,
91+
});
6992
},
7093
}
7194
});

0 commit comments

Comments
 (0)