Teachers, school board vote on contract