Hi,
Soory but i do not find answer:
I did that :
1. Create a subfolder of static (example "css_template")
2. Move template files to static/css_template
3. Move static/css_template/index.html to views/layout.html
4. Edit views/layout.html to fix *href* and *src* to static files using
{{=URL('static','css_template/style.css')}}
5. add these to views/layout.html where you want them to appear
I have created a static html page with css like (<link rel="stylesheet"
href="../static/css_template/assets/css/main.css" />)
inside this page html i have {{=list}} (From controler : list=
SQLFORM.grid(query=query,maxtextlength=20,orderby=~db.t_news.id,deletable=False,editable=False,create=False,advanced_search=False,csv=False)
When i want to edit a record , the css ... are not taken ! where can i
change this ?
thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/57f55765-0a4e-4257-8287-caa1a7c33517%40googlegroups.com.