diff options
| author | Michele Bini <michele.bini@gmail.com> | 2013-07-27 11:05:02 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2013-07-27 11:05:02 (GMT) |
| commit | 80fd7f726e079c61a2f7f57eff2d4b5ba0d4a05e (patch) | |
| tree | bd88f140343ff6e0aece10419e5cf602e84a0b1d | |
Initial commit of source files and generated page.
| -rw-r--r-- | .gitmodules | 3 | ||||
| l--------- | Makefile | 1 | ||||
| m--------- | htmlcup | 0 | ||||
| l--------- | htmlcup.coffee | 1 | ||||
| -rw-r--r-- | index.html | 2 | ||||
| -rw-r--r-- | index.html.coffee | 34 |
6 files changed, 41 insertions, 0 deletions
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 +Subproject 4137d76054e4cd28b9989e08a138a93f9abc1a6 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 @@ +<!DOCTYPE html> +<html><head><title>Vaquitas need you!</title><style type="text/css">body { background:pink }</style></head><body><div>Please don't kill this baby!</div><div>Vaquitas are the smallest marine cetacean.</div><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><div>A marine sactuary is Vaquitas' only chance of survival; each year 30 to 80 of them die in fishing nets</div><div>Vaquitas now only survive in a small 40-mile stretch in the Gulf of California</div><div><h1>Petition you can sign</h1><a href="http://www.thepetitionsite.com/445/471/778/protected-reserves-for-critically-endangered-vaquita-porpoises/">Protected Reserves for Critically Endangered Vaquita Porpoises</a></div></body></html>
\ 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 <http://www.gnu.org/licenses/>. + +{ 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" |
