use gauge template on server and client