Dear Stifan, thanks again. It worked.
Just had to add in the index.html file:
{{block head}}
<link rel="stylesheet" href="{{=URL('static','css/chartist.min.css')}}"/>
<script src="{{=URL('static','js/chartist.min.js')}}"></script>
{{end}}
Cheers
Em quinta-feira, 21 de dezembro de 2017 19:18:49 UTC-2, 黄祥 escreveu:
>
> had you inspect it (chrome)? is it loaded in console tab in the browser
> inspection ?
> usually not put it (chartist.min.css and chartist.min.js) on the
> layout.html, just the html page that show the chart, because it will loaded
> in every page that extend layout.html (with or without the chart on the
> page).
>
> best regards,
> stifan
>
--
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].
For more options, visit https://groups.google.com/d/optout.