From b4dbe28d9de42a7f5e02c70337849bd9c91a3ffd Mon Sep 17 00:00:00 2001 From: Karen Date: Thu, 13 Oct 2011 13:13:22 +0530 Subject: [PATCH 1/2] test commit --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index fd7fb5d..e32e89a 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -mofca + mofca Get: bzr branch PUBLIC_URL mofca From 7ad8905c3e6f8d92c7d7507389bcc3c00d48d2c9 Mon Sep 17 00:00:00 2001 From: Karen Date: Thu, 13 Oct 2011 15:43:10 +0530 Subject: [PATCH 2/2] please give me what is hbt.html, and about us and this season's vegetables thanks. --- mofca/local_settings.py | 1 + mofca/recipes/views.py | 18 ++-- mofca/static/css/home.css | 90 +++++++++++++++++ mofca/static/css/inner.css | 12 +++ mofca/static/css/main.css | 149 +++++++++------------------- mofca/static/img/logo-footer.png | Bin 0 -> 371 bytes mofca/templates/test/base.html | 160 +++++++++++++++++++++++++++++++ mofca/templates/test/index.html | 145 ++-------------------------- mofca/templates/test/inner.html | 95 ++++++++++++++++++ 9 files changed, 419 insertions(+), 251 deletions(-) create mode 100644 mofca/local_settings.py create mode 100644 mofca/static/css/home.css create mode 100644 mofca/static/css/inner.css create mode 100644 mofca/static/img/logo-footer.png create mode 100644 mofca/templates/test/base.html create mode 100644 mofca/templates/test/inner.html diff --git a/mofca/local_settings.py b/mofca/local_settings.py new file mode 100644 index 0000000..f872f09 --- /dev/null +++ b/mofca/local_settings.py @@ -0,0 +1 @@ +LOCAL_DEVELOPMENT = True diff --git a/mofca/recipes/views.py b/mofca/recipes/views.py index 148920d..fad0fd7 100644 --- a/mofca/recipes/views.py +++ b/mofca/recipes/views.py @@ -1,9 +1,9 @@ -# Create your views here. -from django.http import HttpResponseRedirect -from django.shortcuts import render_to_response - -def index(request): - return HttpResponseRedirect("http://blog.mofca.in") - -def test(request): - return render_to_response("test/index.html", {}) +# Create your views here. +from django.http import HttpResponseRedirect +from django.shortcuts import render_to_response + +def index(request): + return render_to_response("test/index.html", {}) + +def test(request): + return render_to_response("test/index.html", {}) diff --git a/mofca/static/css/home.css b/mofca/static/css/home.css new file mode 100644 index 0000000..e76ebfb --- /dev/null +++ b/mofca/static/css/home.css @@ -0,0 +1,90 @@ +#col1 hgroup +{text-align:left; +margin-left:0px;} + +#col1 hgroup h1 +{font-size:72px; +background-color:rgba(254, 254, 254, 0.4); +padding-left:10px; +padding-right:10px; +display:inline-block;} /*is this ok*/ + +#col1 hgroup h2 +{font-size:24px; +line-height:28px; +border-left:10px solid rgba(254, 254, 254, 0.4); +} /*why doesn't padding work here? because it's inline?*/ + +#col1 hgroup h2 span +{background-color:rgba(254, 254, 254, 0.4);} + +hgroup h3 +{font-size:24px; +background-color:rgba(254, 254, 254, 0.4); +margin-top:24px; +padding:6px; +display:inline-block;} + +#basket +{margin-left:0px; +margin-top:20px; +position:relative;} + +#basketBottom +{position:absolute; +top:130px; +z-index:50;} + +#basketTop +{position:absolute; +top:236px; +left:10px; +z-index:100;} + +#basketRecipe +{position:absolute; +top:80px; +left:340px; +z-index:60; +color:#b4131b; +cursor:pointer;} /*COMES FROM THE BACKEND, please change*/ + +#featuredRecipe +{font-size:12px; +position:absolute; +top:40px; +left:35px; +z-index:60; +padding-bottom:6px; +border-bottom:1px solid #b4131b; +-webkit-transform: rotate(-6deg); +-moz-transform: rotate(-6deg); +transform: rotate(-6deg);} + +#recipeName +{font-size:20px; +position:absolute; +top:68px; +left:68px; +z-index:60; +-webkit-transform: rotate(-6deg); +-moz-transform: rotate(-6deg);} + +#vegLeft +{position:absolute; +top:160px; +left:70px; +z-index:80;} + +#vegCenter +{position:absolute; +top:150px; +left:200px; +z-index:70;} + +#vegRight +{position:absolute; +top:0px; +left:490px; +z-index:80;} + diff --git a/mofca/static/css/inner.css b/mofca/static/css/inner.css new file mode 100644 index 0000000..ae44397 --- /dev/null +++ b/mofca/static/css/inner.css @@ -0,0 +1,12 @@ +.colInner +{width:98%; +margin:0 auto; +background-color:rgba(254, 254, 254, 0.4); +padding:2%;} + +.colInner h1 +{font-size:18px; +font-weight:bold;} + +.boldText +{font-weight:bold;} \ No newline at end of file diff --git a/mofca/static/css/main.css b/mofca/static/css/main.css index b2bda41..4982c21 100644 --- a/mofca/static/css/main.css +++ b/mofca/static/css/main.css @@ -9,12 +9,20 @@ body background-attachment:fixed; font-family:Georgia, "Times New Roman", Times, serif;} /*font squirrel font to be added*/ -.wrapper -{min-height:100%;} +#wrapper +{min-height:100%; +width:86%; +margin:0 auto;} + +header +{width:100%; +margin:0 auto; +height:80px;} #logo -{margin-top:24px; -margin-left:20px;} /*this is taking the top margin of nav. because it's inline? display:block dont work*/ +{position:absolute; +top:22px; +left:20px;} /*this is taking the top margin of nav. because it's inline? display:block dont work*/ .navMain {position:absolute; @@ -77,17 +85,45 @@ background:-o-linear-gradient(top, rgba(12,77,137,1) 0%,rgba(84,117,54,1) 100%); background:-ms-linear-gradient(top, rgba(12,77,137,1) 0%,rgba(84,117,54,1) 100%); /* IE10+ */ background: linear-gradient(top, rgba(12,77,137,1) 0%,rgba(84,117,54,1) 100%); /* W3C */} +#search +{width:240px; +border:none; +height:30px; +/*position:absolute; +right:12px; +top:22px;*/ +-moz-box-shadow: rgba(0,0,0, 0.3) 0px 0px 8px; +-webkit-box-shadow: rgba(0,0,0, 0.3) 0px 0px 8px; +box-shadow: rgba(0,0,0, 0.3) 0px 0px 8px; +background-color:rgba(254, 254, 254, 0.4); +font-family:Arial, Helvetica, 'DejaVu Sans', sans-serif; +font-size:14px; +text-align:center; +float:right; +margin-top:40px; +outline:none; +/*position:absolute; +top:38px; +right:20px;*/} /*placeholder input text supported by html5 for FF3.7 and webkit, add a shiv? also*/ + +#search:focus +{-moz-box-shadow: rgba(0,0,0, 0.3) 0px 0px 8px; +-webkit-box-shadow: rgba(0,0,0, 0.3) 0px 0px 8px; +box-shadow: rgba(0,0,0, 0.3) 2px 3px 10px 2px;} + + .clear {clear:both;} #columns -{width:86%; +{width:100%; margin:0 auto; color:#547536; margin-top:28px; overflow:hidden; /*overflow-y:auto; i had to do this for sticky footer to fix a damn FF bug that was showing horizontal scrollbar on footer, i hope its ok, i'mnot sure if IE 6 accepts overflow-x hidden, the question is, do we care*/ -padding-bottom:120px;} +padding-bottom:120px; +margin-bottom:20px;} #col1 {width:65%; @@ -97,96 +133,6 @@ margin-right:10px; float:left; z-index:130;} -#col1 hgroup -{text-align:left; -margin-left:0px;} - -#col1 hgroup h1 -{font-size:72px; -background-color:rgba(254, 254, 254, 0.4); -padding-left:10px; -padding-right:10px; -display:inline-block;} /*is this ok*/ - -#col1 hgroup h2 -{font-size:24px; -line-height:28px; -border-left:10px solid rgba(254, 254, 254, 0.4); -} /*why doesn't padding work here? because it's inline?*/ - -#col1 hgroup h2 span -{background-color:rgba(254, 254, 254, 0.4);} - -hgroup h3 -{font-size:24px; -background-color:rgba(254, 254, 254, 0.4); -margin-top:24px; -padding:6px; -display:inline-block;} - -#basket -{margin-left:0px; -margin-top:20px; -position:relative;} - -#basketBottom -{position:absolute; -top:130px; -z-index:50;} - -#basketTop -{position:absolute; -top:236px; -left:10px; -z-index:100;} - -#basketRecipe -{position:absolute; -top:80px; -left:340px; -z-index:60; -color:#b4131b; -cursor:pointer;} /*COMES FROM THE BACKEND, please change*/ - -#featuredRecipe -{font-size:12px; -position:absolute; -top:40px; -left:35px; -z-index:60; -padding-bottom:6px; -border-bottom:1px solid #b4131b; --webkit-transform: rotate(-6deg); --moz-transform: rotate(-6deg); -transform: rotate(-6deg);} - -#recipeName -{font-size:20px; -position:absolute; -top:68px; -left:68px; -z-index:60; --webkit-transform: rotate(-6deg); --moz-transform: rotate(-6deg);} - -#vegLeft -{position:absolute; -top:160px; -left:70px; -z-index:80;} - -#vegCenter -{position:absolute; -top:150px; -left:200px; -z-index:70;} - -#vegRight -{position:absolute; -top:0px; -left:490px; -z-index:80;} - #col2 {width:300px; float:right; @@ -231,10 +177,9 @@ margin-top:10px; cursor:pointer;} .input -{width:180px; --moz-box-shadow: rgba(0,0,0, 0.3) 0px 0px 8px; +{-moz-box-shadow: rgba(0,0,0, 0.3) 0px 0px 8px; -webkit-box-shadow: rgba(0,0,0, 0.3) 0px 0px 8px; -box-shadow: rgba(0,0,0, 0.3) 0px 0px 8px 3px; +box-shadow: rgba(0,0,0, 0.3) 0px 0px 8px; background-color:rgba(254, 254, 254, 0.1); outline:none;} @@ -256,6 +201,7 @@ margin-left:4px;} -webkit-box-shadow:0px 0px 8px #000; box-shadow: 0px 0px 8px #000;} + #blogSection article {margin-top:10px;} /*are the time zones in the html accurate???? and the usage of time, datetime, pubdate, only done it for the first article*/ @@ -286,16 +232,13 @@ background-color:rgba(254, 254, 254, 0.4); color:#0c4d89; font-size:13px; padding-top:16px; -padding-bottom:16px; +padding-bottom:24px; padding-left:1%; padding-right:1%; margin-top:-120px; position:relative;} footer h1 -{font-size:24px;} - -footer h2 {font-size:13px; padding-bottom:20px;} diff --git a/mofca/static/img/logo-footer.png b/mofca/static/img/logo-footer.png new file mode 100644 index 0000000000000000000000000000000000000000..dba7fb3c8dd532de0bba2a5a1d029b9589c26f43 GIT binary patch literal 371 zcmV-(0gV2MP)h3p%Q- Rw4eY0002ovPDHLkV1i(fm!$vz literal 0 HcmV?d00001 diff --git a/mofca/templates/test/base.html b/mofca/templates/test/base.html new file mode 100644 index 0000000..7321fd0 --- /dev/null +++ b/mofca/templates/test/base.html @@ -0,0 +1,160 @@ + + + + +PLEASE ADD TITLES HERE + + + + + +{% block extra_head %} + +{% endblock %} + + + + + + +
+ +
+ + + + + +
+ +
+ + + +
+ +
+ +
+ +
+ + {% block content %} + {% endblock %} + +
+ + +
+ +
+ chandrakant-bokade +
+

