Quellcode durchsuchen

Fix gitignore merge conflict

Adel Qalieh vor 12 Jahren
Ursprung
Commit
66a8816999
10 geänderte Dateien mit 614 neuen und 2 gelöschten Zeilen
  1. 11 2
      .gitignore
  2. 1 0
      .meteor/.gitignore
  3. 10 0
      .meteor/packages
  4. 1 0
      .meteor/release
  5. 108 0
      client/css/style.css
  6. 359 0
      client/index.html
  7. 70 0
      client/main.coffee
  8. 8 0
      client/main.helpers.coffee
  9. 5 0
      lib/models.coffee
  10. 41 0
      public/chart.svg

+ 11 - 2
.gitignore

@@ -1,10 +1,19 @@
+### Windows ###
+# Windows image file caches
+Thumbs.db
+ehthumbs.db
+
+# Folder config file
+Desktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
 ### Linux ###
 .*
 !.gitignore
-!.git*
 *~
 
-
 ### SublimeText ###
 # SublimeText project files
 *.sublime-workspace

+ 1 - 0
.meteor/.gitignore

@@ -0,0 +1 @@
+local

+ 10 - 0
.meteor/packages

@@ -0,0 +1,10 @@
+# Meteor packages used by this project, one per line.
+#
+# 'meteor add' and 'meteor remove' will edit this file for you,
+# but you can also edit it by hand.
+
+autopublish
+insecure
+preserve-inputs
+standard-app-packages
+coffeescript

+ 1 - 0
.meteor/release

@@ -0,0 +1 @@
+0.7.0.1

+ 108 - 0
client/css/style.css

@@ -0,0 +1,108 @@
+body {
+	padding-top: 60px;
+	/* background-color: #eee; */
+}
+.form-group {
+	display: block !important;
+}
+.list-group-item {
+	padding: 5px 10px 5px 10px;
+}
+.nav .btn {
+	color: #fff;
+	background-color: #474949;
+	border-color: #323333;
+}
+.nav .btn-default:hover, .nav .btn-default:focus, .nav .btn-default:active, .nav .btn-default.active {
+	background-color: #3a3c3c;
+	border-color: #2e2f2f;
+}
+.navbar-collapse .navbar-nav.navbar-right:last-child {
+	margin-right: 0;
+}
+#signin {
+	width: 100%;
+}
+.profile img {
+	position: absolute;
+	height: 48px;
+	width: 48px;
+}
+.profile h4 {
+	padding: 13px 0 10px 60px;
+	white-space: nowrap;
+	overflow: hidden;
+	text-overflow: ellipsis;
+}
+#filters hr {
+	margin-top: 15px;
+	margin-bottom: 5px;
+}
+#addTaskInput {
+	width: 100%;
+}
+#addTaskInput input {
+	width: 75%;
+}
+#addTaskInput button {
+	width: 24%;
+}
+.tasksHeading {
+	padding-bottom: 10px;
+}
+.taskListItem {
+	padding: 8px 0 8px 5px;
+	border-bottom: 1px solid #d3d7cf;
+}
+.completeBox {
+	height: 28px;
+	width: 28px;
+	position: absolute;
+	margin-top: 5px;
+	border: 3px solid #00a5e6;
+	-moz-border-radius: 25%;
+	border-radius: 25%;
+}
+.taskRowTop {
+	padding-left: 45px;
+	cursor: pointer;
+}
+.text-line {
+  text-decoration: line-through;
+}
+.taskRowBottom {
+	padding: 1px 0 1px 45px;
+}
+@media (max-width: 768px) {
+	#filters hr {
+		margin-top: 2px;
+		margin-bottom: 10px;
+	}
+	#signin {
+		width: 90%;
+	}
+	#addTaskInput input {
+		width: 100%;
+		margin-bottom: 15px;
+	}
+	#addTaskInput button {
+		width: 100%;
+	}
+	.navbar-brand {
+		display: block;
+		float: none;
+		padding: 15px;
+		max-width: 200px;
+		margin: 0 auto;
+		text-align: center;
+	}
+}
+@media (max-width: 480px) {
+	#filters {
+		display: none;
+	}
+	.tasksHeading {
+		text-align: center;
+		margin-top: 5px;
+	}
+}

