I think if the inputs and the buttons had some kind of box around them, we’d be a lot closer. I think it is a few simple css options, I just always get turned around in css files.
I think we can put the javascript in extra_javascript and I bet we are already loading jquery.
I did remove the table tags from Jamie’s version, just because it is a pain in markdown. We could probably put it back into one table. I think there is some fidgeting to make it more clear.
I think we could probably ditch the buttons entirely though.
If we hooked the onBlur or onChange of the workspace boxes to comoute from workspace, and we hooked onChange of the tube lengths to compute from tube length, it would all just update when the user changed something. When they changed tools or model, we would have to just pick which boxes they wanted to keep.