added gadget template