found :
just using
: src="{{=URL('static/css_template/assets/','js/jquery.min.js')}}">Le mer. 4 déc. 2019 à 16:47, L c <[email protected]> a écrit : > 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/BKkgCKS2348/unsubscribe. > To unsubscribe from this group and all its topics, 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 > <https://groups.google.com/d/msgid/web2py/57f55765-0a4e-4257-8287-caa1a7c33517%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- *Laurent Chambon <[email protected]>* *47 rue Pougnet* *33400 Talence* *06 64 13 71 16 * -- 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/CAA-7DRu0M1uuVieza3BbBHaWp2jsE6f-Jwf3pKH9n1Vcj8Gt_w%40mail.gmail.com.

