Hi, all, This time we're demonstrating two different repos using the exact same copy of the CGI framework code, only different bootstrap CGI scripts (which tell them which repo to use and their project's primary site URL, for creating certain external links):
http://fossil.wanderinghorse.net/repos/libfossil/cgidemo/ http://fossil.wanderinghorse.net/repos/cwal/ui2/ Today's interesting development was a mechanism which allows individual pages/apps (which don't know anything about the header/footer) to inject CSS links properly, such that the browser can cache them (as opposed to either including their app-specific CSS into the skin's CSS or outputing a STYLE tag directly in their output). Clicking the "Files" links at the above sites with your browser's dev tools on will show that going on. This allows a very modular approach to adding CSS as new apps are developed. The main skin doesn't need to be touched, and the app doesn't need to inject its CSS directly in the page output. It requires JS, but i'm planning on other JS-based features, anyway. Happy Fossiling! -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users