Closed nycdotnet closed 9 years ago
Hi Steve!
Thanks for the comment. I used Bootstrap when developing the course, but replaced it with custom styles which are in the public/css/stylesheet.css file.
What is your project looking like?
Perhaps there was a merge problem of some sort. This is what I see after downloading a ZIP of the content of this repo and copying it into the folder (as a customer might do):
When I also copy the default Bootstrap and Boostrap theme CSS file and link in the stylesheet.css file, it looks the same as in your video.
@import "bootstrap.css";
@import "bootstrap-theme.css";
Ah, yeah, that does look unstyled. I think the issue is the include statement in the templates/index.html file. The path to the stylesheet is setup for module 2 when we enable a static asset endpoint in our web server. If you change "assets" to "public" on line 4 of templates/index.html, it should enable you to see the styled version when viewing from your file directory.
I can see how this might be confusing when first looking at the files. I'll add a note to the readme about it.
Thanks!
@nycdotnet Thanks for taking the time to take those screenshots!
Actually, I spoke to soon! You're totally right, Steve, I left out some styles.... Pushing new code now. Thanks for the catch!
No worries - will you take a PR to include HTML 5 doctypes and fix the unescaped ampersand on index.html? IE 11 barfs on that and renders in quirks mode.
I would love one! :-)
Hi Ryan,
I think you may have forgotten to include Bootstrap in this. The presentation doesn't look right without adding that.
-Steve O