1:
views/default/myindex.html
<HTML>
<HEAD>
<TITLE>Mysite</TITLE>
</HEAD>
<BODY BGCOLOR="yellow">
<p> myown unique page with my_css</p>
{{=message}}
</BODY>
</HTML>
2:
def index():
response.view = 'default/myindex.html'
return dict(message=T('Welcome to web2py!'))
пятница, 11 октября 2019 г., 8:38:52 UTC+3 пользователь Jay B написал:
>
> Hello guys,
>
> I'm trying to figure out how to include another CSS framework instead of
> bootstrap. But the fact that the layout.html and other files point to the
> bootstrap files makes it harder than I thought.
>
> I would like to test other CSS frameworks like Semantic UI or Bulma
> instead of Bootstrap and wonder how to do it best. Or am I forced to delete
> all CSS files and standard views?
>
> I would be happy if you could help me and thank you in advance for all the
> tips.
>
> Greetz
> Jay
>
--
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/f16e2867-0c61-48d4-b2ee-5dff0b731914%40googlegroups.com.