Meet the Farmer:

+

Chandrakant Bokade

+
+
+ +
+

Join our upcoming events

+
    +
  • Farm visit Sunday, July 24, Bhiwandi
  • +
  • Tokri distribution Thursday, July 28
  • +
+ +
+ + +
+

Sign up for our newsletter

+ +
+ + +
+ + + +
+ +
+

Tokri Talk from our blog

+
Ambadi Unrelated to Cannabis – except in the shape of the leaves
+ +
Ambadi Unrelated to Cannabis – except in the shape of the leaves. Those leaves are pretty
+ +
Ambadi Unrelated to Cannabis – except in the shape of the leaves
+ + +
+
+
+ +
+ +
+ + + + + + + + + diff --git a/mofca/templates/test/index.html b/mofca/templates/test/index.html index 4f4f3e8..c8adc39 100644 --- a/mofca/templates/test/index.html +++ b/mofca/templates/test/index.html @@ -1,61 +1,13 @@ - - - - -Untitled Document +{% extends 'test/base.html' %} - - +{% block extra_head %} + +{% endblock %} - - -
- -
- - + {% block content %} - - -
- -
- -
- -
-

Hari Bhari Tokri

@@ -77,89 +29,4 @@
dudhi
-
- - -
- -
- chandrakant-bokade -
-

