Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cname del #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

158 changes: 60 additions & 98 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,99 +1,61 @@
---
layout: default
title: The Daily Bread
---

<script>

yepnope({
load: [
// 'http://wheredoesmymoneygo.org/wp-content/themes/wdmmg/wdmmg.css',
'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/themes/ui-lightness/jquery-ui.css',
'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js',
'/js/libs/base64.js',
'/js/libs/underscore.js',
'/js/libs/raphael-min.js',
'/js/aggregator.js',
'/css/dailybread.css',
'/js/setting.js?20120707',
'/js/dailybread.js?20120707'
],
complete: function() {

(function ($) {

$(function () {

$('#preloader .txt').html('loading data');

var db = new OpenSpending.DailyBread($('#dailybread'));
new OpenSpending.Aggregator({
apiUrl: 'http://openspending.org/api',
//localApiCache: 'aggregate.json',
dataset: OpenSpending.identifier,
drilldowns: ['Category', 'Subcategory'],
cuts: ['year:' + OpenSpending.year],
rootNodeLabel: 'Total',
breakdown: 'Subcategory',
callback: function(data) {

$('#content-wrap').show();
$('#preloader').remove();

db.setDataFromAggregator(data, ['unknown']);
db.setIconLookup(function(name) {
var style = OpenSpending.Styles.Cofog[name];
if (style != undefined) {
return style['icon'];
}
return 'icons/unknown.svg';
});
db.draw();
}
});

OpenSpending.renderDependentTypes(db);
});
})(jQuery)
}
});


</script>

<div id="dailybread">
<!--
<h2 class="page-header">The Daily Bread <small> Costs for the British Taxpayer per Day</small></h2>
-->
<div>
<h2 style="width:240px;display:inline-block;vertical-align:top;">あなたの世帯タイプは?</h2>
<div id="select-dependents-type" style="width:450px;display:inline-block;">
<div class="single">単身世帯</div>
<div class="family">扶養有り</div>
</div>
<br style="clear:both;">
</div>

<div id="preloader" style="text-align: center; padding: 100px"><img src="img/ajax-loader.gif" style="vertical-align:top" /> &nbsp;<span class="txt">loading javascript libraries</span></div>

<div id="content-wrap" style="display:none">
<div id="db-topbar" class="layout-row layout-3col-15-70-15">
<div id="db-salary" class="layout-col layout-col-1">
<h2>年収</h2>
<p>&yen;4,000,000</p>
</div>

<div id="db-slider" class="layout-col layout-col-2">
<h2>あなたの年間収入を選んでください</h2>
<div class="wdmmg-slider"></div>
</div>

<div id="db-tax" class="layout-col layout-col-3">
<h2>あなたの横浜市税(年間)</h2>
<p>&yen;31.12</p>
</div>
</div><!-- /#db-topbar -->
</div>
あなたの市税は、1日当たり、どこで、いくら使われているか?
</div><!-- /#dailybread -->
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>Toshima-data.GitHub.io by toshima-data</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
</head>
<body>
<section class="page-header">
<h1 class="project-name">Toshima-data.GitHub.io</h1>
<h2 class="project-tagline">Where does my money go for Yokohama</h2>
</section>

<section class="main-content">
<h3>
<a id="welcome-to-github-pages" class="anchor" href="#welcome-to-github-pages" aria-hidden="true"><span class="octicon octicon-link"></span></a>Welcome to GitHub Pages.</h3>

<p>This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:</p>

<pre><code>$ cd your_repo_root/repo_name
$ git fetch origin
$ git checkout gh-pages
</code></pre>

<p>If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.</p>

<h3>
<a id="designer-templates" class="anchor" href="#designer-templates" aria-hidden="true"><span class="octicon octicon-link"></span></a>Designer Templates</h3>

<p>We've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.</p>

<h3>
<a id="rather-drive-stick" class="anchor" href="#rather-drive-stick" aria-hidden="true"><span class="octicon octicon-link"></span></a>Rather Drive Stick?</h3>

<p>If you prefer to not use the automatic generator, push a branch named <code>gh-pages</code> to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.</p>

<h3>
<a id="authors-and-contributors" class="anchor" href="#authors-and-contributors" aria-hidden="true"><span class="octicon octicon-link"></span></a>Authors and Contributors</h3>

