pencil 0.2.10 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. data/bin/pencil +2 -6
  2. data/docs/pencil_options.md +3 -1
  3. data/lib/{config.rb → pencil/config.rb} +29 -9
  4. data/lib/pencil/config.ru +2 -0
  5. data/lib/pencil/helpers.rb +211 -0
  6. data/lib/pencil/models/base.rb +78 -0
  7. data/lib/pencil/models/dashboard.rb +124 -0
  8. data/lib/pencil/models/graph.rb +394 -0
  9. data/lib/pencil/models/host.rb +89 -0
  10. data/lib/pencil/models.rb +3 -0
  11. data/lib/{public → pencil/public}/css/jquery_themes/pencil/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  12. data/lib/{public → pencil/public}/css/jquery_themes/pencil/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  13. data/lib/{public → pencil/public}/css/jquery_themes/pencil/images/ui-bg_glass_20_333333_1x400.png +0 -0
  14. data/lib/{public → pencil/public}/css/jquery_themes/pencil/images/ui-bg_glass_40_000000_1x400.png +0 -0
  15. data/lib/{public → pencil/public}/css/jquery_themes/pencil/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  16. data/lib/{public → pencil/public}/css/jquery_themes/pencil/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  17. data/lib/{public → pencil/public}/css/jquery_themes/pencil/images/ui-bg_highlight-soft_15_000000_1x100.png +0 -0
  18. data/lib/{public → pencil/public}/css/jquery_themes/pencil/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  19. data/lib/{public → pencil/public}/css/jquery_themes/pencil/images/ui-bg_inset-soft_30_ff4e0a_1x100.png +0 -0
  20. data/lib/{public → pencil/public}/css/jquery_themes/pencil/images/ui-icons_222222_256x240.png +0 -0
  21. data/lib/{public → pencil/public}/css/jquery_themes/pencil/images/ui-icons_4b8e0b_256x240.png +0 -0
  22. data/lib/{public → pencil/public}/css/jquery_themes/pencil/images/ui-icons_a83300_256x240.png +0 -0
  23. data/lib/{public → pencil/public}/css/jquery_themes/pencil/images/ui-icons_cccccc_256x240.png +0 -0
  24. data/lib/{public → pencil/public}/css/jquery_themes/pencil/images/ui-icons_ffffff_256x240.png +0 -0
  25. data/lib/{public → pencil/public}/css/jquery_themes/pencil/jquery-ui-1.8.16.custom.css +0 -0
  26. data/lib/{public → pencil/public}/css/thedoc.css +1 -0
  27. data/lib/{public → pencil/public}/favicon.ico +0 -0
  28. data/lib/{public → pencil/public}/js/cufon.js +0 -0
  29. data/lib/{public → pencil/public}/js/gotham.font.js +0 -0
  30. data/lib/{public → pencil/public}/js/jquery-1.6.2.min.js +0 -0
  31. data/lib/{public → pencil/public}/js/jquery-ui-1.8.16.custom.min.js +0 -0
  32. data/lib/{public → pencil/public}/js/pencil.js +0 -0
  33. data/lib/{public → pencil/public}/js/product-design.font.js +0 -0
  34. data/lib/pencil/public/style.css +307 -0
  35. data/lib/{rubyfixes.rb → pencil/rubyfixes.rb} +0 -0
  36. data/lib/pencil/version.rb +3 -0
  37. data/lib/{views → pencil/views}/cluster.erb +1 -1
  38. data/lib/{views → pencil/views}/dash-cluster-zoom.erb +2 -2
  39. data/lib/{views → pencil/views}/dash-cluster.erb +1 -1
  40. data/lib/{views → pencil/views}/dash-global-zoom.erb +2 -2
  41. data/lib/{views → pencil/views}/dash-global.erb +1 -1
  42. data/lib/{views → pencil/views}/global.erb +1 -1
  43. data/lib/{views → pencil/views}/host.erb +1 -1
  44. data/lib/{views → pencil/views}/layout.erb +2 -2
  45. data/lib/{views → pencil/views}/partials/cluster_selector.erb +0 -0
  46. data/lib/{views → pencil/views}/partials/cluster_switcher.erb +0 -0
  47. data/lib/{views → pencil/views}/partials/dash_switcher.erb +0 -0
  48. data/lib/{views → pencil/views}/partials/graph_switcher.erb +0 -0
  49. data/lib/{views → pencil/views}/partials/hosts_selector.erb +0 -0
  50. data/lib/{views → pencil/views}/partials/input_boxes.erb +0 -0
  51. data/lib/{views → pencil/views}/partials/shortcuts.erb +0 -0
  52. data/lib/{dash.rb → pencil.rb} +14 -17
  53. metadata +57 -58
  54. data/VERSION.rb +0 -1
  55. data/lib/config.ru +0 -2
  56. data/lib/helpers.rb +0 -209
  57. data/lib/models/base.rb +0 -73
  58. data/lib/models/dashboard.rb +0 -111
  59. data/lib/models/graph.rb +0 -367
  60. data/lib/models/host.rb +0 -87
  61. data/lib/models.rb +0 -3
  62. data/lib/namespace.rb +0 -4
  63. data/lib/public/style.css +0 -97
