From 80fd7f726e079c61a2f7f57eff2d4b5ba0d4a05e Mon Sep 17 00:00:00 2001 From: Michele Bini Date: Sat, 27 Jul 2013 13:05:02 +0200 Subject: Initial commit of source files and generated page. diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..7fb3f75 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "htmlcup"] + path = htmlcup + url = ./htmlcup diff --git a/Makefile b/Makefile new file mode 120000 index 0000000..c6970c3 --- /dev/null +++ b/Makefile @@ -0,0 +1 @@ +htmlcup/Makefile \ No newline at end of file diff --git a/htmlcup b/htmlcup new file mode 160000 index 0000000..4137d76 --- /dev/null +++ b/htmlcup @@ -0,0 +1 @@ +Subproject commit 4137d76054e4cd28b9989e08a138a93f9abc1a64 diff --git a/htmlcup.coffee b/htmlcup.coffee new file mode 120000 index 0000000..b2c3949 --- /dev/null +++ b/htmlcup.coffee @@ -0,0 +1 @@ +htmlcup/htmlcup.coffee \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..4a437ac --- /dev/null +++ b/index.html @@ -0,0 +1,2 @@ + +Vaquitas need you!
Please don't kill this baby!
Vaquitas are the smallest marine cetacean.
Their number has declined by 60% in 10 years, from an estimated 576 in 1997 to perhaps less than 150 individuals now, and could be extict by 2015
A marine sactuary is Vaquitas' only chance of survival; each year 30 to 80 of them die in fishing nets
Vaquitas now only survive in a small 40-mile stretch in the Gulf of California

Petition you can sign

Protected Reserves for Critically Endangered Vaquita Porpoises
\ No newline at end of file diff --git a/index.html.coffee b/index.html.coffee new file mode 100644 index 0000000..759a785 --- /dev/null +++ b/index.html.coffee @@ -0,0 +1,34 @@ +# Copyright (c) 2013 Michele Bini + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the version 3 of the GNU General Public License +# as published by the Free Software Foundation. + +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +{ htmlcup } = require './htmlcup' + +title = "Vaquitas need you!" + +htmlcup.html5Page -> + @head -> + @title title + @style type: "text/css", + """ + body { background:pink } + """ + @body -> + @div "Please don't kill this baby!" + @div "Vaquitas are the smallest marine cetacean." + @div 'Their number has declined by 60% in 10 years, from an estimated 576 in 1997 to perhaps less than 150 individuals now, and could be extict by 2015' + @div "A marine sactuary is Vaquitas' only chance of survival; each year 30 to 80 of them die in fishing nets" + @div "Vaquitas now only survive in a small 40-mile stretch in the Gulf of California" + @div -> + @h1 'Petition you can sign' + @a href: 'http://www.thepetitionsite.com/445/471/778/protected-reserves-for-critically-endangered-vaquita-porpoises/', "Protected Reserves for Critically Endangered Vaquita Porpoises" -- cgit v0.10.2