Meet the Farmer:

-

Chandrakant Bokade

-
-
- -
-

Join our upcoming events

-
    -
  • Farm visit Sunday, July 24, Bhiwandi
  • -
  • Tokri distribution Thursday, July 28
  • -
- -
- - -
-

Sign up for our newsletter

- -
- - -
- - - -
- -
-

Tokri Talk from our blog

-
Ambadi Unrelated to Cannabis – except in the shape of the leaves
- -
Ambadi Unrelated to Cannabis – except in the shape of the leaves. Those leaves are pretty
- -
Ambadi Unrelated to Cannabis – except in the shape of the leaves
- - -
-
-
- -
- - - - - - - - - - - + {% endblock %} diff --git a/mofca/templates/test/inner.html b/mofca/templates/test/inner.html new file mode 100644 index 0000000..d187643 --- /dev/null +++ b/mofca/templates/test/inner.html @@ -0,0 +1,95 @@ +{% extends 'test/base.html' %} + +{% block extra_head %} + +{% endblock %} + + {% block content %} + +
+

CSA or 'farm sharing' through HBT

+
+ +

Most of us are aware that profit from food is impossible if farming and food supply is carried out in the spirit of ahimsa. In spite of the fact that food is an everyday necessity or perhaps precisely because it is one, the proportion of income spent on food decreases as income increases. It is why our country's (and other countries') farmers are in the state they're in. It is also why our earth is in the state it is in.