@@ -0,0 +1,307 @@
1
+ body {
2
+ background-color: #000;
3
+ color: #fff;
4
+ margin: 0px;
5
+ font-family: Verdana, Arial, Tahoma, sans-serif;
6
+ min-width: 1200px;
7
+ }
8
+
9
+ #header {
10
+ padding: 10px;
11
+ border-bottom: 3px #222 solid;
12
+ height: 45px;
13
+ background-color: #111;
14
+ }
15
+
16
+ #header h1{
17
+ padding: 0px;
18
+ margin: 0px;
19
+ font-weight: bold;
20
+ }
21
+
22
+ #header h4{
23
+ margin: 0px;
24
+ padding: 0px;
25
+ color: #ccc;
26
+ }
27
+
28
+ div#nav {
29
+ width: 15%;
30
+ padding: 10px;
31
+ float: left;
32
+ color: green;
33
+ border-left: 1px #444 solid;
34
+ border-right: 1px #444 solid;
35
+ border-bottom: 1px #444 solid;
36
+ background-color: #222;
37
+ font-size: 12px;
38
+ }
39
+
40
+ div#nav h3{
41
+ color: #d0cfcf;
42
+ font-size: 12px;
43
+ }
44
+
45
+ div#nav ul{
46
+ list-style-type: square;
47
+ padding-left: 15px;
48
+ }
49
+
50
+ div#main ul{
51
+ list-style-type: square;
52
+ padding-left: 25px;
53
+ }
54
+
55
+ div#nav ul li a,
56
+ div#main ul li a {
57
+ color: #99ccff;
58
+ }
59
+
60
+ div.nav-box {
61
+ margin-top: 10px;
62
+ background-color: #111;
63
+ font-size: 10px;
64
+ }
65
+
66
+ div.nav-box-inner {
67
+ padding: 3px;
68
+ color: #fff;
69
+ }
70
+
71
+ div.nav-box-inner label{
72
+ clear: left;
73
+ width: 70px;
74
+ padding-right: 4px;
75
+ float: left;
76
+ display: inline;
77
+ text-align: right;
78
+ height: 16px;
79
+ margin-top: 4px;
80
+ }
81
+
82
+ div.nav-box-inner input{
83
+ float: left;
84
+ display: inline-block;
85
+ height: 16px;
86
+ margin-top: 4px;
87
+ color: #fff;
88
+ }
89
+
90
+ div.nav-box-inner div.button-holder input {
91
+ float: none;
92
+ height: 20px;
93
+ font-size: 9px;
94
+ }
95
+
96
+
97
+ div.nav-box-inner div.button-holder {
98
+ text-align: center;
99
+ font-size: 10px;
100
+ clear: both;
101
+ padding-top: 5px;
102
+ }
103
+
104
+ div.nav-box-inner a.inline-link {
105
+ float: left;
106
+ position: relative;
107
+ top: 4px;
108
+ left: 4px;
109
+ color: #f0f0f0;
110
+ }
111
+
112
+ div.nav-box h3 {
113
+ margin: 0px;
114
+ padding: 2px;
115
+ font-size: 11px;
116
+ }
117
+
118
+ div#timeslice_container{
119
+ position: relative;
120
+ }
121
+
122
+ div#timeslice_container a{
123
+ position: absolute;
124
+ top: 0px;
125
+ color: #fff;
126
+ right: 0px;
127
+ text-align: right;
128
+ }
129
+
130
+ div.group_container {
131
+ background-color: #111;
132
+ border: 1px #333 solid;
133
+ padding: 2px;
134
+ font-size: 13px;
135
+ }
136
+
137
+ div.group_container.first {
138
+ border-bottom: none;
139
+ }
140
+ div.group_container.last {
141
+
142
+ }
143
+
144
+ div.group_container a {
145
+ color: #99ccff;
146
+ font-size: 13px;
147
+ }
148
+
149
+ div.group_container h4 {
150
+ display: inline-block;
151
+ margin: 0px;
152
+ padding: 0px;
153
+ font-size: 16px;
154
+ }
155
+
156
+ div.path_container {
157
+ position: relative;
158
+ }
159
+
160
+ div.path_container span.zoom {
161
+ position: absolute;
162
+ top: 7px;
163
+ right:0px;
164
+ }
165
+
166
+ div.path_container span.zoom a {
167
+ color: #99ccff;
168
+ }
169
+
170
+ div.group_container_small {
171
+ margin-top: 15px;
172
+ background-color: #333;
173
+ border: 1px #555 solid;
174
+ padding: 2px;
175
+ font-size: 11px;
176
+ }
177
+
178
+ div.group_container_small a {
179
+ color: #99ccff;
180
+ font-size: 11px;
181
+ }
182
+
183
+ div.group_container_small h4 {
184
+ display: inline-block;
185
+ margin: 0px;
186
+ padding: 0px;
187
+ font-size: 14px;
188
+ }
189
+
190
+ div.graph_container {
191
+ position: relative;
192
+ border: 1px #333 dotted;
193
+ margin-top: 10px;
194
+ }
195
+
196
+ div.graph_container h3{
197
+ border-bottom: 1px #666666 solid;
198
+ background-color: #222;
199
+ margin: 0px;
200
+ padding: 2px;
201
+ }
202
+
203
+ div.graph_container h3 span.tools{
204
+ position: absolute;
205
+ top:5px;
206
+ right:5px;
207
+ font-size: 11px;
208
+ color: #fff;
209
+ }
210
+
211
+ div.graph_container h3 span.tools a{
212
+ color: #99ccff;
213
+ }
214
+
215
+ div.graph_container div.graph{
216
+ text-align: center;
217
+ padding-bottom: 8px;
218
+ }
219
+
220
+ h2 {
221
+ color: #ADFF2F;
222
+ }
223
+
224
+ h3,
225
+ h3 a{
226
+ color: #32cd32;
227
+ }
228
+
229
+ .graphtitle {
230
+ text-shadow: 1px 1px 1px #333333;
231
+ }
232
+
233
+ .dashlinks {
234
+ color: green;
235
+ font-size: small;
236
+ }
237
+
238
+ a {
239
+ color: #15317E;
240
+ }
241
+
242
+ a:visited {
243
+ color: #15317E;
244
+ }
245
+
246
+ .graphsection {
247
+ border: dotted 2px #333333;
248
+ width: 500;
249
+ margin-left: 5px;
250
+ margin-top: 10px;
251
+ }
252
+
253
+
254
+ div#main {
255
+ margin-left: 18%;
256
+ padding: 10px;
257
+ color: #4CBB17;
258
+ margin-bottom: 30px;
259
+ }
260
+
261
+ div#footer {
262
+ width: 100%;
263
+ background-color: #222;
264
+ position: fixed;
265
+ bottom: 0px;
266
+ text-align: center;
267
+ border-top: 1px #333 solid;
268
+ margin-top: 15px;
269
+ font-size: 11px;
270
+ padding: 5px;
271
+ color: #fff;
272
+ }
273
+
274
+ div#footer a{
275
+ color: #ccc;
276
+ font-weight: bold;
277
+ }
278
+
279
+ table {
280
+ color: green;
281
+ }
282
+
283
+ input {
284
+ border: solid 1px #15317E;
285
+ color: green;
286
+ background-color: #1f1f1f;
287
+ font-size: small;
288
+ }
289
+
290
+ .invisible {
291
+ display: none;
292
+ }
293
+
294
+ select {
295
+ border: solid 1px #15317E;
296
+ color: green;
297
+ background-color: #1f1f1f;
298
+ }
299
+
300
+ .select2 {
301
+ color: #4CBB17;
302
+ font-size: large;
303
+ }
304
+
305
+ .error {
306
+ color: red;
307
+ }
File without changes
@@ -0,0 +1,3 @@
1
+ module Pencil
2
+ VERSION = "0.3.0"
3
+ end
@@ -4,7 +4,7 @@
4
4
  boards = @dashboards.select { |d| d.clusters.member?(@cluster) }
