Skip to content

Commit 51eb6b5

Browse files
committed
BookACall stack
1 parent d8ca05c commit 51eb6b5

File tree

1 file changed

+42
-0
lines changed
  • services/static-webserver/client/source/class/osparc/support

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/* ************************************************************************
2+
3+
osparc - the simcore frontend
4+
5+
https://osparc.io
6+
7+
Copyright:
8+
2025 IT'IS Foundation, https://itis.swiss
9+
10+
License:
11+
MIT: https://opensource.org/licenses/MIT
12+
13+
Authors:
14+
* Odei Maiz (odeimaiz)
15+
16+
************************************************************************ */
17+
18+
19+
qx.Class.define("osparc.support.BookACall", {
20+
extend: qx.ui.container.Stack,
21+
22+
construct: function() {
23+
this.base(arguments);
24+
},
25+
26+
members: {
27+
_createChildControlImpl: function(id) {
28+
let control;
29+
switch (id) {
30+
case "call-topic-selector":
31+
control = new osparc.support.CallTopicSelector();
32+
this.getChildControl("main-stack").add(control);
33+
break;
34+
case "book-a-call-iframe":
35+
control = new osparc.wrapper.BookACallIframe();
36+
this.getChildControl("main-stack").add(control);
37+
break;
38+
}
39+
return control || this.base(arguments, id);
40+
},
41+
}
42+
});

0 commit comments

Comments
 (0)