+
+

To underline our efforts to reclaim food from the clutches of commodification we are proposing the idea of family farms/ farmers (similar to that of family doctor). We want to encourage the deepening of trust, responsibility and reciprocity within our human and ecological communities.

+
+

20 farmers have pledged their lands and labour to the practice of sustainable farming methods for this monsoon season (2011). This growing cycle begins in May with sowing and a harvest is expected from July to October. MOFCA will support the farmers with sharing of technical know-how and other farming resources, creating an assured market and a fair, consistent price for their produce and creating and managing the supply chain logistics.

+
+

We have available to us a total of 4 acres of farm land, cultivated by the 20 farmers partnering with us for this season. We are estimating a yield of 100 kg. / week from each acre which will give us a total of approximately 400 kilos. We have 200 farm shares available this season for public issue each worth Rs 2500/-.

+
+

As a shareholder you are paying the true cost of growing the food (in a sustainable and just way) and bringing it to you for the duration of the season. You are also helping in the long-term promotion of sustainable farming by enabling MOFCA to share resources among farmers and also to help consumers and the wider public learn to be more conscious about the food they eat.

+

+ +

Why become a shareholder?

+
+

As a shareholder and consumer of seasonal, local organic food you are investing in your health everyday. You will have access to nutritious vegetables, produced organically. By eating local and in season vegetables you will be eating them at their freshest, most natural state, and at a time when they will most benefit you.

+
+

As a shareholder you are investing in your community. As consumers have become more and more disconnected from the process of food production they have also become more disconnected from the human and ecological communities that support this process. By shareholding you will have the opportunity to personally get to know the farmers and they will know who's eating the food they are growing. Food traditions can be celebrated and kept alive among family and friends.

+
+

As a shareholder you are investing in your planet. Even though increasingly fewer and fewer people are farming the earth, it is the responsibility of all of us to maintain the health of the earth. Through your support of organic practices you can do this. By buying local you are reducing the distance food travels to reach you- your food miles. And by preregistering as a shareholder you enable farmers to better plan their growing cycle thereby reducing wastages.

+
+

As a shareholder you are investing in learning. You will have the opportunity to visit the farms where the food is grown and be re-introduced to traditional (forgotten) vegetables and different ways to prepare and store them. Shareholding is a great way to introduce children to various aspects of food and its production, nature and the community.

+
+

As a shareholder you are investing in your local economy. Without intermediaries, shareholders benefit from reasonable, predetermined prices not subject to economic fluctuations or false scarcities. Wastages that occur from excess produce not being sold will be minimized, which in turn will reduce losses to the farmer and keep costs to the consumer under control. Farmers also benefit from fair prices paid directly to them.

+

+ +

Shareholder Terms

