[web2py] Re: Conditional represent

2012-05-19 Thread Paolo Caruccio
please try: db.Register.repliedOn.represent = lambda v, row: v.strftime('%d/%m/%Y %H:%M:%S') if v else Il giorno sabato 19 maggio 2012 09:00:37 UTC+2, Annet ha scritto: In a model I have the following validator: db.Register.repliedOn.requires=IS_EMPTY_OR(IS_DATETIME(format='%Y-%m-%d

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-05-26 Thread Paolo Caruccio
Do you mean to add a new MENU attribute (i.e. 'bootstrap_menu') like 'mobile' and to switch by menu types? I think that's a good option. Il giorno sabato 26 maggio 2012 03:40:26 UTC+2, Massimo Di Pierro ha scritto: We can include this in MENU and eliminate the JS. What do you think? On

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-05-26 Thread Paolo Caruccio
. Massimo On Saturday, 26 May 2012 08:53:53 UTC-5, Paolo Caruccio wrote: Here attached the html.py with modified class MENU. This is only a draft not deeply tested. Il giorno sabato 26 maggio 2012 03:40:26 UTC+2, Massimo Di Pierro ha scritto: We can include this in MENU and eliminate

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-05-27 Thread Paolo Caruccio
JS. After all, we are replacing superfish. Il giorno domenica 27 maggio 2012 00:06:55 UTC+2, Massimo Di Pierro ha scritto: These no record boostrap and the new menu logic is staying in trunk. The only issue is whether the weird menu structure should be generated by MENU helper or by the JS

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-05-27 Thread Paolo Caruccio
code layout.html that attempts to reproduce the same effect. It works something is wrong with alignment and I cannot figure out what. Can you take a look? Massimo On Thursday, 24 May 2012 18:16:37 UTC-5, Paolo Caruccio wrote: Andrew, I played a bit on this subject. Please replace the below

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-05-27 Thread Paolo Caruccio
-block; height: 0; opacity: 0.7; vertical-align: top; width: 0; margin-right:-13px; margin-top: 7px; float:right; } Il giorno domenica 27 maggio 2012 12:23:54 UTC+2, Paolo Caruccio ha scritto: Small patch - not deeply tested - to make the menu working when javascript is disabled

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-05-28 Thread Paolo Caruccio
Andrew, a solution for sidebar issue is to add span12 class to the section#main of layout.html in views folder About the auth nav bar a first solution is to set a specific color because IE7 ignore inherit. Please add the below two lines at the bottom of bootswatch.css file in static/css

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-05-28 Thread Paolo Caruccio
Andrew, I, just now, proposed a patch through issue tracker ( http://code.google.com/p/web2py/issues/detail?id=824) that should resolve the problems with IE7 noted by you. Moreover the auth_navbar is more compliant with bootstrap (check the image). I tested the new welcome layout replacing the

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-05-30 Thread Paolo Caruccio
the background being the same as the navbar. This is the same in the two browsers I'm looking at (IE7 and Firefox). I prefer the way it looked in firefox. Does it need to be a set background to work ? On Tuesday, May 29, 2012 7:33:50 AM UTC+12, Paolo Caruccio wrote: Andrew, I, just now

Re: [web2py] Suggestions for multiple files upload in form

2012-05-30 Thread Paolo Caruccio
the rest of the app?? Richard On Sat, Oct 29, 2011 at 6:21 PM, Paolo Caruccio paolo.carucci...@gmail.com wrote: Bruno, thanks. What do you think about the upload mechanism? Can it be translate in a web2py widget? or is it better to use a different javascript/jquery library? Regards

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-05-30 Thread Paolo Caruccio
). I prefer the way it looked in firefox. Does it need to be a set background to work ? On Tuesday, May 29, 2012 7:33:50 AM UTC+12, Paolo Caruccio wrote: Andrew, I, just now, proposed a patch through issue tracker ( http://code.google.com/p/web2py/issues/detail?id=824) that should

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-05-31 Thread Paolo Caruccio
Morover, in this case javascript is necessary to make the menu compatible with the css rules of bootstrap. Il giorno venerdì 1 giugno 2012 00:11:23 UTC+2, Anthony ha scritto: I don't get why Javascript would be needed for nested menus. http://www.grc.com/menudemo.htm GRC's pure CSS menus

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-05-31 Thread Paolo Caruccio
3:05:46 PM UTC-5, Paolo Caruccio wrote: Andrew, it's simple go back to old auth_navbar. In views/layout.html comment this jquery code: jQuery('.auth_navbar').each(function(){ jQuery(this) .addClass('btn-group') .children('a').addClass('btn

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-01 Thread Paolo Caruccio
I was hasty. I posted a dev file. I'm testing responsive layout of welcome app. Andrew, you have several solutions: 1. to leave everything as it is; 2. to find and delete the detected row in layout.html 3. to download bootstrap-responsive.css from web and put it in static/css folder Il giorno

Re: [web2py] Suggestions for multiple files upload in form

2012-06-01 Thread Paolo Caruccio
] return dict(form=form) On Wed, May 30, 2012 at 6:23 PM, Paolo Caruccio paolo.carucci...@gmail.com wrote: Richard, I saw your email in the discussion regarding bootswatch, but I want to answer here for competence. Multiupload is a my old project. The object of the toy app

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-05 Thread Paolo Caruccio
The CSS rules for the drop down menus little down triangle are in bootstrap.min.css itself. Please search this row .navbar .nav .dropdown-toggle .caret,.navbar .nav .open.dropdown .caret{border-top-color:#ff;border-bottom-color:#ff;} and more in general .caret class in

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-06 Thread Paolo Caruccio
Andrew, if it's possible, could you post the raw html source of not working page? Moreover, try to put in static/js folder the web2py_ajax.js from old application: sometimes the dropdown doesn't fire if this file is missing, I don't know why. Il giorno mercoledì 6 giugno 2012 12:55:39 UTC+2,

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-06 Thread Paolo Caruccio
Szimszon, is it a new application or have you replaced an old layout with that new one? Il giorno mercoledì 6 giugno 2012 13:42:22 UTC+2, szimszon ha scritto: I have issue with dropdown menu when the main menu is a link too. If I click on the main menu than that menu is activated and I

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-07 Thread Paolo Caruccio
to 2.0.4. If a menu item has both an URL specified and also additional submenus, these don't get displayed. Regardless if this is a first or a second level menu item. If the URL is set as None, additional submenus display properly. Regards On Wednesday, June 6, 2012 11:13:48 PM UTC+2, Paolo

Re: [web2py] Multiple buttons in links of smartgrid

2012-06-07 Thread Paolo Caruccio
links is a list so you could add more items to it. links = [lambda row: A(T('action 1'),_href=URL(acontroller ,function1,args=[row.id])), lambda row: A(T('action 2'),_href=URL(acontroller ,function2,args=[row.id, row.field1])), lambda row: A(T('action 3'),_href=URL(acontroller

[web2py] Re: trunk and statusbar?

2012-06-08 Thread Paolo Caruccio
The statusbar was missing in layout.html in the version 1.99.7 (2012-04-16 08:15:36) dev, so it isn't disappeared because of new layout.html with the bootstrap topbar. .jumbotron and .subhead classes are specific of bootstrap and consequently of bootswatch. As Nyphold observed both these

[web2py] Re: Windows + Apache + mod_proxy

2011-10-06 Thread Paolo Caruccio
The following istructions have been adapted from http://jdoe.asidev.com/2009/02/26/configure-web2py-to-run-behind-apache-with-wsgi-mod_wsgi/ for my dev enviroment Windows + Apache + mod_wsgi. I succesfully tested connection to db2 express from IMB through pyodbc. Maybe it could help you. I

[web2py] Re: Windows + Apache + mod_proxy

2011-10-09 Thread Paolo Caruccio
  SSLCertificateKeyFile conf/server.key /VirtualHost On Oct 6, 6:47 pm, Paolo Caruccio paolo.carucci...@gmail.com wrote: The following istructions have been adapted fromhttp://jdoe.asidev.com/2009/02/26/configure-web2py-to-run-behind-apac... for my dev enviroment Windows

[web2py] Re: new feature - need help

2011-10-09 Thread Paolo Caruccio
I'm glad you like it, but it is necessary to point out that the css rules must be adapted to single layout. Especially with regard to positioning. As you can see from the picture, I used as a reference the layout of your application issue tracker. Ciao. Paolo

[web2py] Re: Windows + Apache + mod_proxy

2011-10-10 Thread Paolo Caruccio
Hi Omi, I wasn't sure this part, so I just add 127.0.0.1 ochiba-183 to my hosts. Try to replace with 10.30.6.122 ochiba-183 Let me know if it works. Ciao. Paolo

[web2py] Re: Windows + Apache + mod_proxy

2011-10-10 Thread Paolo Caruccio
I am very glad I helped Ciao. Paolo

[web2py] Re: new feature - need help

2011-10-10 Thread Paolo Caruccio
The result is splendid with your changes. I want only suggest to replace the row # 1344 in /gluon/sqlhtml.py with this jQuery('#w2p_query_fields').val('').change(); so the change event is fired and when you query again the .w2p_query_row is hidden. Ciao. Paolo

Re: [web2py] Re: new feature - need help

2011-10-11 Thread Paolo Caruccio
Richard, thank you.

[web2py] Re: Display Loading' animated gif or js : How to

2011-10-12 Thread Paolo Caruccio
Hi Vineet, as juanduke has suggested, I use the following jquery function (I put it in web2py_ayax.js) instead of standard w2p ajax function to show a loading image: function web2py_polling(u,s,t){ $('#'+t).html('div id=loading_gif_containerimg src=/static/images/loading.gif alt=loading...

[web2py] Re: Windows + Apache + mod_proxy

2011-10-12 Thread Paolo Caruccio
Well done! Paolo

[web2py] Re: Menus and Selected Tab

2011-10-17 Thread Paolo Caruccio
If you're using respone.menu to build your menu and in line with http://www.web2py.com/book/default/search?search=response.menu you could replace the second item (the boolean value)in the tuple with the check (request.function=='index') where index is your active page. In this way web2py

[web2py] Re: From html view to pdf.

2011-10-25 Thread Paolo Caruccio
I used succesfully web2py-appreport. https://github.com/lucasdavila/web2py-appreport Ciao. Paolo

[web2py] Re: AppReport using web2py view.

2011-10-27 Thread Paolo Caruccio
I have done it this way (code abstract not tested): ### model db.define_table('t_persons', Field('f_surname', type='string', notnull=True, label=T('Surname'), length=32), Field('f_name', type='string', notnull=True, label=T('Name'), length=32), ) ### controller def myreport(): persons =

[web2py] Suggestions for multiple files upload in form

2011-10-27 Thread Paolo Caruccio
I wasn't able to find in the web, even in this group, a multiple files upload system with the followings requirements: - upload the files together with form submit - no frame, no flash, no ajax form submit but only jquery and python - give a title to the uploading files - simple to integrate and

Re: [web2py] Suggestions for multiple files upload in form

2011-10-28 Thread Paolo Caruccio
Ovidio thank you for your consideration. In fact, I have not given much attention to the results grid because the goal of my work was to create a control for uploading multiple files. In addition, the visual aspect is only demonstration. The essential css rules are on the top of

Re: [web2py] Suggestions for multiple files upload in form

2011-10-29 Thread Paolo Caruccio
Bruno, thanks. What do you think about the upload mechanism? Can it be translate in a web2py widget? or is it better to use a different javascript/jquery library? Regards. Paolo

[web2py] Re: Windows7 python2.7 SQLite web2py

2011-11-02 Thread Paolo Caruccio
I also have no problem. Windows 7 64bit Python 2.7 32 bit (64-bit version gave me problems) Pywin 32-bit Paolo

[web2py] Re: Windows7 python2.7 SQLite web2py

2011-11-02 Thread Paolo Caruccio
Can you provide a packed .w2p web2py application? Paolo

[web2py] Re: Windows + Apache + mod_proxy

2011-11-08 Thread Paolo Caruccio
Omi, please try the following: in vhost_web2py.conf replace VirtualHost *:80 ServerName ochiba-183 with VirtualHost LIP:80 ServerName ochiba-183 where LIP is the server's IP See for reference my previous post (STEP D) Let me know if it works. Paolo P.S. Moreover what do you think about

[web2py] Re: new welcome app - need help with css

2011-11-09 Thread Paolo Caruccio
Please try this for problem #2 (tested on windows7 IE9, Chrome 15.0.874.106, FF8.0, Opera 11.52, web2py 1.99.3 2011-11-08 22:28:53 dev) .web2py_console {position: relative;} .columns table{width:100%;} .columns table td:last-child{width:100%;} .columns table

[web2py] Re: new welcome app - need help with css

2011-11-10 Thread Paolo Caruccio
Anthony you're right. the class .columns is Skeleton. I repeated the case indicated by Massimo without modify other than static/css/ web2py.css (the html code is generated automatically from web2py). The ugly layout depended on the width of the table (containing web2py_grid) inserted in

[web2py] Re: new welcome app - need help with css

2011-11-10 Thread Paolo Caruccio
We still need to identify the div container to prevent the CSS rules apply to generic tags (such as table and div). In the case under discussion, I used div.columns because it already existed in the html layout. I noticed that the table is inside another div generic. We could give a identities

[web2py] Re: new welcome app - need help with css

2011-11-10 Thread Paolo Caruccio
Other css rules are related to the specific case and override the general css rules applied to web2py_grid. But I'm agreed with you: the best solution is to give a class or an id to the container div. Paolo

[web2py] Re: new welcome app - need help with css

2011-11-10 Thread Paolo Caruccio
Anthony, I made some tests after your observations. (web2py Version 1.99.3 (2011-11-08 22:28:53) dev last trunk) What do you think about the following: .web2py_console {position: relative;} /* for #w2p_query_panel positioning */ #web2py_keywords{margin:0 5px;min-width:390px;width:62%;}

[web2py] Re: new welcome app - need help with css

2011-11-11 Thread Paolo Caruccio
Anthony, since IE (any version), in some circumstances, has a behavior different from other browsers, we need to detect it in css rules. So any solution is good. Paolo

[web2py] Re: web2py 1.99.3 is OUT

2011-12-09 Thread Paolo Caruccio
I solved so: admin\static\plugin_multiselect\jquery.multiselect.css line 14 becomes .ui-multiselect-checkboxes { position:relative /* fixes bug in IE6/7 */; overflow-y:scroll; margin-left:0; width:100%; } line 16 becomes .ui-multiselect-checkboxes label input { position:relative; top:1px;

Re: [web2py] 1.99.4 is OUT

2011-12-14 Thread Paolo Caruccio
I already wrote how i fixed the issue (tested only IE9, chrome 15, firefox 8 and Opera 11.60 on windows7) in a previous thread ( https://groups.google.com/d/msg/web2py/AjoKneQCOEA/rFYgbg7GMLAJ). to correct the ugly display I modified this file

[web2py] assigning class name to SQLform element parent gives error

2011-12-18 Thread Paolo Caruccio
*Scenario* 1. #model db.py db.define_table('specializzazioni', Field('specializzazione', type='string',notnull=True,label=T('Specialization')), format='%(specializzazione)s', ) db.define_table('t_valutazione_risorsa',

[web2py] Re: assigning class name to SQLform element parent gives error

2011-12-18 Thread Paolo Caruccio
My fault. I omitted to say that the error occurs after some options have been selected and form is submitted leaving empty the text input. Thank you for your consideration. Paolo

[web2py] Re: deployment problem with mod_wsgi

2011-12-19 Thread Paolo Caruccio
Maybe this helps http://jdoe.asidev.com/2009/02/26/configure-web2py-to-run-behind-apache-with-wsgi-mod_wsgi/

[web2py] Re: assigning class name to SQLform element parent gives error

2011-12-19 Thread Paolo Caruccio
no one else has encountered same problem?

[web2py] Re: assigning class name to SQLform element parent gives error

2011-12-19 Thread Paolo Caruccio
ticket http://code.google.com/p/web2py/issues/detail?id=574 submitted

[web2py] Re: write view into an html file

2011-12-28 Thread Paolo Caruccio
try the solution in this discussion https://groups.google.com/d/topic/web2py/GyQ8_szQFoI/discussion Happy Holidays.

[web2py] Re: write view into an html file

2011-12-29 Thread Paolo Caruccio
The plugin has all needed libraries to work and not requires that you install others. I used it in a my app and worked like a charm. Give it a try.

[web2py] Re: small display problem when using wizard

2011-12-30 Thread Paolo Caruccio
fixed in trunk http://code.google.com/p/web2py/source/detail?r=25d5f65ce920ed2c6089097122caa7ded3d63d8a

[web2py] Re: redirecting python console output to web browser page

2012-01-02 Thread Paolo Caruccio
There is another HTML5 technology to push stream from server to client : EventSource aka Sent-Server Events (http://dev.w3.org/html5/eventsource/). Its behaviour is like ajax long polling. I'm - just now - experimenting a simple mechanism to send to clients a message when the database changes.

[web2py] Re: Problem with DB2 and text field type when accessing db2 using ODBC ...

2012-01-19 Thread Paolo Caruccio
On windows7 I solved the issue by adding to db2cli.ini these rows (replace MYDATABASE and MYDATABASEALIAS with your data): [MYDATABASE] dbalias=MYDATABASEALIAS LONGDATACOMPAT=1 LOBMAXCOLUMNSIZE=1048575 if you need more info about db2cli.ini go to this page

[web2py] Re: Problem with DB2 and text field type when accessing db2 using ODBC ...

2012-01-20 Thread Paolo Caruccio
I use pyodbc (http://code.google.com/p/pyodbc/) and my connection string is: db = DAL('db2://DSN=MYDATABASE;UID=userid;PWD=password') For other details you could read this thread https://groups.google.com/d/topic/web2py/HMVE9S2a6sQ/discussion

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-15 Thread Paolo Caruccio
can't I can have a go at working out what you did. Thanks Andrew W On Thursday, June 7, 2012 8:24:44 PM UTC+12, Paolo Caruccio wrote: I'm afraid you can not do it. The first item in the dropdown menu (having class=dropdown) can not contain an URL. The structure of the dropdown menu

Re: [web2py] Re: gmaps.js

2012-06-15 Thread Paolo Caruccio
try to move script src=http://maps.google.com/maps/api/js?sensor=true;/script script src={{=URL('static','js/gmaps.js')}}/script below {{extend 'layout.html'}} Il giorno venerdì 15 giugno 2012 16:59:43 UTC+2, Omi Chiba ha scritto: Can anyone point out what I'm doing wrong ? I downloaded

Re: [web2py] Re: gmaps.js

2012-06-15 Thread Paolo Caruccio
, June 15, 2012 10:42:04 AM UTC-5, Omi Chiba wrote: It worked !! On Friday, June 15, 2012 10:18:20 AM UTC-5, Paolo Caruccio wrote: try to move script src=http://maps.google.com/maps/api/js?sensor=true;/script script src={{=URL('static','js/gmaps.js')}}/script below {{extend 'layout.html

Re: [web2py] Re: gmaps.js

2012-06-15 Thread Paolo Caruccio
://www.web2py.com/books/default/chapter/29/14?search=geo#Geocoding On Friday, June 15, 2012 1:21:04 PM UTC-5, Paolo Caruccio wrote: Copying and pasting your code worked for me (see images). Il giorno venerdì 15 giugno 2012 20:09:08 UTC+2, Omi Chiba ha scritto: Paolo, I can retrieve latitude

Re: [web2py] Re: gmaps.js

2012-06-15 Thread Paolo Caruccio
I see the correct url in first message, so post editing worked. The patch is good for me. Niphlod, thank you Il giorno venerdì 15 giugno 2012 21:45:14 UTC+2, Niphlod ha scritto: tried to edit the post but seems that edits are not working. the url is wrong,

Re: [web2py] Re: gmaps.js

2012-06-15 Thread Paolo Caruccio
, June 15, 2012 2:51:23 PM UTC-5, Paolo Caruccio wrote: I see the correct url in first message, so post editing worked. The patch is good for me. Niphlod, thank you Il giorno venerdì 15 giugno 2012 21:45:14 UTC+2, Niphlod ha scritto: tried to edit the post but seems that edits are not working

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-16 Thread Paolo Caruccio
Bootstrap to 2.0.4 in web2py itself? Regards On Friday, June 15, 2012 4:49:29 PM UTC+2, Paolo Caruccio wrote: Andrew, do you mean the code for old auth_navbar style? If yes, I think it's better if you open a new thread for asking to the web2py users what style they prefer and after we

[web2py] Re: Users Poll: To keep the button look for the welcome app's auth options, or not ?

2012-06-17 Thread Paolo Caruccio
For me is indifferent. I looked around the web and some bootstrap sites have a group of buttons and others haven't. Anyway to revert to B1 please apply attached files. About the color, please note that IE7 doesn't support the 'inherit' parameter so we have to apply a workaround (see attached

[web2py] Re: favicon problem

2012-06-17 Thread Paolo Caruccio
In my case was a cache problem. Below the solution worked for me: 1. below replacing files clear the cache of browsers (IE9, OP12, FF13, CH19). Repeat the operation if needed. 2. rename the default files (i.e.: __favicon.ico and __favicon.png 3. put new files in static folder 4. open the

[web2py] Re: Users Poll: To keep the button look for the welcome app's auth options, or not ?

2012-06-17 Thread Paolo Caruccio
, but your files should be the correct ones. On Sunday, June 17, 2012 9:14:16 PM UTC+12, Paolo Caruccio wrote: For me is indifferent. I looked around the web and some bootstrap sites have a group of buttons and others haven't. Anyway to revert to B1 please apply attached files. About the color

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-17 Thread Paolo Caruccio
the yellow web2py opens the first submenu level - clicking or hovering over e.g. Documentation, does nothing. Tested in Firefox 13 and Opera 12... Are there plans to update Bootstrap to 2.0.4 in web2py itself? Regards On Friday, June 15, 2012 4:49:29 PM UTC+2, Paolo Caruccio wrote: Andrew

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-17 Thread Paolo Caruccio
? On Sunday, 17 June 2012 08:42:50 UTC-5, LightDot wrote: I have tried your updated bootswatch.css from another thread here, which also incorporates this fix. I confirm that BS 2.0.4 works now. Thanks! On Sunday, June 17, 2012 12:33:52 AM UTC+2, Paolo Caruccio wrote: LightDot, try to append

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-18 Thread Paolo Caruccio
. Regards On Sunday, June 17, 2012 9:14:33 PM UTC+2, Paolo Caruccio wrote: Patch submitted http://code.google.com/p/web2py/issues/detail?id=856 Il giorno domenica 17 giugno 2012 17:32:53 UTC+2, Massimo Di Pierro ha scritto: Can you coordinate with Andrew and Paolo and send me a single

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-18 Thread Paolo Caruccio
bootstrap.min.css (from twitter or from bootswatch) contains bootstrap css theme. Il giorno lunedì 18 giugno 2012 21:06:20 UTC+2, Massimo Di Pierro ha scritto: How is that possible? You edited bootswatch.css? On Monday, 18 June 2012 05:24:36 UTC-5, Paolo Caruccio wrote: Massimo, actually files

[web2py] Re: Anyone using BootSwatch with new web2py layout

2012-06-18 Thread Paolo Caruccio
Pierro wrote: ok. I applied the V2. Massimo On Monday, 18 June 2012 16:41:34 UTC-5, Paolo Caruccio wrote: Massimo, bootswatch.css overwrites some css rules of bootstrap.min.css and web2py.css to allow layout to comply with bootstrap twitter theme (and consequently with bootswatch themes

[web2py] Re: bootstrap carousel web2py Nightly build

2012-06-19 Thread Paolo Caruccio
I'm building an app trying carousel feature and I met the same your issue. My solution (note style stayement): a class=right carousel-control href=#myCarousel data-slide=next style=width:40px;float:none;text-align:center;rsaquo;/a Maybe you should adapt the width to your necessity. Il

Re: [web2py] Re: Users Poll: To keep the button look for the welcome app's auth options, or not ?

2012-06-20 Thread Paolo Caruccio
Alec, please double check that in views/layout.html exists this code (note the pipe in separators): div id=navbar{{='auth' in globals() and auth.navbar(separators=(' ',' | ','')) or ''}}/div You should find it at line 90 in last trunk. Il giorno mercoledì 20 giugno 2012 12:59:56 UTC+2,

[web2py] Re: bootstrap carousel web2py Nightly build

2012-06-20 Thread Paolo Caruccio
UTC+2, Paolo Caruccio ha scritto: I'm building an app for trying carousel feature and I met the same your issue. My solution (note style statement): a class=right carousel-control href=#myCarousel data-slide=next style=width:40px;float:none;text-align:center;rsaquo;/a Maybe you should

Re: [web2py] Re: Users Poll: To keep the button look for the welcome app's auth options, or not ?

2012-06-21 Thread Paolo Caruccio
, 2012 at 5:00 AM, Paolo Caruccio paolo.carucci...@gmail.com wrote: Alec, please double check that in views/layout.html exists this code (note the pipe in separators): div id=navbar{{='auth' in globals() and auth.navbar(separators=(' ',' | ','')) or ''}}/div You

Re: [web2py] Re: Users Poll: To keep the button look for the welcome app's auth options, or not ?

2012-06-21 Thread Paolo Caruccio
is the navbar code directly from the source generated (post-processing to prettify only): http://jsfiddle.net/ucYGN/ On Thu, Jun 21, 2012 at 7:58 PM, Paolo Caruccio paolo.carucci...@gmail.com wrote: Alec, could you replace the pipe with another character (i.e. !) and see what happens

Re: [web2py] Re: Users Poll: To keep the button look for the welcome app's auth options, or not ?

2012-06-21 Thread Paolo Caruccio
there will be a comma + 1 space Il giorno giovedì 21 giugno 2012 18:54:25 UTC+2, Alec Taylor ha scritto: Reading your code example highlights the problem. There is no | after Welcome paolo On Fri, Jun 22, 2012 at 2:32 AM, Paolo Caruccio paolo.carucci...@gmail.com wrote: Alec

Re: [web2py] consider adding a div around error message

2012-06-21 Thread Paolo Caruccio
I usually make my customization of the form errors trough the controller. For example in your case I would do: form = SQLFORM(db.mytable,formstyle = 'divs') if form.process().accepted: response.flash = 'form accepted' elif form.errors: for fieldname in form.errors:

[web2py] Re: how to limit a label width in a form?

2012-06-22 Thread Paolo Caruccio
Try to apply on label this css rule: white-space: pre-wrap; The white-space property is supported in all major browsers. ( http://www.w3schools.com/cssref/pr_text_white-space.asp) Il giorno venerdì 22 giugno 2012 15:35:18 UTC+2, Marco Prosperi ha scritto: hi all, I would like to limit the

[web2py] Re: bootstrap carousel web2py Nightly build

2012-06-24 Thread Paolo Caruccio
. Regards, Ales On Wednesday, June 20, 2012 10:45:53 PM UTC+2, Paolo Caruccio wrote: @Andrew Yes. We could change the file, currently named bootswatch.css, to automatize bootstrap carousel in web2py, but next time, when we will found an incompatibility between bootstrap.min.css

[web2py] Re: 2.02 Table name in smartgrid changed...

2012-09-05 Thread Paolo Caruccio
to display all breadcrumbs in the same line please try to append to web2py.css following rule li.w2p_grid_breadcrumb_elem { display:inline-block; } in versions = 2.0.2 web2py.css file has the right rule, so this issue should arise only with previous experimental versions. Il giorno

Re: [web2py] Re: 2.02 Table name in smartgrid changed...

2012-09-05 Thread Paolo Caruccio
='', breadcrumbs_class='', **kwargs): Il giorno mercoledì 5 settembre 2012 21:33:29 UTC+2, Adi ha scritto: thanks Paolo... worked perfectly. On Wed, Sep 5, 2012 at 1:59 PM, Paolo Caruccio paolo.ca...@gmail.comjavascript: wrote: to display all breadcrumbs

[web2py] Re: short term roadmap

2012-09-09 Thread Paolo Caruccio
About point 4 of the list it's important, imho, to have an html scaffolding that fits, through css classes, to our needs. A solution could be to change the html structure by using javascript. For example we could obtain the dropdown auth navbar by inserting this code to the bottom of

[web2py] Re: short term roadmap

2012-09-09 Thread Paolo Caruccio
About point 4 of the list it's important, imho, to have an html scaffolding that fits, through css classes, to our needs. A solution could be to change the html structure by using javascript. For example, we could obtain the dropdown auth navbar by inserting this code to the bottom of

Re: [web2py] Re: web2py default layout.html

2012-09-13 Thread Paolo Caruccio
I found the reason of this wrong behavior. The elements having class row inherit the width from container, as you know, but they have a negative margin-left (-20px). The negative margin-left is balanced out with the margin-left of the elements having class span* (20px) In our case we had:

[web2py] Re: response.menu args

2012-09-19 Thread Paolo Caruccio
see https://groups.google.com/d/msg/web2py/Jc2qOVJ-Zws/yLzKdWb-y3cJ Il giorno mercoledì 19 settembre 2012 17:55:09 UTC+2, lyn2py ha scritto: Hi guys, This is a typical code response.menu = [ (T('Home'), False, URL('default','index'), []) ] I would like to ask, what does the 2nd

[web2py] Re: Bootstrap icons don't work with latest web2py?

2012-09-21 Thread Paolo Caruccio
please put glyphicons-*.png in static/images folder and check that in web2py_bootstrap.css there are the following rules: /* right folder for bootstrap black images/icons */ [class^=icon-],[class*= icon-]{ background-image:url(../images/glyphicons-halflings.png) } /* right folder for bootstrap

[web2py] Re: Help with menu error using web2py 2.0.9

2012-09-25 Thread Paolo Caruccio
Please try to rename bootstrap-responsive.min.css in static/css folder (for example change the name in _bootstrap-responsive.min.css Moreover could you check the viewport dimensions? It seems a responsive layout issue. Il giorno martedì 25 settembre 2012 19:20:18 UTC+2, JoeCodeswell ha

[web2py] Re: Apache Error Please Help

2012-09-26 Thread Paolo Caruccio
apache version? mod_wsgi version? Il giorno mercoledì 26 settembre 2012 13:31:23 UTC+2, Hassan Alnatour ha scritto: [Wed Sep 26 06:29:38 2012] [error] [client 127.0.0.1] mod_wsgi (pid=3648): Target WSGI script 'C:/web2py/wsgihandler.py' cannot be loaded as Python module. [Wed Sep 26

[web2py] Re: Help with menu error using web2py 2.0.9

2012-09-27 Thread Paolo Caruccio
with no sub-menu] Thanks for the help, Paolo. Love and peace, Joe On Tuesday, September 25, 2012 3:37:25 PM UTC-7, Paolo Caruccio wrote: Joe, I followed your steps and all worked for me (see attached image). I packed the app, please install it on your enviroment and tell me

[web2py] Re: Help with menu error using web2py 2.0.9

2012-09-27 Thread Paolo Caruccio
does not show up. See: textxjoe-ubuntu-firefox-.jpg [Note the cursor hovering over the lit up Appointment TL Menu with no sub-menu] Thanks for the help, Paolo. Love and peace, Joe On Tuesday, September 25, 2012 3:37:25 PM UTC-7, Paolo Caruccio wrote: Joe, I followed your

[web2py] Re: Help with menu error using web2py 2.0.9

2012-09-27 Thread Paolo Caruccio
with no sub-menu] Thanks for the help, Paolo. Love and peace, Joe On Tuesday, September 25, 2012 3:37:25 PM UTC-7, Paolo Caruccio wrote: Joe, I followed your steps and all worked for me (see attached image). I packed the app, please install it on your enviroment and tell me

[web2py] Re: Help with menu error using web2py 2.0.9

2012-09-27 Thread Paolo Caruccio
TL Menu with no sub-menu] Thanks for the help, Paolo. Love and peace, Joe On Tuesday, September 25, 2012 3:37:25 PM UTC-7, Paolo Caruccio wrote: Joe, I followed your steps and all worked for me (see attached image). I packed the app, please install it on your enviroment

[web2py] Re: Help with menu error using web2py 2.0.9

2012-09-27 Thread Paolo Caruccio
It's very strange. I tested my layout.html in several Windows scenarios (windows7, windowsXp sp3) with several browsers (last version of Opera, Firefox, Chrome and IE9) without any issue. I used the last trunk of web2py, not stable version 2.0.9. Anyway, web2py 2.0.9 has topbar menu managed via

[web2py] Re: Help with menu error using web2py 2.0.9

2012-09-27 Thread Paolo Caruccio
Joe a last try. I confused web2py versions on my pc. In last trunk of web2py the javascript hover menu funcion has been moved in static/js/web2py_bootstrap.js Here attached new test4joe. Finger crossed. Il giorno giovedì 27 settembre 2012 23:38:26 UTC+2, JoeCodeswell ha scritto: Dear Niphlod,

[web2py] Re: Help with menu error using web2py 2.0.9

2012-09-28 Thread Paolo Caruccio
* machines. [The *three white lines* *never* show up *on* my *Windows* machine, *only* *on* my *Ubuntu* machine] Thanks again, Paolo, for all the help. Love and peace, Joe On Thursday, September 27, 2012 4:27:24 PM UTC-7, Paolo Caruccio wrote: Joe a last try. I confused web2py versions on my

[web2py] Re: Help with menu error using web2py 2.0.9

2012-10-02 Thread Paolo Caruccio
of their framework as well? How good a reputation do they have? Thanks again, Paolo. Love and peace, Joe On Friday, September 28, 2012 3:35:27 PM UTC-7, Paolo Caruccio wrote: Joe, thank you very much for the precious informations. The behavior in Ubuntu that you described at 2.2 point

Re: [web2py] New version of bootstrap

2012-10-02 Thread Paolo Caruccio
Richard, the issue has been corrected some time ago. Please check the trunk version. Anyway, you could replace .icon-white{background-image:url(../images/glyphicons-halflings-white.png );} /* right folder for bootstrap white images/icons */ with /* right folder for bootstrap white

  1   2   3   4   >