Add feature to disable terminal tab.#50
Add feature to disable terminal tab.#50jkupferer wants to merge 3 commits intoopenshift-homeroom:developfrom
Conversation
This commit adds the ability to set TERMINAL_TAB=disable in order to disable the terminal tab for workshops that do not require it. resolves openshift-homeroom#49
|
Variable corresponding to |
|
More changes would be needed than that also. The problem is that the terminal tab is the initially selected tab. If none of the tabs have the selected attribute you end up with a blank pane as bootstrap doesn't know which to show. So you need to somehow work out which would be the first tab and mark it as selected instead. |
|
The alternative is that setting of |
|
Should still perhaps pass |
|
Thanks for the quick response. I changed it to set terminal_tab based on the value of |
|
Out of curiosity, what is the workshop you are creating going to cover, such that the terminal isn't needed? |
|
@GrahamDumpleton The workshop I had in mind is a workshop for installing OpenShift on OpenStack. For the OpenStack setup we are considering using VNC access to the VMs and command should be entered through the VNC consoles. The presence of the terminal may cause confusion in places about where to run commands. |
|
You know there is a workshop content only mode? Or do you really want slides as well. The OpenShift web console will be useless to you if not working with the same cluster as homeroom is deployed into. Set |
|
Right, and that is super helpful, but we're trying to leave open the possibility for workshops that don't want the terminal but may want slides or the console. |
|
A way of fudging having the first tab be selected regardless, would be to add to the end of the last script section in the template: |
|
Ah! That works great. I found and fixed another bug while testing this and was able to validate it working now without the terminal tab. |
This commit adds the ability to set TERMINAL_TAB=disable in order to
disable the terminal tab for workshops that do not require it.
resolves #49