add sub tables to buildings and units view page to show what bases those unit/builing is built