<p>You can <a href="https://github.com/blog/821" class="user-mention">@mention</a> a GitHub username to generate a link to their profile. The resulting <code>&lt;a&gt;</code> element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (<a href="https://github.com/defunkt" class="user-mention">@defunkt</a>), PJ Hyett (<a href="https://github.com/pjhyett" class="user-mention">@pjhyett</a>), and Tom Preston-Werner (<a href="https://github.com/mojombo" class="user-mention">@mojombo</a>) founded GitHub.</p>

<h3>
<a id="support-or-contact" class="anchor" href="#support-or-contact" aria-hidden="true"><span class="octicon octicon-link"></span></a>Support or Contact</h3>

<p>Having trouble with Pages? Check out the documentation at <a href="https://help.github.com/pages">https://help.github.com/pages</a> or contact <a href="mailto:[email protected]">[email protected]</a> and we’ll help you sort it out.</p>

<footer class="site-footer">

<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the <a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by <a href="https://twitter.com/jasonlong">Jason Long</a>.</span>
</footer>

</section>


</body>
</html>

1 change: 1 addition & 0 deletions params.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"Toshima-data.GitHub.io","tagline":"Where does my money go for Yokohama","body":"### Welcome to GitHub Pages.\r\nThis automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:\r\n\r\n```\r\n$ cd your_repo_root/repo_name\r\n$ git fetch origin\r\n$ git checkout gh-pages\r\n```\r\n\r\nIf you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.\r\n\r\n### Designer Templates\r\nWe've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.\r\n\r\n### Rather Drive Stick?\r\nIf you prefer to not use the automatic generator, push a branch named `gh-pages` to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.\r\n\r\n### Authors and Contributors\r\nYou can @mention a GitHub username to generate a link to their profile. The resulting `<a>` element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.\r\n\r\n### Support or Contact\r\nHaving trouble with Pages? Check out the documentation at https://help.github.com/pages or contact [email protected] and we’ll help you sort it out.\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
115 changes: 115 additions & 0 deletions stylesheets/github-light.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
/*
Copyright 2014 GitHub Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

*/

.pl-c /* comment */ {
color: #969896;
}

.pl-c1 /* constant, markup.raw, meta.diff.header, meta.module-reference, meta.property-name, support, support.constant, support.variable, variable.other.constant */,
.pl-s .pl-v /* string variable */ {
color: #0086b3;
}

.pl-e /* entity */,
.pl-en /* entity.name */ {
color: #795da3;
}

.pl-s .pl-s1 /* string source */,
.pl-smi /* storage.modifier.import, storage.modifier.package, storage.type.java, variable.other, variable.parameter.function */ {
color: #333;
}

.pl-ent /* entity.name.tag */ {
color: #63a35c;
}

.pl-k /* keyword, storage, storage.type */ {
color: #a71d5d;
}

.pl-pds /* punctuation.definition.string, string.regexp.character-class */,
.pl-s /* string */,
.pl-s .pl-pse .pl-s1 /* string punctuation.section.embedded source */,
.pl-sr /* string.regexp */,
.pl-sr .pl-cce /* string.regexp constant.character.escape */,
.pl-sr .pl-sra /* string.regexp string.regexp.arbitrary-repitition */,
.pl-sr .pl-sre /* string.regexp source.ruby.embedded */ {
color: #183691;
}

.pl-v /* variable */ {
color: #ed6a43;
}

.pl-id /* invalid.deprecated */ {
color: #b52a1d;
}

.pl-ii /* invalid.illegal */ {
background-color: #b52a1d;
color: #f8f8f8;
}

.pl-sr .pl-cce /* string.regexp constant.character.escape */ {
color: #63a35c;
font-weight: bold;
}

.pl-ml /* markup.list */ {
color: #693a17;
}

.pl-mh /* markup.heading */,
.pl-mh .pl-en /* markup.heading entity.name */,
.pl-ms /* meta.separator */ {
color: #1d3e81;
font-weight: bold;
}

.pl-mq /* markup.quote */ {
color: #008080;
}

.pl-mi /* markup.italic */ {
color: #333;
font-style: italic;
}

.pl-mb /* markup.bold */ {
color: #333;
font-weight: bold;
}

.pl-md /* markup.deleted, meta.diff.header.from-file */ {
background-color: #ffecec;
color: #bd2c00;
}

.pl-mi1 /* markup.inserted, meta.diff.header.to-file */ {
background-color: #eaffea;
color: #55a532;
}

.pl-mdr /* meta.diff.range */ {
color: #795da3;
font-weight: bold;
}

.pl-mo /* meta.output */ {
color: #1d3e81;
}
Loading