Nearly 1,500 people have been injured after two seven-plus magnitude shallow quakes hit seconds apart.