Version 2.0 * About validation, this almost validate in html5 but one thing that is important, that force to last ie render http://validator.w3.org/check?uri=web2pytesting.appspot.com&charset=(detect+automatically)&doctype=Inline&group=0
* About validation in css, well i prefer that show correct and good in all browser, than to validate correct. This is because of the hacks. Believe me is good to close to almost validate but not a must. Validate is: "hey your are a good guy", but in real life you have the ie things, -moz and -wkit. I am ready to discuss, the things i changes. Some perhaps breaks compatibility with old welcome, but this is not important because scattfold app are for new ones. The main changes comes in layout.html, web2py_ajax.html, and base.css. You have to read this files, some are well documented in comments. Some explained here: http://www.1stwebdesigner.com/development/snippets-html5-boilerplate/ well the evil one, i make order in static/ so i put css in static/ css/, js in static/js/ and images in static/images/. Its good to have in order this things. this is static now: css/ (css dir) favicon.ico (this display icon in browser, i add transparency) favicon.png (this display icon in browser, iphone) images/ (images) js/ (javascripts) robots.txt (to control robots) css/ base.css (the main base style) calendar.css handheld.css (this is for mobile style) superfish.css (this is menu style) superfish-navbar.css superfish-vertical.css images/ arrows-ffffff.png (menu need this) mylogo.png (this is app logo) noti_error.png (notification icon) noti_ok.png (notification icon) noti_warn.png (notification icon) shadow.png (menu need this) warning.png (pretty exception need this) web2py_icon.png (I add transparency to web2py icon) js/ calendar.js dd_belatedpng.js (this fix issue:png tranparency in ie) jquery.js modernizr-1.5.min.js (this enabled html5) plugins.js (here perhaps the app plugins) script.js (here perhaps the app scripts) superfish.js * As suggest massimo i put black back in notifications. * I re enabled ez-css things to compatibility. But i dont understand why are sidebar-left and sidebar-right are if they not are used. Width 0 not means hide div, so i do not recommend this, this need to be as display: none; if not used. If this break things, ok i understand. * I re download superfish.js from site i dont have missings images thats this need. Now there are superfish.css for this things. * Added pretty_exceptions function in models/utils.py, when you raise http show a better exception page see in action here: http://web2pytesting.appspot.com/welcome/default/test_exception, this is an example perhaps need to be commented in controller. * in ajax_web2py i change that jquery download from online site prepared to serve this much faster anywhere, but if fails load the local version. * Some SEO things in layout, like analytics, meta tags specifics, robots etc. * Believe me this little things are need it, and perhaps a lot of more. Tomorrow i am going to check in different browsers. this is the welcome: http://web2pytesting.appspot.com/welcome/ this is the source: http://web2pytesting.appspot.com/welcome/static/welcome.zip http://web2pytesting.appspot.com/welcome/static/welcome.w2p And test this, the classical database example with new layout: http://web2pytesting.appspot.com/database_example/default/register_dog On Sep 22, 6:12 pm, Jonathan Lundell <jlund...@pobox.com> wrote: > On Sep 22, 2010, at 1:47 PM, Martin.Mulone wrote: > > > > > i know this need testing, i made this in hours so i think there are > > many errors, and i am going to fix. I am going to test in all > > browsers, ie, chrome. I think this is never going to validate because > > of the hacks, but the hacks allow that its show likely the same in all > > browser. > > Agreed. I like that you've made some attempt to document the hacks, and it'd > be nice if the validators allowed you to provide a list of expected > deviations.