UI: template supports networks

Add network to edit Template.

Signed-off-by: Xin Ding <xinding@linux.vnet.ibm.com>