The birds you saw look like Chinese quail. Of the two pictures you got off the net, the second one is a chinese and I don't know that the first one is (but it's very pretty!).
The birdies in the pictures are Chinese Painted Quail. Some people call the Button Quail but this term refers to a type of small rail which has nothing to do with quail in reality.
I have a pair and apart for the morning shrieks of the male they are a very jolly pet! The female also gets broody if given the right space and condition.
Only one note of warning...they are impressive escapees since only a few hours old!