Direct patterning of nickel films on glass substrates