5
5
  seen_hosts = Set.new %>
6
6
 
7
- <% boards.each do |b| %>
7
+ <% boards.sort.each do |b| %>
8
8
  <h3><a href="/dash/<%= "#{@cluster}/#{append_query_string(b.name)}" %>"><%= b.name %></a>
9
9
  <% dash_hosts = b.get_all_hosts(@cluster)[0]
10
10
  seen_hosts += dash_hosts %>
@@ -5,7 +5,7 @@
5
5
  <%= graph_switcher %>
6
6
  <%= shortcuts(hosts.collect { |h| "<a href=\"##{h}\">#{h}</a>" }.join(" ")) %>
7
7
 
8
- <div class="graph_container">
8
+ <div class="graph_container" style="width:<%= @zoom.width(merge_opts) %>;">
9
9
  <h3><%= @zoom.name %> / <%= @cluster %> :: summary
10
10
  </h3>
11
11
  <div class="graph">
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
 
16
16
  <% hosts.each do |host| %>
17
- <div class="graph_container">
17
+ <div class="graph_container" style="width:<%= @zoom.width(merge_opts) %>;">
18
18
  <a name="<%= host %>"></a>
19
19
  <% image_url, zoom_url = cluster_zoom_graph(@zoom, @cluster, host, "#{@zoom.name} / #{@cluster} / #{host}") %>
