Would the below in robots.txt prevent Google from indexing any of the pages but would still allow the images, JS and CS to be crawled and indexed (if they were linked to from another url)?
User-agent: *
Disallow: /
Allow /*.css
Allow /*.js
Allow /*.jpg
Allow /*.jpeg
Allow /*.gif
Allow /*.png