Danville animal shelter's director resigns