[web2py] Re: How to use twitter bootstrap style

2012-07-06 Thread orsomannaro
Il 06/07/2012 10:31, orsomannaro ha scritto: In a SQLFORM form I set: buttons = [ INPUT(_type='submit', _value='go', _class='btn btn-primary'), INPUT(_type='button', _value='info', _class='btn btn-info'), ] but buttons have not bo

Re: [web2py] Re: How to use twitter bootstrap style

2012-07-06 Thread orsomannaro
Il 06/07/2012 12:11, stefaan ha scritto: Not sure if it would solve your problem, but sometimes you need to clear the browser cache to see the effect of changes in css. yes, but this is not my case. tnk

Re: [web2py] Re: How to use twitter bootstrap style

2012-07-06 Thread orsomannaro
Il 06/07/2012 10:52, Annet ha scritto: This works for me: but not for me :( my web2py_ajax.html (I tried several changes): ... {{ response.files.insert(0,URL('static','js/jquery.js')) response.files.insert(1,URL('static','css/calendar.css')) response.files.insert(2,URL('static','js/calendar.

[web2py] How to use twitter bootstrap style

2012-07-06 Thread orsomannaro
In a SQLFORM form I set: buttons = [ INPUT(_type='submit', _value='go', _class='btn btn-primary'), INPUT(_type='button', _value='info', _class='btn btn-info'), ] but buttons have not bootstrap style (btn-primary button are not blue, there are no space between the two button). My be I must i

Re: [web2py] standalone we-app example

2012-07-02 Thread orsomannaro
>> web-app example? wxPython solution thank you anyway :)

[web2py] standalone we-app example

2012-06-29 Thread orsomannaro
How can I dowload a web2py standalone web-app example? Tnk.

[web2py] Web2Py + Mercurial + uWSGI + Nginx in Ubuntu 12.04

2012-06-06 Thread orsomannaro
After installing Web2Py with this script: http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh I made some changes to integrate a Mercurial server. It seem to work but I'm a newbie, so I would like someone give me feedback. Thanks. = Mercurial = ==

Re: [web2py] Re: nginx+uWSGI+Web2Py for Ubuntu Precise 12.04

2012-05-29 Thread orsomannaro
Than you very much Roberto but I have some doubts.. Create a WSGI module for mercurial: # call it hg_wsgi.py in which directory? Finally configure uWSGI: following the installing script in object, I used /etc/uwsgi/apps-available/web2py.xml to configure uwsgi for web2py, so I'm a lit

Re: [web2py] Re: nginx+uWSGI+Web2Py for Ubuntu Precise 12.04

2012-05-29 Thread orsomannaro
Il 29/05/2012 15:43, Roberto De Ioris ha scritto: Do you want web2py under /w2p and mercurial under something like /hg for the same domain ? Yes, perfect!!

[web2py] Re: nginx+uWSGI+Web2Py for Ubuntu Precise 12.04

2012-05-29 Thread orsomannaro
Il 28/05/2012 18:00, orsomannaro ha scritto: how must I modify nginx and uwsgi configuration file if I what web2py respond in https:///w2p/ ? I have a sever with nginx+uwsgi+Web2Py and I would like also to configure hgweb(Mercurial), but I'm not able to configure nginx/uwsgi... no one??

[web2py] Re: nginx+uWSGI+Web2Py for Ubuntu Precise 12.04

2012-05-28 Thread orsomannaro
On 18/05/2012 18:01, orsomannaro wrote: I made some modify to setup-web2py-nginx-uwsgi-ubuntu.sh script to fit it to Ubuntu Precise 12.04. how must I modify nginx and uwsgi configuration file if I what web2py respond in https:///w2p/ ? Thank

Re: [web2py] Re: Forms with horizontal fields

2012-05-28 Thread orsomannaro
On 28/05/2012 09:23, Johann Spies wrote: You can also look at the solidform plugin: http://dev.s-cubism.com/plugin_solidform Great! Thank you!

Re: [web2py] Re: Forms with horizontal fields

2012-05-25 Thread orsomannaro
On 25/05/2012 18:22, Niphlod wrote: to hide something , you can set it as readable = False, or keep a list of fields to display and pass it to SQLFORM as a parameter. As for the arrangement, try to create a small function to serialize the form in the view: Thank you very much Niphlod. I'm happy

Re: [web2py] Re: Forms with horizontal fields

2012-05-25 Thread orsomannaro
On 25/05/2012 16:08, Massimo Di Pierro wrote: You need to do it using jquery. Thank you Massimo. And for the other things? There is no way?

[web2py] Forms with horizontal fields

2012-05-25 Thread orsomannaro
I'm starting with Web2Py. I have a model with a large number of fields and I need to display them all together in the view. To arrange/group them logically I need to display them in a horizontal way. In some cases I need to hide some of these fields, depending on users rights. How can I d

Re: [web2py] Re: nginx+uWSGI+Web2Py for Ubuntu Precise 12.04

2012-05-21 Thread orsomannaro
Il 19/05/2012 21:43, Massimo Di Pierro ha scritto: can you please open an issue in google code and link your patch there. done

[web2py] "bad gategay" error

2012-05-18 Thread orsomannaro
I too had the "bad gategay" error because of two problems: - missing to install uwsgi-plugin-python - missing to add "python" in web2py.xml

[web2py] nginx+uWSGI+Web2Py for Ubuntu Precise 12.04

2012-05-18 Thread orsomannaro
I made some modify to setup-web2py-nginx-uwsgi-ubuntu.sh script to fit it to Ubuntu Precise 12.04. Differences with the previous script: - install nginx and uwsgi from Precise reporitory - load python plugin in uwsgi configuration file for web2py setup-web2py-nginx-uwsgi-ubuntu-precise.sh De