+ 359 - 0
client/index.html

@@ -0,0 +1,359 @@
+<head>
+	<meta charset="UTF-8">
+	<title>Astroid</title>
+	<meta name="viewport" content="width=device-width, initial-scale=1.0">
+  <!-- Stylesheets -->
+	<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/css/bootstrap.css">
+  <!-- Scripts -->
+	<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
+	<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script>
+	<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.4.0/moment.min.js"></script>
+</head>
+<body>
+<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
+	<div class="navbar-header">
+		<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
+			<span class="sr-only">Toggle navigation</span>
+			<span class="icon-bar"></span>
+			<span class="icon-bar"></span>
+			<span class="icon-bar"></span>
+		</button>
+		<a href="#" class="navbar-brand">Astroid</a>
+	</div>
+	<div class="navbar-collapse collapse navbar-responsive-collapse">
+		<ul class="nav navbar-nav">
+			<li class="active"><a href="#">Home</a></li>
+			<li><a href="#">About</a></li>
+			<li><a href="#">Help</a></li>
+		</ul>
+		<ul class="nav navbar-nav navbar-right" style="text-align: center;">
+			<li><button type="button" class="btn btn-default navbar-btn" id="signin">Sign in</button></li>
+		</ul>
+	</div>
+</div>
+<div class="container">
+<div class="row">
+	<div class="col-lg-9">
+		<div class="row">
+			<div class="col-sm-4 col-lg-4 hidden-xs">
+				<div class="well">
+					<div class="profile">
+						<img src="http://placekitten.com/100/100" alt="Placeholder" class="img-circle">
+						<h4>Adel Qalieh</h4>
+					</div>
+					<hr>
+					<div class="list-group">
+						<a href="#" class="list-group-item active">All tasks</a>
+						<a href="#" class="list-group-item">Not in a list</a>
+						<a href="#" class="list-group-item">I've Assigned</a>
+						<a href="#" class="list-group-item">Assigned to me</a>
+						<a href="#" class="list-group-item">Shared Tasks</a>
+					</div>
+				</div>
+				<div class="well" style="padding: 0px;">
+					<ul class="nav nav-tabs nav-justified">
+						<li class="active"><a href="#lists" data-toggle="tab">Lists</a></li>
+						<li><a href="#people" data-toggle="tab">People</a></li>
+					</ul>
+					<div class="tab-content">
+						<div class="tab-pane fade active in" id="lists" style="padding: 0px 19px 19px 19px;">
+							<div class="btn-group btn-group-justified" style="padding: 4% 0%">
+								<a href="#addListModal" data-toggle="modal" class="btn btn-primary">Add List</a>
+								<a href="#addFolder" data-toggle="modal" class="btn btn-info">Add Folder</a>
+							</div>
+							<div class="list-group">
+								<a href="#" class="list-group-item active"><span class="badge">4</span>Home</a>
+								<a href="#" class="list-group-item"><span class="badge">0</span> Personal</a>
+								<a href="#" class="list-group-item"><span class="badge">29</span>Programming</a>
+								<a href="#" class="list-group-item"><span class="badge">4</span>Work</a>
+                {{>lists}}
+							</div>
+						</div>
+						<div class="tab-pane fade" id="people" style="padding: 0px 19px 19px 19px;">
+							<div class="btn-group btn-group-justified" style="padding: 4% 0%">
+								<a href="#addFriend" data-toggle="modal" class="btn btn-primary">Add Friend</a>
+								<a href="#shareToFriend" data-toggle="modal" class="btn btn-info">Share</a>
+							</div>
+							<div class="list-group">
+								<a href="#" class="list-group-item active"><span class="badge">2</span>Adel Qalieh</a>
+								<a href="#" class="list-group-item"><span class="badge">0</span>Manotej Meka</a>
+								<a href="#" class="list-group-item"><span class="badge">13</span>Prakhar Bhandari</a>
+                {{>people}}
+							</div>
+						</div>
+					</div>	
+				</div>
+			</div>
+			<div class="col-xs-12 col-sm-8 col-lg-8">
+				<div class="well">
+					<h3 class="tasksHeading">My Tasks</h3>
+          {{>newTaskForm}}
+					<div class="row" id="filters">
+					<hr>
+						<div class="col-xs-6 text-left dropdown">
+							<a href="#" data-toggle="dropdown">Filter: Uncompleted</a>
+							<ul class="dropdown-menu" role="menu" arial-labelledby="dLabel">
+								<li><a href="#">Uncompleted</a></li>
+								<li><a href="#">Not in my lists</a></li>
+								<li><a href="#">Due today</a></li>
+								<li><a href="#">Due soon</a></li>
+								<li><a href="#">Overdue</a></li>
+								<li><a href="#">Repeating</a></li>
+								<li><a href="#">Completed</a></li>
+								<li><a href="#">Everything</a></li>
+							</ul>
+						</div>
+						<div class="col-xs-6 text-right dropdown">
+							<a href="#" data-toggle="dropdown">Sort by: Auto</a>
+							<ul class="dropdown-menu pull-right" role="menu">
+								<li><a href="#">Auto</a></li>
+								<li><a href="#">Manual</a></li>
+								<li><a href="#">Priority</a></li>
+								<li><a href="#">Due date</a></li>
+								<li><a href="#">Date created</a></li>
+								<li><a href="#">Date completed</a></li>
+								<li><a href="#">Last modified</a></li>
+								<li><a href="#">A to Z</a></li>
+							</ul>
+						</div>
+					</div>
+					<div class="taskList">
+						<div class="taskListItem">
+							<a href="#" class="completeBox"></a>
+							<div class="taskRowTop">Lorem ipsum dolor sit</div>
+							<small class="taskRowBottom">
+								<span class="dueDate text-danger">4 July 2012</span> | <span class="taskItemList">Home</span>
+							</small>
+						</div>
+						<div class="taskListItem">
+							<a href="#" class="completeBox" style="border: 3px solid #a0222a;"></a>
+							<div class="taskRowTop">Dolor, provident odit pariatur</div>
+							<small class="taskRowBottom">
+								<span class="dueDate">21 Aug 2012</span> | <span class="taskItemList">Programming</span>
+							</small>
+						</div>
+						<div class="taskListItem">
+							<a href="#" class="completeBox" style="border: 3px solid #fbb03b;"></a>
+							<div class="taskRowTop">Aperiam, eos, mollitia! Iure</div>
+							<small class="taskRowBottom">
+								<span class="dueDate">16 Oct 2012</span> | <span class="taskItemList">Personal</span>
+							</small>
+						</div>
+						<div class="taskListItem">
+							<a href="#" class="completeBox"></a>
+							<div class="taskRowTop">Quae porro accusamus molestias</div>
+							<small class="taskRowBottom">
+								<span class="dueDate">16 Oct 2012</span> | <span class="taskItemList">Programming</span>
+							</small>
+						</div>
+						<div class="taskListItem">
+							<a href="#" class="completeBox"></a>
+							<div class="taskRowTop">Sed, saepe qui a</div>
+							<small class="taskRowBottom">
+								<span class="dueDate">28 Nov 2012</span> | <span class="taskItemList">Programming</span>
+							</small>
+						</div>
+            {{>todos}}
+					</div>
+				</div>
+			</div>
+		</div>
+	</div>
+	<div class="col-lg-3 visible-lg">
+		<div class="well" style="padding: 0px;">
+			<ul class="nav nav-tabs nav-justified">
+				<li class="active"><a href="#activity" data-toggle="tab">Activity</a></li>
+				<li><a href="#chart" data-toggle="tab">Chart</a></li>
+			</ul>
+			<div class="tab-content">
+				<div class="tab-pane fade active in" id="activity" style="padding: 19px 19px 19px 19px;">
+					<div class="text-center">
+						<b class="text-muted">No recent activity</b>
+					</div>
+				</div>
+				<div class="tab-pane fade" id="chart" style="padding: 19px 19px 19px 19px;">
+					<div class="text-center">
+						<img src="chart.svg" alt="Sample recent activity chart">
+					</div>
+				</div>
+			</div>
+		</div>
+	</div>
+</div>
+</div>
+<div class="modals">
+  {{>addList}}
+	<div class="modal fade" id="addFolder">
+		<div class="modal-dialog">
+			<div class="modal-content">
+				<div class="modal-header">
+					<button type="button" class="close" data-dismiss="modal">&times;</button>
+					<h4 class="modal-title">Add a Folder</h4>
+					<small>Use folders to group your lists into bigger projects.</small>
+				</div>
+				<div class="modal-body">
+					<form action="submit" class="form-horizontal">
+						<div class="form-group">
+							<label for="listName" class="col-lg-4 control-label">Folder name</label>
+							<div class="col-lg-8">
+								<input type="text" class="form-control" id="folderName" placeholder="Folder name">
+							</div>
+						</div>
+						<div class="form-group">
+							<label for="folderDescription" class="col-lg-4 control-label">Description</label>
+							<div class="col-lg-8">
+								<input type="text" class="form-control" id="folderDescription" placeholder="Description">
+							</div>
+						</div>
+					</form>
+				</div>
+				<div class="modal-footer">
+					<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
+					<button type="button" class="btn btn-primary">Create new folder</button>
+				</div>
+			</div>
+		</div>
+	</div>
+	<div class="modal fade" id="addFriend">
+		<div class="modal-dialog">
+			<div class="modal-content">
+				<div class="modal-header">
+					<button type="button" class="close" data-dismiss="modal">&times;</button>
+					<h4 class="modal-title">Add a Friend</h4>
+					<small>Add friends to assign tasks and get motivated :)</small>
+				</div>
+				<div class="modal-body">
+					<form action="submit" class="form-horizontal">
+						<div class="form-group">
+							<label for="friendName" class="col-lg-4 control-label">Friend's name</label>
+							<div class="col-lg-8">
+								<input type="text" class="form-control" id="friendName" placeholder="Friend name">
+							</div>
+						</div>
+						<div class="form-group">
+							<label for="friendEmail" class="col-lg-4 control-label">Email</label>
+							<div class="col-lg-8">
+								<input type="text" class="form-control" id="friendEmail" placeholder="Friend's email address">
+							</div>
+						</div>
+					</form>
+				</div>
+				<div class="modal-footer">
+					<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
+					<button type="button" class="btn btn-primary">Add friend</button>
+				</div>
+			</div>
+		</div>
+	</div>
+	<div class="modal fade" id="shareToFriend">
+		<div class="modal-dialog">
+			<div class="modal-content">
+				<div class="modal-header">
+					<button type="button" class="close" data-dismiss="modal">&times;</button>
+					<h4 class="modal-title">Share to a Friend</h4>
+					<small>Share list by email for viewing only</small>
+				</div>
+				<div class="modal-body">
+					<form action="submit" class="form-horizontal">
+						<div class="form-group">
+							<label for="friendName" class="col-lg-4 control-label">Friend's name</label>
+							<div class="col-lg-8">
+								<input type="text" class="form-control" id="friendName" placeholder="Friend name">
+							</div>
+						</div>
+						<div class="form-group">
+							<label for="friendEmail" class="col-lg-4 control-label">Email</label>
+							<div class="col-lg-8">
+								<input type="text" class="form-control" id="friendEmail" placeholder="Friend's email address">
+							</div>
+						</div>
+					</form>
+				</div>
+				<div class="modal-footer">
+					<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
+					<button type="button" class="btn btn-primary">Add friend</button>
+				</div>
+			</div>
+		</div>
+	</div>
+</div>
+</body>
+
+<template name="newTaskForm">
+<form id="new-task" class="form-inline" role="form">
+  <div class="form-group">
+    <div id="addTaskInput">
+      <input type="text" id="new-task-text" class="form-control" placeholder="Add a new task...">
+      <button type="submit" id="addTaskButton" class="btn btn-primary">Add a Task</button>
+    </div>
+  </div>
+</form>
+</template>
+
+<template name="todos">
+{{#each tasks}}
+  <div class="taskListItem">
+    <a href="#" class="completeBox"></a>
+    {{#if completed}}
+    <div class="taskRowTop text-line">{{body}}</div>
+    {{else}}
+    <div class="taskRowTop">{{body}}</div>
+    {{/if}}
+    <small class="taskRowBottom">
+        {{#overDue dateDue}}
+        <span class="dueDate text-danger">{{formatDate dateDue}}</span>
+        {{else}}
+        <span class="dueDate">{{formatDate dateDue}}</span>
+        {{/overDue}} | <span class="taskItemList">
+        {{list}}
+      </span>
+    </small>
+  </div>
+{{/each}}
+</template>
+
+<template name="lists">
+{{#each list}}
+<a href="#" class="list-group-item"><span class="badge">{{numTodos}}</span>{{name}}</a>
+{{/each}}
+</template>
+
+<template name="people">
+{{#each friend}}
+<a href="#" class="list-group-item"><span class="badge">{{numTodos}}</span>{{name}}</a>
+{{/each}}
+</template>
+
+<template name="addList">
+	<div id="addListModal" class="modal fade">
+		<div class="modal-dialog">
+			<div class="modal-content">
+				<div class="modal-header">
+					<button type="button" class="close" data-dismiss="modal">&times;</button>
+					<h4 class="modal-title">Add a List</h4>
+					<small>Use lists to organize projects, goals, and adventures!</small>
+				</div>
+				<div class="modal-body">
+					<form id="addList" class="form-horizontal">
+						<div class="form-group">
+							<label for="listName" class="col-lg-4 control-label">List name</label>
+							<div class="col-lg-8">
+								<input type="text" class="form-control" id="listName" placeholder="List name">
+							</div>
+						</div>
+						<div class="form-group">
+							<label for="listDescription" class="col-lg-4 control-label">Description</label>
+							<div class="col-lg-8">
+								<input type="text" class="form-control" id="listDescription" placeholder="Description">
+							</div>
+						</div>
+					</form>
+				</div>
+				<div class="modal-footer">
+					<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
+					<button id="addListButton" type="button" class="btn btn-primary">Create new list</button>
+				</div>
+			</div>
+		</div>
+	</div>
+</template>

+ 70 - 0
client/main.coffee

@@ -0,0 +1,70 @@
+Session.setDefault("filter", "everything")
+Session.setDefault("sort", "auto")
+
+Template.todos.tasks = ->
+  Tasks.find()
+
+Template.lists.list = ->
+  Lists.find()
+
+Template.todos.events
+  'click a.completeBox': (e) ->
+    e.preventDefault()
+    now = new Date()
+    list = Lists.findOne
+      name: @list
+
+    if @completed
+      Tasks.update this._id,
+        $set:
+          completed: not @completed
+          dateCompleted: false
+          modified: now
+      Lists.update list._id,
+        $inc:
+          numTodos: 1
+    else
+      Tasks.update this._id,
+        $set:
+          completed: not @completed
+          dateCompleted: now
+          modified: now
+      Lists.update list._id,
+        $inc:
+          numTodos: -1
+
+Template.newTaskForm.events
+  'submit #new-task, click #addTaskButton': (e) ->
+    e.preventDefault()
+    body = $('#new-task-text').val()
+    $('#new-task-text').val("")
+    now = new Date()
+    priority = 'low'
+    list = 'Adel'
+    Tasks.insert
+      body: body
+      dateDue: moment(now).add('w', 1).toDate()
+      dateCreated: now
+      dateCompleted: false
+      modified: now
+      list: list
+      priority: priority
+      completed: false
+      repeating: false
+    list = Lists.findOne
+      name: list
+    Lists.update list._id,
+      $inc:
+        numTodos: 1
+
+Template.addList.events
+  'click #addListButton': (e) ->
+    e.preventDefault()
+    listName = $('#listName').val()
+    $('#listName').val("")
+    listDescription = $('#listDescription').val()
+    $('#listDescription').val("")
+    Lists.insert
+      name: listName
+      description: listDescription
+      numTodos: 0

+ 8 - 0
client/main.helpers.coffee

@@ -0,0 +1,8 @@
+Handlebars.registerHelper 'formatDate', (date) ->
+  moment(date).format('D MMM YYYY')
+
+Handlebars.registerHelper 'overDue', (date, options) ->
+  if moment(date).isBefore()
+    options.fn this
+  else
+    options.inverse this

+ 5 - 0
lib/models.coffee

@@ -0,0 +1,5 @@
+root = exports ? this
+
+root.Tasks = new Meteor.Collection("tasks")
+root.Lists = new Meteor.Collection("lists")
+root.Folders = new Meteor.Collection("folders")

+ 41 - 0
public/chart.svg

@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
+	<!ENTITY ns_svg "http://www.w3.org/2000/svg">
+	<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
+]>
+<svg  version="1.1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="216" height="216" viewBox="0 0 216 216"
+	 overflow="visible" enable-background="new 0 0 216 216" xml:space="preserve">
+<text transform="matrix(1 0 0 1 65.4502 16.3101)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="16">Daily Progress</text>
+<text transform="matrix(1 0 0 1 62.6401 212.4004)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14">Day of the Week</text>
+<text transform="matrix(-6.123032e-017 -1 1 -6.123032e-017 10.7998 150.6201)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="14">Tasks Completed</text>
+<line fill="none" stroke="#000000" x1="68.15" y1="180" x2="68.15" y2="186"/>
+<line fill="none" stroke="#000000" x1="94.07" y1="180" x2="94.07" y2="186"/>
+<line fill="none" stroke="#000000" x1="120" y1="180" x2="120" y2="186"/>
+<line fill="none" stroke="#000000" x1="145.93" y1="180" x2="145.93" y2="186"/>
+<line fill="none" stroke="#000000" x1="171.85" y1="180" x2="171.85" y2="186"/>
+<path fill="none" stroke="#000000" d="M42.22,186v-6h155.56v6"/>
+<text transform="matrix(1 0 0 1 36.6602 198)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="10">M</text>
+<text transform="matrix(1 0 0 1 62.5898 198)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="10">T</text>
+<text transform="matrix(1 0 0 1 88.5098 198)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="10">W</text>
+<text transform="matrix(1 0 0 1 114.4404 198)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="10">Th</text>
+<text transform="matrix(1 0 0 1 140.3701 198)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="10">F</text>
+<text transform="matrix(1 0 0 1 166.29 198)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="10">S</text>
+<text transform="matrix(1 0 0 1 192.2197 198)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="10">Su</text>
+<line fill="none" stroke="#000000" x1="36" y1="145.33" x2="30" y2="145.33"/>
+<line fill="none" stroke="#000000" x1="36" y1="116.44" x2="30" y2="116.44"/>
+<line fill="none" stroke="#000000" x1="36" y1="87.56" x2="30" y2="87.56"/>
+<line fill="none" stroke="#000000" x1="36" y1="58.67" x2="30" y2="58.67"/>
+<path fill="none" stroke="#000000" d="M30,29.78h6v144.44h-6"/>
+<text transform="matrix(-6.123032e-017 -1 1 -6.123032e-017 25.2002 177)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="10">0</text>
+<text transform="matrix(-6.123032e-017 -1 1 -6.123032e-017 25.2002 148.1104)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="10">2</text>
+<text transform="matrix(-6.123032e-017 -1 1 -6.123032e-017 25.1997 119.2197)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="10">4</text>
+<text transform="matrix(-6.123032e-017 -1 1 -6.123032e-017 25.1997 90.3398)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="10">6</text>
+<text transform="matrix(-6.123032e-017 -1 1 -6.123032e-017 25.2002 61.4502)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="10">8</text>
+<text transform="matrix(-6.123032e-017 -1 1 -6.123032e-017 25.1997 35.3398)" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" font-size="10">10</text>
+<rect x="42.22" y="130.89" fill="#5cb85c" stroke="#398439" width="25.93" height="43.33"/>
+<rect x="68.15" y="130.89" fill="#5cb85c" stroke="#398439" width="25.93" height="43.33"/>
+<rect x="94.07" y="58.66" fill="#d9534f" stroke="#ac2925" width="25.93" height="115.56"/>
+<rect x="120" y="29.78" fill="#d9534f" stroke="#ac2925" width="25.93" height="144.44"/>
+<rect x="145.93" y="102" fill="#f0ad4e" stroke="#d58512" width="25.931" height="72.22"/>
+<rect x="171.85" y="145.33" fill="#5cb85c" stroke="#398439" width="25.931" height="28.89"/>
+</svg>