I am trying to make a nice design with skeleton. It doesn't seem to  be 
working. Skeleton normally comes with layout.css, base.css, and 
skeleton.css, as well as an index.html. Web2py only has skeleton.css. Why 
is this?
 So I download skeleton, place the CSS files in the CSS directory, and put 
the skeleton index.html as newindex.html in the same folder as layout.html, 
and then  add the {{extend 'layout.html'}} into my /default/index.html 
file. I update the layout.html with the appropriate paths to the CSS file 
and it doesn't seem to work. Its frustrating how the Skeleton in Web2py 
isnt complete and it is refered to as the web2py grid, and not the skeleton 
grid. What am I missing? Is web2py.css really the base.css file from 
skeleton just renamed? 

In other words:
1. Downloaded skeleton. Placed the SKeleton.css (overwrote the original), 
base.css, and layout.css inside /static/css
2. Put the index.html from skeleton, renamed it to newindex, and placed in 
/views/
3. Updated the newindex and removed this:
              <link rel="stylesheet" href="stylesheets/base.css">
               <link rel="stylesheet" href="stylesheets/skeleton.css">
               <link rel="stylesheet" href="stylesheets/layout.css">
Then I added this:
{{response.files.append(URL('static','css/skeleton.css'))}}
{{response.files.append(URL('static','css/base.css'))}}
{{response.files.append(URL('static','css/layout.css'))}}
{{include 'web2py_ajax.html'}}

4. THen I changed /default/index.html to this:

{{extend 'newlayout.html'}}

Now only SOME of the CSS Styles change. I am sure this is a CSS issue, but 
it would be nice to have another set of eyes.


<h3>This should be visible</h3>

-- 



Reply via email to