work!!
thanks guys!
2017-01-20 13:28 GMT-02:00 António Ramos :
> open the browser console. You should see some kind of warning saying css
> and js not found..
>
> in your html you are calling the js like this ?!
>
> you should place your js inside static/js
> then load it like this in the html
open the browser console. You should see some kind of warning saying css
and js not found..
in your html you are calling the js like this ?!
you should place your js inside static/js
then load it like this in the html
{{response.files.append(URL('static','/js/tagit.js'))}}
2017-01-20 12:42 G
Hi guys,,...
i did all the tips without succes...
here is my files:
html file - http://pastebin.com/XDVkv4T6
js file - http://pastebin.com/70HMVFNb
css file - http://pastebin.com/yanwj6ve
my html file is at /views/config/disease.html
Rgds
Tostes
2017-01-19 20:26 GMT-02:00 António Ramos
if you already placed your css and js in static then in your html inside
your controller folder you can do
{{response.files.extend([URL('static','js/xxx.js')])}}
{{response.files.append(URL('static','/js/yyy.js'))}}
{{response.files.append(URL('static','/css/zzz.css'))}}
{{extend 'layout.html'}}
On Thursday, January 19, 2017 at 12:22:06 PM UTC-8, Diego Tostes wrote:
>
> Hi,
>
> I have a html file that i i need to use with web2py, but this file access
> a unique css and js file.
>
>
> I try to add the files at the static withous success. I try to hardcoder
> the script and the css at the
This has been already taken care of in the config examples...
https://github.com/web2py/web2py/blob/master/examples/app.example.yaml#L28
On Wednesday, November 20, 2013 1:11:58 PM UTC+1, St. Pirsch wrote:
>
> The book states that a static asset management has been introduced:
> http://web2py.com
Martin,
Thanks for the suggestion, the analyze function shows 200 for the status but
that it loaded from cache which is consistent with observation using
Wireshark. This tool is also a much more direct approach to increasing
performance. It also pointed out that the items getting the 200 do not
did you try with http://pagespeed.googlelabs.com ?
2011/5/19 ron_m
> I examined the TCP traffic with Wireshark and could not see the actual
> requests go out to the server. I am beginning to believe this is a Firebug
> instrumentation problem. I would believe the Wireshark trace, it had no
> fil
I examined the TCP traffic with Wireshark and could not see the actual
requests go out to the server. I am beginning to believe this is a Firebug
instrumentation problem. I would believe the Wireshark trace, it had no
filters and I removed as much traffic as possible on the interface and all I
9 matches
Mail list logo