20
20
  <h3><%= @zoom.name %> / <%= @cluster %> / <%= host %>
@@ -4,7 +4,7 @@
4
4
  <%= shortcuts(@dash.graphs.collect { |g| "<a href=\"##{g.name}\">#{g.name}</a>" }.join(" ")) %>
5
5
 
6
6
  <% @dash.graphs.each do |g| %>
7
- <div class="graph_container">
7
+ <div class="graph_container" style="width:<%= g.width(merge_opts) %>;">
8
8
  <a name="<%= g.name %>"></a>
9
9
  <% image_url, zoom_url = cluster_graph(g, @cluster, "#{g.name} / #{@cluster}") %>
10
10
  <h3><%= g.name %>
@@ -5,7 +5,7 @@
5
5
  <%= graph_switcher %>
6
6
  <%= shortcuts(clusters.sort.collect { |h| "<a href=\"##{h}\">#{h}</a>" }.join(" ")) %>
7
7
 
8
- <div class="graph_container">
8
+ <div class="graph_container" style="width:<%= @zoom.width(merge_opts) %>;">
9
9
  <% graph_name = "#{@zoom.name} overview" %>
10
10
  <h3><%= graph_name %></h3>
11
11
  <div class="graph">
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
 
16
16
  <% clusters.sort.each do |cluster| %>
17
- <div class="graph_container">
17
+ <div class="graph_container" style="width:<%= @zoom.width(merge_opts) %>;">
18
18
  <a name="<%= cluster %>"></a>
19
19
  <% graph_name = "#{@dash.name} / #{@zoom.name} / #{cluster}" %>
20
20
  <% image_url, zoom_url = cluster_graph(@zoom, cluster, graph_name) %>
@@ -5,7 +5,7 @@
5
5
  <%= shortcuts(@dash.graphs.collect { |g| "<a href=\"##{g.name}\">#{g.name}</a>" }.join(" ")) %>
6
6
 
7
7
  <% @dash.graphs.each do |g| %>
8
- <div class="graph_container">
8
+ <div class="graph_container" style="width:<%= g.width(merge_opts) %>;">
9
9
  <a name="<%= g.name %>"></a>
