saikuro_treemap 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,7 @@ require 'rubygems'
2
2
  require 'json/pure'
3
3
  require 'erb'
4
4
  require 'rake'
5
+ require 'base64'
5
6
 
6
7
  require 'saikuro_treemap/version'
7
8
  require 'saikuro_treemap/parser'
@@ -1,5 +1,5 @@
1
1
  module SaikuroTreemap
2
2
  class Version
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ html, body {
3
3
  padding:0;
4
4
  font-family: "Lucida Grande", Verdana;
5
5
  font-size: 0.9em;
6
- background-color:#F2F2F2;
6
+ background-color: #fff;
7
7
  }
8
8
 
9
9
  .node {
@@ -30,4 +30,25 @@ html, body {
30
30
  font-size:10px;
31
31
  font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
32
32
  padding:7px;
33
+ }
34
+
35
+ #content{
36
+ margin: 10px;
37
+ }
38
+
39
+ img {
40
+ border: 0;
41
+ }
42
+
43
+ #header #title {
44
+ float: left;
45
+ margin: 20px;
46
+ height: 46px;
47
+ line-height: 46px;
48
+ }
49
+
50
+ #header #logo {
51
+ float: right;
52
+ margin: 20px;
53
+ height: 46px;
33
54
  }
@@ -5,7 +5,7 @@
5
5
  <meta content='en' http-equiv='Content-Language' />
6
6
  <title>Saikuro Treemap</title>
7
7
  <style>
8
- <%= File.read(template('css/treemap.css')) %>
8
+ <%= File.read(template('css/treemap.css')) %>
9
9
  </style>
10
10
  <script type="text/javascript">
11
11
  <%= File.read(template('js/jit-min.js')) %>
@@ -13,6 +13,18 @@
13
13
  </script>
14
14
  </head>
15
15
  <body>
16
+ <div id='header'>
17
+ <div id='title'>
18
+ Built with <a href="http://github.com/ThoughtWorksStudios/saikuro_treemap">Saikuro Treemap</a> from
19
+ <a href="http://studios.thoughtworks.com">ThoughtWorks</a>
20
+ </div>
21
+
22
+ <div id='logo'>
23
+ <a href="http://studios.thoughtworks.com">
24
+ <img src="data:image/png;base64,<%= Base64.encode64(File.read(template('images/tw_open_source_small.png'))) %>" style="vertical-align: middle"/>
25
+ </a>
26
+ </div>
27
+ </div>
16
28
  <div id='content'>
17
29
  <div id="detail"></div>
18
30
  <div id="infovis"></div>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saikuro_treemap
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - ThoughtWorks Studios
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-16 00:00:00 -07:00
18
+ date: 2010-07-17 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -64,6 +64,7 @@ files:
64
64
  - lib/saikuro_treemap/parser.rb
65
65
  - lib/saikuro_treemap/version.rb
66
66
  - templates/css/treemap.css
67
+ - templates/images/tw_open_source_small.png
67
68
  - templates/js/jit-min.js
68
69
  - templates/js/jit.js
69
70
  - templates/js/saikuro-render.js