On Monday, 3 October 2016 16:08:32 UTC+1, Marlysson Silva wrote:
>
> 1. Have how you provide this project in github? Stay easier handle with 
> code , or it's private project?
>

I have a github account but I haven't figured out how to use it properly 
yet.
 

> 2. A good practice it's generate data in web2py controller and at view 
> just use the data.
> Ex: the "for" in the js code. But have how improve . after.
>

I would have said that is what the code is doing...

   today = request.now
   calendar_start = today - datetime.timedelta(days=31)   #TODO May need to 
reduce this lookback
   rows=db(db.task.start_time >= calendar_start).select( db.task.id,
                                                          db.task.start_time,
                                                          db.task.title,
                                                          db.task.person,
                                                          db.task.task_type,
                                                          db.task.task_status,
                                                          db.person.fullname,
                                                          left = 
(db.person.on(db.person.id == db.task.person))
                                                         )

return dict(rows=rows,person=person)


*But it may also be that the versions of calendar.css and fullcalendar.css* 
 are old versions (that came with a template application I used)
(this has caused me other issues and maybe I should go and look at those)

It seems close though :-(

*Thank you again for your time/support *Marlysson *and I don't expect you 
to spend anymore time on this given that *
*I **am probably confusing the issue by using out of date css files and who 
knows what else.*

The colouring is a 'nice to have'.  If I can't figure it out in the next 
day or two I can shelve it until I am using up to date version of 
everything.


-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to