10
10
  <h3><%= g.name %>
11
11
  <span class="tools">
@@ -4,7 +4,7 @@
4
4
  boards = @dashboards
5
5
  seen_hosts = Set.new %>
6
6
 
7
- <% boards.each do |b| %>
7
+ <% boards.sort.each do |b| %>
8
8
  <h3><a href="/dash/<%= "#{@cluster}/#{append_query_string(b.name)}" %>"><%= b.name %></a>
9
9
  <% dash_hosts = b.get_all_hosts()[0]
10
10
  seen_hosts += dash_hosts %>
@@ -2,7 +2,7 @@
2
2
  <%= shortcuts(@host.graphs.collect { |g| "<a href=\"##{g.name}\">#{g.name}</a>" }.join(" ")) %>
3
3
 
4
4
  <% @host.graphs.each do |g| %>
5
- <div class="graph_container">
5
+ <div class="graph_container" style="width:<%= g.width(merge_opts) %>;">
6
6
  <a name="<%= g.name %>"></a>
7
7
  <h3><%= g.name %>
8
8
  <span class="tools"><%= suggest_dashboards_links(@host, g) %></span>
@@ -1,7 +1,7 @@
1
1
  <html>
2
2
  <head>
3
3
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
4
- <link href="/css/thedoc.css" rel="stylesheet" type="text/css">
4
+ <link href="/style.css" rel="stylesheet" type="text/css">
5
5
  <link href="/css/jquery_themes/pencil/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css">
6
6
  <link href="/favicon.ico" rel="icon" type="text/x-icon">
7
7
  <link href="/favicon.ico" rel="shortcut icon" type="text/x-icon">
@@ -67,7 +67,7 @@
67
67
  </div><!--/closes middle-->
68
68
  <div style="clear:both;"></div>
69
69
  <div id="footer">
70
- generated <%= @request_time %> by <a href="https://github.com/fetep/pencil" target="_blank">pencil</a> v<%= PENCIL_VERSION %>
70
+ generated <%= @request_time %> by <a href="https://github.com/fetep/pencil" target="_blank">pencil</a> v<%= Pencil::VERSION %>
71
71
  </div>
72
72
  </div>
73
73
  <script type="text/javascript">
File without changes
@@ -1,10 +1,4 @@
1
- require "rubygems"
2
- require "namespace"
3
-
4
- require "config"
5
1
  require "erb"
6
- require "helpers"
7
- require "models"
8
2
  require "rack"
9
3
  require "sinatra/base"
10
4
  require "json"
@@ -13,20 +7,23 @@ require "yaml"
13
7
  require "chronic"
14
8
  require "chronic_duration"
15
9
  require "optparse"
16
- require "rubyfixes"
17
10
 
18
- $:.unshift(File.dirname(__FILE__))
11
+ require "pencil/version"
12
+ require "pencil/config"
13
+ require "pencil/helpers"
14
+ require "pencil/models"
15
+ require "pencil/rubyfixes"
19
16
 
20
- module Dash
17
+ module Pencil
21
18
  class App < Sinatra::Base
22
- include Dash::Models
23
- helpers Dash::Helpers
24
- config = Dash::Config.new
19
+ include Pencil::Models
20
+ helpers Pencil::Helpers
21
+ config = Pencil::Config.new
25
22
  set :config, config
26
23
  set :port, config.global_config[:port]
27
24
  set :run, true
28
25
  use Rack::Session::Cookie, :expire_after => 126227700 # 4 years
29
- set :root, File.dirname(__FILE__)
26
+ set :root, File.expand_path('../pencil', __FILE__)
30
27
  set :static, true
31
28
  set :logging, true
32
29
  set :erb, :trim => '-'
@@ -64,8 +61,8 @@ module Dash
64
61
  @etime = @request_time
65
62
  end
66
63
 
67
- params[:stime] = @stime.to_i.to_s
68
- params[:etime] = @etime.to_i.to_s
64
+ session[:stime] = @stime.to_i.to_s
65
+ session[:etime] = @etime.to_i.to_s
69
66
  # fixme reload hosts after some expiry
70
67
  end
71
68
 
