welcome.w2p based on twitter bootstrap

256 views
Skip to first unread message

Bruno Rocha

unread,
Sep 25, 2011, 8:47:37 AM9/25/11
to Massimo Di Pierro, web2py-developers

Place this welcome.w2p on the root of your web2py or simply uploads as new application in admin.

This is welcome app based on twitter bootstrap css & JS.

Needs some improvements and better examples on the sidebar.



--
Bruno Rocha
[ Aprenda a programar: http://CursoDePython.com.br ]
[ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]
[ Consultoria em desenvolvimento web: http://www.blouweb.com ]

welcome.w2p

Bruno Rocha

unread,
Sep 25, 2011, 8:58:58 AM9/25/11
to Massimo Di Pierro, web2py-developers
The live demo: https://labs.blouweb.com/bootstrap
--

Massimo Di Pierro

unread,
Sep 25, 2011, 11:31:04 AM9/25/11
to Bruno Rocha, web2py-developers
I propose we release web2py 2.0 asap where this is the main change (and perhaps we replace appadmin with instantadmin++smartgrid) so the screenshots in the new version of the book refer to 2.0.

Massimo

Massimo Di Pierro

unread,
Sep 25, 2011, 12:17:57 PM9/25/11
to Bruno Rocha, web2py-developers
I see you use lots of bootstrap.*.js are they needed or is the css sufficient?
The grid does not show icons. Is that because of bootstrap or because of jquery-ui?

Massimo


On Sep 25, 2011, at 7:58 AM, Bruno Rocha wrote:

Massimo Di Pierro

unread,
Sep 25, 2011, 2:40:17 PM9/25/11
to Bruno Rocha, web2py-developers
I would take a patch to use bootstrap.css and replace superfish with something else but the goal should be reduce the total number of files in welcome. It should not link external files. Everything should be in the box.

<welcome.w2p>

pbreit

unread,
Sep 25, 2011, 2:52:30 PM9/25/11
to web2py-d...@googlegroups.com, Bruno Rocha
This looks pretty nice. Wouldn't Bootstrap's menus be able to replace Superfish?

Massimo Di Pierro

unread,
Sep 25, 2011, 2:54:10 PM9/25/11
to web2py-d...@googlegroups.com, Bruno Rocha
yes and I think they should.

On Sep 25, 2011, at 1:52 PM, pbreit wrote:

This looks pretty nice. Wouldn't Bootstrap's menus be able to replace Superfish?

--
mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/

Anthony

unread,
Sep 25, 2011, 3:00:46 PM9/25/11
to web2py-d...@googlegroups.com, Massimo Di Pierro
This is great. Thanks, Bruno. I really like the idea of including the examples of web2py functionality (linked in sidebar).

I know media queries and responsive design are on the Bootstrap roadmap (https://github.com/twitter/bootstrap/wiki/Roadmap), but while we're waiting, I wonder if we should consider incorporating a responsive grid system to make the welcome app more mobile friendly. It would be great if welcome worked nicely on mobile out of the box. Some examples:


We might also consider offering a separate mobile-only welcome app based on jQuery Mobile.

Anthony

Anthony

unread,
Sep 25, 2011, 3:04:30 PM9/25/11
to web2py-d...@googlegroups.com, Bruno Rocha
With all the examples/demos included in this new welcome app, it might be a good idea to place a prominent link to it on web2py.com as a way of both showing the welcome app and demonstrating some of web2py's functionality. We currently have a link to the admin demo, but I don't think there is one to the welcome app.

Anthony

Massimo Di Pierro

unread,
Sep 25, 2011, 3:07:36 PM9/25/11
to web2py-d...@googlegroups.com
On Sep 25, 2011, at 2:00 PM, Anthony wrote:

This is great. Thanks, Bruno. I really like the idea of including the examples of web2py functionality (linked in sidebar).

I like them too but shouldn't they go in examples? I am happy to add more examples to the examples. app. patch?


I know media queries and responsive design are on the Bootstrap roadmap (https://github.com/twitter/bootstrap/wiki/Roadmap), but while we're waiting, I wonder if we should consider incorporating a responsive grid system to make the welcome app more mobile friendly. It would be great if welcome worked nicely on mobile out of the box. Some examples:


We might also consider offering a separate mobile-only welcome app based on jQuery Mobile.

Anthony has a point. We should target mobiles.

Massimo Di Pierro

unread,
Sep 25, 2011, 3:08:13 PM9/25/11
to web2py-d...@googlegroups.com, Bruno Rocha
We should move the examples in examples and link them form the main page.

Anthony

unread,
Sep 25, 2011, 3:31:56 PM9/25/11
to web2py-d...@googlegroups.com, Bruno Rocha
On Sunday, September 25, 2011 3:08:13 PM UTC-4, Massimo Di Pierro wrote:
We should move the examples in examples and link them form the main page.

Could also use a components example, and probably some of the other new functionality as well.

Anthony

unread,
Sep 25, 2011, 3:39:34 PM9/25/11
to web2py-d...@googlegroups.com
On Sunday, September 25, 2011 3:07:36 PM UTC-4, Massimo Di Pierro wrote:

On Sep 25, 2011, at 2:00 PM, Anthony wrote:

This is great. Thanks, Bruno. I really like the idea of including the examples of web2py functionality (linked in sidebar).

I like them too but shouldn't they go in examples? I am happy to add more examples to the examples. app. patch?

I see your point. I guess what I like is seeing the examples in the welcome app interface. What do folks think about basing the 'examples' app on the 'welcome' app rather than the web2py.com app? That might be a more natural way of showing the functionality and would allow use of the main site navigation for the examples. If we still want to distribute the web2py.com app, I suppose we would have to name it something else (which make sense, as most of the site is not actually examples). Just a thought.

Anthony

Massimo Di Pierro

unread,
Sep 25, 2011, 3:41:27 PM9/25/11
to web2py-d...@googlegroups.com
This was discussed some time ago and the problem is people get confused on which is which. It is important that admin, examples and welcome use different layouts.

The fact that examples belong to examples does not mean they cannot be linked by welcome.

massimo


Reply all
Reply to author
Forward
0 new messages