+
+1. You, the consumer, will partner with MOFCA for one growing season. The monsoon cycle begins in May with sowing and a harvest is expected from July to October.
+2. At the time of registering, you will be required to give a contribution of Rs. 3000/- for the season. This amount represents a shared responsibility for the costs of vegetable production and logistics for the season as well as for the undertaking of certain projects to ensure the long term sustainability of the project.
+3. A list of vegetables that will be grown during the season will be made available so consumers will know what to expect.
+4. Each week, on a pre-determined day, your tokri/share of the produce will be delivered to your pre-selected pick-up point. Members are requested to collect their tokris the same day during the hours specified by the respective pick-up point. If possible, arrangements for delivery will be made available at actuals for those interested.
+5. Each tokri will contain a proportionate share (in quantity and variety) of the produce harvested that week. Each week, depending upon availability, we will try to vary the vegetables included in the tokri. The quantities supplied during the harvest will also vary during the season generally peaking at the middle of the season and tapering off at the beginning and end of the season.
+6. In case you do not want a tokri for a week or more during the season you are requested to inform us in advance if you would like for us to donate it for you or if you are gifting it to someone and who will pick it up on your behalf.
+7. In case of special, one-off requests where a larger quantity is required, the allocation will be made only after all the regular registered baskets are filled.
+8. Occasionally, in addition to vegetables, farmers will have fruits and other provisions (e.g. cereals, pulses, oils, etc) for sale. Additional costs and other details will be provided as and when available. Occasionally these are from farmers outside of the MOFCA group but are organic farmers whose commitment to sustainable farming we are convinced of.
+9. Consumer shareholders will from time to time have access to resources (e.g. recipes) and activities (demonstrations, workshops, farm visits, etc) to further their learning about growing and eating seasonal, local, food.
+10. Shareholders who would like to to continue for the next season are requested to intimate us by the 1st of September 2011. At that time we will update shareholders about any modifications in policy, costs, etc for the next season. +

+

The True Cost of our Food or Why Can't my Food be Cheaper?

+
+Accounts from HBT's 1st winter season (Sept 2010- March 2011) + COSTS +Vegetable (-) 77,926 + Transport (-) 42,500 + Misc (phone, seeds, jute and partial payment for crates and bags) (-) 32,500 + Additional resources: + Time for transport, pick up, sorting and packing, coordination, + management, etc (60+ hours per week): Donated by volunteers + Space and resources at the pick up points : Donated by volunteers + Total cost (-) 152,926 + + INCOME from sales (+) 94,886 + LOSS (-) 58,040 + Loss shared among consumers (135) (-) 429 + Initial Deposit paid by Consumers (+) 500 + Balance payable after cutting losses (+) 70/-per partner * +*rounded off except if defaulted on picking up a tokri; in which case the amount is deducted from deposit. +

Our first season's accounts give some indication of the costs involved in growing and transporting food from farm to table. Of course, this being our first season there was more learning than efficiency. While we will get better at it, cheap food will never be our goal for market prices do not reveal the true costs nor the extent of exploitation, of people and resources. A model that is just and sustainable and with minimal loss is what we are aiming for.

+
+

At this point we are committed to paying farmers a rate of 25/- per kilo for any vegetable they supply. For the long duration crops like roots and tubers they receive a slightly higher rate. This is far above the rate they typically receive in the market.

+
+

For the monsoon season, we are also factoring in the costs for those items that were donated for the first season, largely labour, space and resources. Some amount of resources, donated as well as included in the costing is earmarked for long term projects (please refer to extension activities) and other supportive tasks. Keeping these in mind the investment cost for one share, for an estimated weekly delivery of 16 weeks of harvest for the monsoon season is Rs 3,000/-.

+
+

Because we believe healthy food is everyone's birthright and we understand that there may be some that cannot afford to give a downpayment of Rs 3,000 we request those who are interested to come and speak to us. We are willing to work out a resource exchange commitment (typically time and energy) for the season.

+

+

Extension activities

+
+ +

We have become accustomed to "what we want, when we want". We must now re-learn how to eat what Nature provides in plenty "where we are, when we are".

+
+ +

Consumer education and community building to facilitate use of the tokri veggies might include; +dealing with large quantities of seasonal food- recipes, preservation +introducing "new" foods- uncultivated, forgotten, + celebrating (slow) food- sharing traditional food preparation methods, cooking together, film screenings, food meditation newsletter, blog, recipe exchange, etc.
+Also farm visits. Linking to other closely related food movements- urban farming.

+
+

Developing an internal certification process.
+While we initially considered a participatory guarantee scheme (PGS) system which emphasises peer group accountability with regards to on-farm policy and practice, because of the distances between farms this is not quite viable. So using various criteria drawn from the PGS standards MOFCA will create a team including both farmer and consumer representatives that will visit farms and understand their views and practices of sustainability. We will support farmers as they transition to organic and eventually natural farming.

+
+

Seed saving and other resource sharing, networking activities to support on farm work needs to begin.

+
+ +{% endblock %}