-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
112 lines (102 loc) · 3.95 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>The Cost of Hacking – London Hackspace</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/base.css" type="text/css">
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(drawCharts);
function drawCharts() {
// ===========
// = Balance =
// ===========
var data = new google.visualization.DataTable();
data.addColumn('string', 'Month');
data.addColumn('number', 'Subscriptions, Donations, Other Income £8,200');
data.addColumn('number', 'Expenses £11,040');
data.addRows([
['May 2013', 8221.00, 11040.00],
]);
var options = {
// title: 'London Hackspace Budget',
axisTitlesPosition: 'none',
legend: { position: 'top' },
hAxis: { viewWindow: { min: 0 } },
vAxis: { textPosition: 'none' },
chartArea: { left: 10, top: 30, width: "100%", height: "60%"},
fontSize: 16
};
var chart = new google.visualization.BarChart(document.getElementById('balance_div'));
chart.draw(data, options);
// ============
// = Expenses =
// ============
var data = new google.visualization.DataTable();
data.addColumn('string', 'Item');
data.addColumn('number', 'Cost');
data.addRows([
['Rent £7,500', 7500],
['Business Rates £1800', 1800],
['Electricity £600', 600],
['Gas £200', 200],
['Supplies £150', 150],
['Cleaner £140', 140],
['Rubbish £105', 105],
['Internet £95', 95],
['Water £70', 70],
['Reserve £400', 400],
]);
var options = {
// title: 'London Hackspace Budget',
chartArea: { left: 0, top: 5, width: "100%", height: "95%"},
fontSize: 16
};
var chart = new google.visualization.PieChart(document.getElementById('expenses_div'));
chart.draw(data, options);
}
</script>
</head>
<body>
<div id="container">
<header role="banner" class="text">
<h1><img src="http://london.hackspace.org.uk/images/london.png" width="60" height="60" alt="London Hackspace" /> The Cost of Hacking</h1>
<p><strong>The London Hackspace is entirely funded by your membership subscriptions & donations.</strong></p>
<p>We've taken a massive leap in moving to and fitting out our new space on Hackney Road, and we're currently
making a monthly loss and burning through our cash reserves.
We can't spend more money on making the space more awesome until we're making a monthly surplus.</p>
</header>
<div id="main" role="main" class="text">
<article>
<header>
<h2>Our Monthly Balance</h2>
</header>
<div id="balance_div" class="graph" style="width: 600px; height: 150px;"></div>
</article>
<article>
<header>
<h2>Our Monthly Expenses</h2>
</header>
<div id="expenses_div" class="graph" style="width: 600px; height: 300px;"></div>
</article>
<article>
<header>
<h2>How You Can Help</h2>
</header>
<ul>
<li><strong class="large">Join London Hackspace today!</strong> You'll get 24/7 access, a storage box for your projects, and warm fuzzy feelings for supporting us. We need members to pay an average £20/month for the space to survive.</li>
<li>If you're already a member, <strong class="large">increase your monthly subscription payment</strong> by a few pounds.</li>
<li>Volunteer to run a workshop on your area of expertise, or help us keep our infrastructure in shape.</li>
<li>Let us know if there's something you'd like added to or changed in the Hackspace that would convince you to pay more each month.</li>
</ul>
</article>
</div>
<footer id="credits" role="contentinfo" class="text">
<hr />
<p>Last updated 10 June 2013. Source: London Hackspace "<a href="http://wiki.london.hackspace.org.uk/view/Budget">Budget</a>" wiki page.</p>
</footer>
</div>
</body>
</html>