[web2py] grid column names do not print nicely

2017-12-20 Thread icodk
When in grid or smartgrid trying to print the page with browser's own print function, columns name comes out as URLS of the page instead of the text of the name of the column name. Could be nice to be able to print with browser own print function. -- Resources: - http://web2py.com - http://web

[web2py] Creating users and set the password, how??

2017-12-20 Thread António Ramos
Hi, i´m creating users from a table. For each user i create a random password but i need to encrypt it right? How do i do that? i cannot just do this randompassword="ABC123" *db.auth_user.insert(* email=email, first_name='first_name',

[web2py] Re: Creating users and set the password, how??

2017-12-20 Thread António Ramos
found this CRYPT()(password)[0] and seems to work... 2017-12-20 16:21 GMT+00:00 António Ramos : > Hi, i´m creating users from a table. > For each user i create a random password but i need to encrypt it right? > > How do i do that? > > i cannot just do this > > randompassword="ABC123" > > *db.

[web2py] Re: grid column names do not print nicely

2017-12-20 Thread Anthony
Bootstrap includes CSS to print the href values for any links. To disable this just for links within a web2py grid, you can add the following CSS somewhere: @media print { .web2py_table a[href]:after { content: none !important; } } If you only want to eliminate the URLs from the

[web2py] Re: grid column names do not print nicely

2017-12-20 Thread icodk
Thanks Anthony Eliminating buttons: .btn{ display: none !important; } Eliminating breadcrumb: .w2p_grid_breadcrumb_elem{ display: none !important; } All inside @media print { } The magic continue:-) On Wednesday, December 20, 2017 at 8:13:18 PM UTC+1, Anthony wrote: > > Bootstrap i

[web2py] Re: grid column names do not print nicely

2017-12-20 Thread Dave S
On Wednesday, December 20, 2017 at 11:13:18 AM UTC-8, Anthony wrote: > > Bootstrap includes CSS to print the href values for any links. To disable > this just for links within a web2py grid, you can add the following CSS > somewhere: > > @media print { > .web2py_table a[href]:after { >

[web2py] Re: .gtilab-ci.yml for Continuous integration web2py projects

2017-12-20 Thread 黄祥
*./gitlab-ci.yml* image: ubuntu:latest before_script: - apt-get update - apt-get install -y python python-pip python-setuptools unzip wget gunicorn - pip install --upgrade pip - wget -c http://web2py.com/examples/static/web2py_src.zip - unzip -o web2py_src.zip - rm -rf web2py/applicati

Re: [web2py] Re: Fullcalendar scheduler - creating, changing and saving data to database

2017-12-20 Thread Mr. Jeffery
Andrea Fae' did you ever get a solution on this post I would like to do the samething. Let me know. Thanks On Monday, February 13, 2017 at 11:24:36 AM UTC-5, Andrea Fae' wrote: > > I don't think so. > > > Il giorno lunedì 13 febbraio 2017 15:54:33 UTC+1, mweissen ha scritto: >> >> Is there any S

[web2py] Re: grid column names do not print nicely

2017-12-20 Thread Anthony
> > >> Probably we should add some code to web2py-bootstrap3.css to remove some >> of the URLs from the grid when printing (e.g., headings, pagination links, >> etc.). If you'd like, open a github issue and link to this thread. >> >> Anthony >> > > > Would there need to be a way to override that

[web2py] Web2py and leaflet using postgresql as database

2017-12-20 Thread Gabriel Schubert
Hello, I'm trying to run this application (https://github.com/ilvalle/w2pgis) and I'm getting the following problem: gabrielschubert@Gabriel-Notebook ~/Documents/web2py/web2py $ python web2py.py -a 123 -i 127.0.0.1 -p 8000 -S leaftlet -M web2py Web Framework Created by Massimo Di Pierro, Co