luiscberrocal / django-acp-calendar

Django app to manage ACP dates
BSD 3-Clause "New" or "Revised" License
0 stars 5 forks source link

Create working days calendar #2

Open luiscberrocal opened 8 years ago

luiscberrocal commented 8 years ago

Create an html5 page that consume the provided web services to create a page that displays every month as box with the month name and the count of working days and the total days in the month

aditigupta96 commented 8 years ago

Hi, I would like to work on this issue.Can you provide some guidance?

luiscberrocal commented 8 years ago

The idea is a url like

url(r'^workking-days-calendar/(?P[0-9]{4})/$', WorkinDaysCalendarView.as_view(), name='working-days-calendar')

Create a div based table using bootrap

To create something like ` <h2>Year: 2016 </h2>

<div class='row'> <div class='.col-sm-4'> <div class='month-name'>January

<div> Day: 31 Working days: 21 </div>

....

` Please include test if posible.

I you have other questions please contact me

luiscberrocal commented 8 years ago

You can use ACPHoliday.get_working_days_for_month() method

aditigupta96 commented 8 years ago

Should every month be listed on a single page?

recluse27 commented 8 years ago

Could you explain it, please?

recluse27 commented 8 years ago

How it will be related to Django project?

luiscberrocal commented 8 years ago

All 12 moths for the year should be in one page

aditigupta96 commented 8 years ago

Ok I got that.Should it be year specific? I mean should I display this only for 2016?

aditigupta96 commented 8 years ago

I am facing problem in using django-acp-calendar. This documentation link is also not working. How can I set it up for development?

luiscberrocal commented 8 years ago

Sorry about that the documentation is not as complete as it should. I use PyCharm adn a this project https://github.com/luiscberrocal/acp-calendar-dev-project. I open them both on PyCharm and do the debugging and stuff. Hope this helps