Solar powered mason jar lights, I would probably change the design a bit starting with working the panel/light portion into a lid. Using a neat wire design probably hang them off plant hangers on fence posts or to light up a deck?
Solar Lights - DIY Quick Fix. Basically, there's a battery inside that charges the solar panel. Unscrew the head of the light and replace the battery. Will work unless the battery chamber has corroded.