A primary school in South Ribble has said it is “immensely proud” following the results of its latest Ofsted inspection.