@@ -157,5 +154,5 @@ module Dash
157
154
  request.query_string.sub("&action=Submit", "").sub("?action=Submit", "")
158
155
  end
159
156
  end
160
- end # Dash::App
161
- end # Dash
157
+ end # Pencil::App
158
+ end # Pencil
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pencil
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 2
9
- - 10
10
- version: 0.2.10
8
+ - 3
9
+ - 0
10
+ version: 0.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Pete Fritchman
@@ -16,10 +16,10 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-11-21 00:00:00 Z
19
+ date: 2012-05-29 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: mongrel
22
+ name: map
23
23
  prerelease: false
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
@@ -115,60 +115,59 @@ extensions: []
115
115
  extra_rdoc_files: []
116
116
 
117
117
  files:
118
- - VERSION.rb
119
- - lib/models.rb
120
- - lib/public/js/jquery-ui-1.8.16.custom.min.js
121
- - lib/public/js/jquery-1.6.2.min.js
122
- - lib/public/js/cufon.js
123
- - lib/public/js/product-design.font.js
124
- - lib/public/js/pencil.js
125
- - lib/public/js/gotham.font.js
126
- - lib/public/css/jquery_themes/pencil/images/ui-bg_highlight-soft_80_eeeeee_1x100.png
127
- - lib/public/css/jquery_themes/pencil/images/ui-icons_a83300_256x240.png
128
- - lib/public/css/jquery_themes/pencil/images/ui-icons_cccccc_256x240.png
129
- - lib/public/css/jquery_themes/pencil/images/ui-icons_4b8e0b_256x240.png
130
- - lib/public/css/jquery_themes/pencil/images/ui-bg_gloss-wave_25_333333_500x100.png
131
- - lib/public/css/jquery_themes/pencil/images/ui-bg_inset-soft_30_ff4e0a_1x100.png
132
- - lib/public/css/jquery_themes/pencil/images/ui-bg_glass_40_000000_1x400.png
133
- - lib/public/css/jquery_themes/pencil/images/ui-icons_ffffff_256x240.png
134
- - lib/public/css/jquery_themes/pencil/images/ui-bg_glass_20_333333_1x400.png
135
- - lib/public/css/jquery_themes/pencil/images/ui-icons_222222_256x240.png
136
- - lib/public/css/jquery_themes/pencil/images/ui-bg_flat_50_5c5c5c_40x100.png
137
- - lib/public/css/jquery_themes/pencil/images/ui-bg_highlight-soft_15_000000_1x100.png
138
- - lib/public/css/jquery_themes/pencil/images/ui-bg_flat_30_cccccc_40x100.png
139
- - lib/public/css/jquery_themes/pencil/images/ui-bg_glass_40_ffc73d_1x400.png
140
- - lib/public/css/jquery_themes/pencil/jquery-ui-1.8.16.custom.css
141
- - lib/public/css/thedoc.css
142
- - lib/public/style.css
143
- - lib/public/favicon.ico
144
- - lib/config.rb
145
- - lib/models/host.rb
146
- - lib/models/graph.rb
147
- - lib/models/dashboard.rb
148
- - lib/models/base.rb
149
- - lib/views/cluster.erb
150
- - lib/views/global.erb
151
- - lib/views/dash-cluster-zoom.erb
152
- - lib/views/dash-global-zoom.erb
153
- - lib/views/dash-global.erb
154
- - lib/views/host.erb
155
- - lib/views/partials/graph_switcher.erb
156
- - lib/views/partials/hosts_selector.erb
157
- - lib/views/partials/input_boxes.erb
158
- - lib/views/partials/shortcuts.erb
159
- - lib/views/partials/cluster_selector.erb
160
- - lib/views/partials/cluster_switcher.erb
161
- - lib/views/partials/dash_switcher.erb
162
- - lib/views/layout.erb
163
- - lib/views/dash-cluster.erb
164
- - lib/rubyfixes.rb
165
- - lib/namespace.rb
166
- - lib/helpers.rb
167
- - lib/dash.rb
168
- - lib/config.ru
118
+ - lib/pencil.rb
119
+ - lib/pencil/config.rb
120
+ - lib/pencil/config.ru
121
+ - lib/pencil/version.rb
122
+ - lib/pencil/public/css/thedoc.css
123
+ - lib/pencil/public/css/jquery_themes/pencil/jquery-ui-1.8.16.custom.css
124
+ - lib/pencil/public/css/jquery_themes/pencil/images/ui-bg_inset-soft_30_ff4e0a_1x100.png
125
+ - lib/pencil/public/css/jquery_themes/pencil/images/ui-icons_a83300_256x240.png
126
+ - lib/pencil/public/css/jquery_themes/pencil/images/ui-icons_4b8e0b_256x240.png
127
+ - lib/pencil/public/css/jquery_themes/pencil/images/ui-bg_glass_40_ffc73d_1x400.png
128
+ - lib/pencil/public/css/jquery_themes/pencil/images/ui-bg_highlight-soft_15_000000_1x100.png
129
+ - lib/pencil/public/css/jquery_themes/pencil/images/ui-bg_gloss-wave_25_333333_500x100.png
130
+ - lib/pencil/public/css/jquery_themes/pencil/images/ui-bg_glass_40_000000_1x400.png
131
+ - lib/pencil/public/css/jquery_themes/pencil/images/ui-icons_222222_256x240.png
132
+ - lib/pencil/public/css/jquery_themes/pencil/images/ui-bg_flat_50_5c5c5c_40x100.png
133
+ - lib/pencil/public/css/jquery_themes/pencil/images/ui-bg_glass_20_333333_1x400.png
134
+ - lib/pencil/public/css/jquery_themes/pencil/images/ui-icons_cccccc_256x240.png
135
+ - lib/pencil/public/css/jquery_themes/pencil/images/ui-bg_flat_30_cccccc_40x100.png
136
+ - lib/pencil/public/css/jquery_themes/pencil/images/ui-bg_highlight-soft_80_eeeeee_1x100.png
137
+ - lib/pencil/public/css/jquery_themes/pencil/images/ui-icons_ffffff_256x240.png
138
+ - lib/pencil/public/js/jquery-ui-1.8.16.custom.min.js
139
+ - lib/pencil/public/js/gotham.font.js
140
+ - lib/pencil/public/js/pencil.js
141
+ - lib/pencil/public/js/jquery-1.6.2.min.js
142
+ - lib/pencil/public/js/cufon.js
143
+ - lib/pencil/public/js/product-design.font.js
144
+ - lib/pencil/public/style.css
145
+ - lib/pencil/public/favicon.ico
146
+ - lib/pencil/views/dash-cluster.erb
147
+ - lib/pencil/views/cluster.erb
148
+ - lib/pencil/views/dash-global-zoom.erb
149
+ - lib/pencil/views/dash-cluster-zoom.erb
150
+ - lib/pencil/views/layout.erb
151
+ - lib/pencil/views/global.erb
152
+ - lib/pencil/views/dash-global.erb
153
+ - lib/pencil/views/host.erb
154
+ - lib/pencil/views/partials/graph_switcher.erb
155
+ - lib/pencil/views/partials/shortcuts.erb
156
+ - lib/pencil/views/partials/cluster_switcher.erb
157
+ - lib/pencil/views/partials/hosts_selector.erb
158
+ - lib/pencil/views/partials/dash_switcher.erb
159
+ - lib/pencil/views/partials/input_boxes.erb
160
+ - lib/pencil/views/partials/cluster_selector.erb
161
+ - lib/pencil/models/host.rb
162
+ - lib/pencil/models/graph.rb
163
+ - lib/pencil/models/base.rb
164
+ - lib/pencil/models/dashboard.rb
165
+ - lib/pencil/models.rb
166
+ - lib/pencil/helpers.rb
167
+ - lib/pencil/rubyfixes.rb
169
168
  - docs/pencil_options.md
170
- - examples/pencil.yml
171
169
  - examples/graphs.yml
170
+ - examples/pencil.yml
172
171
  - examples/dashboards.yml
173
172
  - bin/pencil
174
173
  homepage: https://github.com/fetep/pencil
data/VERSION.rb DELETED
@@ -1 +0,0 @@
1
- PENCIL_VERSION = "0.2.10"
data/lib/config.ru DELETED
@@ -1,2 +0,0 @@
1
- require 'dash'
2
- run Dash::App