runit-man 2.4.1 → 2.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,20 +2,6 @@ form.service-action, form.service-signal
2
2
  {
3
3
  display: inline;
4
4
  }
5
- #container{margin:0 auto;border-top:0;border-top:0;padding-left: 2em; padding-right: 2em;}
6
- .content{position:relative;padding: 16px 0;color:#c0baba;font-size:1.27em;line-height:1.7}
7
- .content:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
8
- .content{display:inline-block;}
9
- /* \*/ * html .content{height:1%;}.content{display:block;}/* */
10
-
11
- #error { display: none; }
12
- .error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
13
- .error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
14
- .notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
15
- .success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
16
- .error a {color:#8a1f11;}
17
- .notice a {color:#514721;}
18
- .success a {color:#264409;}
19
5
 
20
6
  span.inactive {color:gray;}
21
7
  span.down {color:#8a1f11;}
@@ -24,6 +10,3 @@ span.danger {color:red;}
24
10
 
25
11
  #services { text-align: center; }
26
12
 
27
- table {width:90%; margin-left:5%; margin-right:5%; color: #000; }
28
-
29
- pre {color:#111;}
@@ -1,5 +1,5 @@
1
1
  - if enabled
2
2
  %form.service-action{:action=>"#{name}/#{action}", :method=>"POST"}
3
- %input{:type=>"submit", :value=>label}/
3
+ %input.btn.btn-mini{:type=>"submit", :value=>label}/
4
4
  - else
5
- %input{:type=>"submit", :disabled=>"disabled", :value=>label, :onclick=>"return false;"}/
5
+ %input.btn.btn-mini{:type=>"submit", :disabled=>"disabled", :value=>label, :onclick=>"return false;"}/
@@ -28,7 +28,7 @@
28
28
  = service_action service_info.name, :switch_up, t('runit.services.table.actions.switch_up')
29
29
  %td
30
30
  - if service_info.logged?
31
- = log_link(service_info.name, :hint => t('runit.services.table.values.log_hint', :name => service_info.name), :blank => true, :title => service_info.log_file_locations.join(', '))
31
+ = log_link(service_info.name, :hint => t('runit.services.table.values.log_hint', :name => service_info.name), :title => service_info.log_file_locations.join(', '))
32
32
  = log_downloads_link(service_info.name)
33
33
  - else
34
34
  = t('runit.services.table.values.log_absent')
@@ -1,2 +1,2 @@
1
1
  %form.service-signal{:action=>"#{h(name)}/signal/#{h(signal)}", :method=>"POST"}
2
- %input{:type=>"submit", :value=> h(label)}/
2
+ %input.btn.btn-mini{:type=>"submit", :value=> h(label)}/
@@ -1,4 +1,4 @@
1
- %table
1
+ %table.table.table-stripped
2
2
  %caption= h(t('runit.services.table.caption'))
3
3
  %thead
4
4
  %tr
@@ -17,5 +17,5 @@
17
17
  %ul
18
18
  - files_to_view.each do |f|
19
19
  %li
20
- %a{:target=>"_blank", :href=>"/view?file=#{f}"}= h(f)
20
+ %a{:href=>"/view?file=#{f}"}= h(f)
21
21
 
@@ -1,7 +1,8 @@
1
1
  - content_for :content do
2
- #error{:class=>"error"}
2
+ #error.alert.alert-error{:style=>'display: none;'}
3
3
  = h(t('runit.error', :err => '<span id="url"></span>'))
4
4
  %span .
5
5
  #services= t('runit.loading')
6
6
  - content_for :footer do
7
7
  %p= t('runit.footer', :sec => '<span id="service-refresh-interval">?</span>')
8
+
@@ -2,21 +2,23 @@
2
2
  %html
3
3
  %head
4
4
  %title= h(t('runit.title', :p1 => @title, :p2 => t('runit.label')))
5
- %link{:href=>"/css/tripoli.simple.css", :type=>"text/css", :rel=>"stylesheet"}/
6
- /[if IE]
7
- %link{:href=>"/css/tripoli.simple.ie.css", :type=>"text/css", :rel=>"stylesheet"}/
5
+ %link{:href=>"/css/bootstrap.min.css", :type=>"text/css", :rel=>"stylesheet"}/
8
6
  %link{:href=>"/css/runit-man.css", :type=>"text/css", :rel=>"stylesheet"}/
9
7
  %body
10
- #container
11
- #header
12
- .content
13
- %strong= h(t('runit.header', :p1 => host_name, :p2 => t('runit.label')))
14
- %a{:href=>'/info'}= h(t('runit.info.title'))
8
+ .container-fluid
9
+ .navbar
10
+ .navbar-inner
11
+ .container
12
+ %a.brand{:href=>"/"}= h(t('runit.header', :p1 => host_name, :p2 => t('runit.label')))
13
+ %ul.nav
14
+ %li
15
+ %a{:href=>'/info'}= h(t('runit.info.title'))
15
16
 
16
- .content= yield_content :content
17
+ .row-fluid
18
+ .span12= yield_content :content
17
19
 
18
- #footer
19
- .content= yield_content :footer
20
+ .row-fluid
21
+ .span12= yield_content :footer
20
22
  - @scripts.each do |name|
21
23
  %script{:type=>"text/javascript", :src=>"/js/#{h(name)}.js"}
22
24
 
@@ -6,11 +6,11 @@
6
6
  - logs.each do |log|
7
7
  = t('runit.services.log.subheader', :log_location => h(log[:location]))
8
8
  &nbsp;|&nbsp;
9
- = log_link(name, :count => count, :title => t('runit.services.log.raw'), :id => log[:id], :raw => true)
9
+ = log_link(name, :count => count, :title => t('runit.services.log.raw'), :id => log[:id], :raw => true, :blank => true)
10
10
  %pre= h(log[:text])
11
11
 
12
12
  - content_for :footer do
13
13
  %p
14
14
  = t('runit.services.log.updated', :time => I18n.l(Time.now.utc))
15
- %a{:href=>"javascript:;", :rel=>"nofollow", :onclick=>"window.location.reload()"}= t('runit.services.log.reload')
15
+ %a.btn.btn-info{:href=>"javascript:;", :rel=>"nofollow", :onclick=>"window.location.reload()"}= t('runit.services.log.reload')
16
16
 
metadata CHANGED
@@ -1,195 +1,266 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: runit-man
3
- version: !ruby/object:Gem::Version
4
- version: 2.4.1
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
5
  prerelease:
6
+ segments:
7
+ - 2
8
+ - 4
9
+ - 2
10
+ version: 2.4.2
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Akzhan Abdulin
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-04-12 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: yajl-ruby
16
- requirement: &2158008320 !ruby/object:Gem::Requirement
17
+
18
+ date: 2012-04-19 00:00:00 +04:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: &id001 !ruby/object:Gem::Requirement
17
25
  none: false
18
- requirements:
26
+ requirements:
19
27
  - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '1.0'
28
+ - !ruby/object:Gem::Version
29
+ hash: 15
30
+ segments:
31
+ - 1
32
+ - 0
33
+ version: "1.0"
34
+ name: yajl-ruby
35
+ requirement: *id001
36
+ - !ruby/object:Gem::Dependency
22
37
  type: :runtime
23
38
  prerelease: false
24
- version_requirements: *2158008320
25
- - !ruby/object:Gem::Dependency
26
- name: haml
27
- requirement: &2158007780 !ruby/object:Gem::Requirement
39
+ version_requirements: &id002 !ruby/object:Gem::Requirement
28
40
  none: false
29
- requirements:
41
+ requirements:
30
42
  - - ~>
31
- - !ruby/object:Gem::Version
32
- version: '3.0'
43
+ - !ruby/object:Gem::Version
44
+ hash: 7
45
+ segments:
46
+ - 3
47
+ - 0
48
+ version: "3.0"
49
+ name: haml
50
+ requirement: *id002
51
+ - !ruby/object:Gem::Dependency
33
52
  type: :runtime
34
53
  prerelease: false
35
- version_requirements: *2158007780
36
- - !ruby/object:Gem::Dependency
37
- name: sinatra
38
- requirement: &2158007260 !ruby/object:Gem::Requirement
54
+ version_requirements: &id003 !ruby/object:Gem::Requirement
39
55
  none: false
40
- requirements:
56
+ requirements:
41
57
  - - ~>
42
- - !ruby/object:Gem::Version
43
- version: '1.3'
58
+ - !ruby/object:Gem::Version
59
+ hash: 9
60
+ segments:
61
+ - 1
62
+ - 3
63
+ version: "1.3"
64
+ name: sinatra
65
+ requirement: *id003
66
+ - !ruby/object:Gem::Dependency
44
67
  type: :runtime
45
68
  prerelease: false
46
- version_requirements: *2158007260
47
- - !ruby/object:Gem::Dependency
48
- name: sinatra-content-for2
49
- requirement: &2158006760 !ruby/object:Gem::Requirement
69
+ version_requirements: &id004 !ruby/object:Gem::Requirement
50
70
  none: false
51
- requirements:
71
+ requirements:
52
72
  - - ~>
53
- - !ruby/object:Gem::Version
73
+ - !ruby/object:Gem::Version
74
+ hash: 31
75
+ segments:
76
+ - 0
77
+ - 2
78
+ - 4
54
79
  version: 0.2.4
80
+ name: sinatra-content-for2
81
+ requirement: *id004
82
+ - !ruby/object:Gem::Dependency
55
83
  type: :runtime
56
84
  prerelease: false
57
- version_requirements: *2158006760
58
- - !ruby/object:Gem::Dependency
59
- name: i18n
60
- requirement: &2158006220 !ruby/object:Gem::Requirement
85
+ version_requirements: &id005 !ruby/object:Gem::Requirement
61
86
  none: false
62
- requirements:
87
+ requirements:
63
88
  - - ~>
64
- - !ruby/object:Gem::Version
65
- version: '0.5'
89
+ - !ruby/object:Gem::Version
90
+ hash: 1
91
+ segments:
92
+ - 0
93
+ - 5
94
+ version: "0.5"
95
+ name: i18n
96
+ requirement: *id005
97
+ - !ruby/object:Gem::Dependency
66
98
  type: :runtime
67
99
  prerelease: false
68
- version_requirements: *2158006220
69
- - !ruby/object:Gem::Dependency
70
- name: file-tail
71
- requirement: &2158005740 !ruby/object:Gem::Requirement
100
+ version_requirements: &id006 !ruby/object:Gem::Requirement
72
101
  none: false
73
- requirements:
102
+ requirements:
74
103
  - - ~>
75
- - !ruby/object:Gem::Version
104
+ - !ruby/object:Gem::Version
105
+ hash: 25
106
+ segments:
107
+ - 1
108
+ - 0
109
+ - 7
76
110
  version: 1.0.7
77
- type: :runtime
111
+ name: file-tail
112
+ requirement: *id006
113
+ - !ruby/object:Gem::Dependency
114
+ type: :development
78
115
  prerelease: false
79
- version_requirements: *2158005740
80
- - !ruby/object:Gem::Dependency
81
- name: rake
82
- requirement: &2158005120 !ruby/object:Gem::Requirement
116
+ version_requirements: &id007 !ruby/object:Gem::Requirement
83
117
  none: false
84
- requirements:
118
+ requirements:
85
119
  - - ~>
86
- - !ruby/object:Gem::Version
87
- version: '0.8'
88
- - - ! '!='
89
- - !ruby/object:Gem::Version
120
+ - !ruby/object:Gem::Version
121
+ hash: 27
122
+ segments:
123
+ - 0
124
+ - 8
125
+ version: "0.8"
126
+ - - "!="
127
+ - !ruby/object:Gem::Version
128
+ hash: 59
129
+ segments:
130
+ - 0
131
+ - 9
132
+ - 0
90
133
  version: 0.9.0
134
+ name: rake
135
+ requirement: *id007
136
+ - !ruby/object:Gem::Dependency
91
137
  type: :development
92
138
  prerelease: false
93
- version_requirements: *2158005120
94
- - !ruby/object:Gem::Dependency
95
- name: rspec-core
96
- requirement: &2158004160 !ruby/object:Gem::Requirement
139
+ version_requirements: &id008 !ruby/object:Gem::Requirement
97
140
  none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ hash: 3
145
+ segments:
146
+ - 0
147
+ version: "0"
148
+ name: rspec-core
149
+ requirement: *id008
150
+ - !ruby/object:Gem::Dependency
102
151
  type: :development
103
152
  prerelease: false
104
- version_requirements: *2158004160
105
- - !ruby/object:Gem::Dependency
106
- name: rspec-expectations
107
- requirement: &2158001760 !ruby/object:Gem::Requirement
153
+ version_requirements: &id009 !ruby/object:Gem::Requirement
108
154
  none: false
109
- requirements:
110
- - - ! '>='
111
- - !ruby/object:Gem::Version
112
- version: '0'
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ hash: 3
159
+ segments:
160
+ - 0
161
+ version: "0"
162
+ name: rspec-expectations
163
+ requirement: *id009
164
+ - !ruby/object:Gem::Dependency
113
165
  type: :development
114
166
  prerelease: false
115
- version_requirements: *2158001760
116
- - !ruby/object:Gem::Dependency
117
- name: rr
118
- requirement: &2158001300 !ruby/object:Gem::Requirement
167
+ version_requirements: &id010 !ruby/object:Gem::Requirement
119
168
  none: false
120
- requirements:
121
- - - ! '>='
122
- - !ruby/object:Gem::Version
123
- version: '0'
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ hash: 3
173
+ segments:
174
+ - 0
175
+ version: "0"
176
+ name: rr
177
+ requirement: *id010
178
+ - !ruby/object:Gem::Dependency
124
179
  type: :development
125
180
  prerelease: false
126
- version_requirements: *2158001300
127
- - !ruby/object:Gem::Dependency
128
- name: rack-test
129
- requirement: &2158000720 !ruby/object:Gem::Requirement
181
+ version_requirements: &id011 !ruby/object:Gem::Requirement
130
182
  none: false
131
- requirements:
132
- - - ! '>='
133
- - !ruby/object:Gem::Version
134
- version: '0'
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ hash: 3
187
+ segments:
188
+ - 0
189
+ version: "0"
190
+ name: rack-test
191
+ requirement: *id011
192
+ - !ruby/object:Gem::Dependency
135
193
  type: :development
136
194
  prerelease: false
137
- version_requirements: *2158000720
138
- - !ruby/object:Gem::Dependency
139
- name: bundler
140
- requirement: &2157999200 !ruby/object:Gem::Requirement
195
+ version_requirements: &id012 !ruby/object:Gem::Requirement
141
196
  none: false
142
- requirements:
197
+ requirements:
143
198
  - - ~>
144
- - !ruby/object:Gem::Version
145
- version: '1.0'
146
- - - ! '>'
147
- - !ruby/object:Gem::Version
199
+ - !ruby/object:Gem::Version
200
+ hash: 15
201
+ segments:
202
+ - 1
203
+ - 0
204
+ version: "1.0"
205
+ - - ">"
206
+ - !ruby/object:Gem::Version
207
+ hash: 3
208
+ segments:
209
+ - 1
210
+ - 0
211
+ - 10
148
212
  version: 1.0.10
213
+ name: bundler
214
+ requirement: *id012
215
+ - !ruby/object:Gem::Dependency
149
216
  type: :development
150
217
  prerelease: false
151
- version_requirements: *2157999200
152
- - !ruby/object:Gem::Dependency
153
- name: yard
154
- requirement: &2157997640 !ruby/object:Gem::Requirement
218
+ version_requirements: &id013 !ruby/object:Gem::Requirement
155
219
  none: false
156
- requirements:
220
+ requirements:
157
221
  - - ~>
158
- - !ruby/object:Gem::Version
222
+ - !ruby/object:Gem::Version
223
+ hash: 9
224
+ segments:
225
+ - 0
226
+ - 7
227
+ - 5
159
228
  version: 0.7.5
229
+ name: yard
230
+ requirement: *id013
231
+ - !ruby/object:Gem::Dependency
160
232
  type: :development
161
233
  prerelease: false
162
- version_requirements: *2157997640
163
- - !ruby/object:Gem::Dependency
164
- name: redcarpet
165
- requirement: &2157996500 !ruby/object:Gem::Requirement
234
+ version_requirements: &id014 !ruby/object:Gem::Requirement
166
235
  none: false
167
- requirements:
236
+ requirements:
168
237
  - - ~>
169
- - !ruby/object:Gem::Version
238
+ - !ruby/object:Gem::Version
239
+ hash: 87
240
+ segments:
241
+ - 1
242
+ - 17
243
+ - 2
170
244
  version: 1.17.2
171
- type: :development
172
- prerelease: false
173
- version_requirements: *2157996500
174
- description: ! 'Simple runit (http://smarden.org/runit/) web management tool with
175
- i18n.
176
-
177
-
245
+ name: redcarpet
246
+ requirement: *id014
247
+ description: |
248
+ Simple runit (http://smarden.org/runit/) web management tool with i18n.
249
+
178
250
  Server will run by runit-man script.
179
-
180
-
251
+
181
252
  More information available at https://github.com/Undev/runit-man
182
253
 
183
- '
184
254
  email: akzhan.abdulin@gmail.com
185
- executables:
255
+ executables:
186
256
  - runit-man
187
257
  extensions: []
188
- extra_rdoc_files:
258
+
259
+ extra_rdoc_files:
189
260
  - README.md
190
261
  - INSTALL.md
191
262
  - CHANGELOG.md
192
- files:
263
+ files:
193
264
  - .gitignore
194
265
  - .gitmodules
195
266
  - .yardopts
@@ -228,9 +299,8 @@ files:
228
299
  - lib/runit-man/utils.rb
229
300
  - lib/runit-man/version.rb
230
301
  - local-run.rb
302
+ - public/css/bootstrap.min.css
231
303
  - public/css/runit-man.css
232
- - public/css/tripoli.simple.css
233
- - public/css/tripoli.simple.ie.css
234
304
  - public/favicon.ico
235
305
  - public/js/jquery-1.7.2.min.js
236
306
  - public/js/runit-man.js
@@ -251,38 +321,40 @@ files:
251
321
  - views/log.haml
252
322
  - views/log_downloads.haml
253
323
  - views/view_file.haml
324
+ has_rdoc: true
254
325
  homepage: https://github.com/Undev/runit-man
255
326
  licenses: []
327
+
256
328
  post_install_message:
257
329
  rdoc_options: []
258
- require_paths:
330
+
331
+ require_paths:
259
332
  - lib
260
- required_ruby_version: !ruby/object:Gem::Requirement
333
+ required_ruby_version: !ruby/object:Gem::Requirement
261
334
  none: false
262
- requirements:
263
- - - ! '>='
264
- - !ruby/object:Gem::Version
265
- version: '0'
266
- segments:
335
+ requirements:
336
+ - - ">="
337
+ - !ruby/object:Gem::Version
338
+ hash: 3
339
+ segments:
267
340
  - 0
268
- hash: -3669782654535481615
269
- required_rubygems_version: !ruby/object:Gem::Requirement
341
+ version: "0"
342
+ required_rubygems_version: !ruby/object:Gem::Requirement
270
343
  none: false
271
- requirements:
272
- - - ! '>='
273
- - !ruby/object:Gem::Version
274
- version: '0'
275
- segments:
344
+ requirements:
345
+ - - ">="
346
+ - !ruby/object:Gem::Version
347
+ hash: 3
348
+ segments:
276
349
  - 0
277
- hash: -3669782654535481615
278
- requirements:
350
+ version: "0"
351
+ requirements:
279
352
  - none
280
353
  rubyforge_project:
281
- rubygems_version: 1.8.15
354
+ rubygems_version: 1.5.3
282
355
  signing_key:
283
356
  specification_version: 3
284
357
  summary: Runit web management tool.
285
- test_files:
358
+ test_files:
286
359
  - spec/functional/runit-man_spec.rb
287
360
  - spec/spec_helper.rb
288
- has_rdoc: